wifi: cfg80211: Extend cfg80211_new_sta() for MLD AP
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Thu, 26 Jan 2023 14:32:55 +0000 (20:02 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 10:53:34 +0000 (11:53 +0100)
commita42e59eb9689e54279227e2af5ed75128d92a82b
treef716aa91b33013435ceeaed6295211169cfc5c38
parent9288188438d85e22c23cfd6657ee8a801babc83c
wifi: cfg80211: Extend cfg80211_new_sta() for MLD AP

Add support for drivers to indicate STA connection(MLO/non-MLO) when
user space SME (e.g., hostapd) is not used for MLD AP.

Add new parameters in struct station_info to provide below information
in cfg80211_new_sta() call:
- MLO link ID of the AP, with which station completed (re)association.
  This is applicable for both MLO and non-MLO station connections when
  the AP affiliated with an MLD.
- Station's MLD address if the connection is MLO capable.
- (Re)Association Response IEs sent to the station. User space needs
  this to determine rejected and accepted affiliated links information
  of the connected station if the connection is MLO capable.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20230126143256.960563-2-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c