Commit bfc55167 authored by Veerendranath Jakkam's avatar Veerendranath Jakkam Committed by Johannes Berg

wifi: cfg80211: Use MLD address to indicate MLD STA disconnection

We use station's MLD address to report disconnection of MLD station.
Update the documentation in multiple places to indicate this.
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20221206080226.1702646-4-quic_vjakkam@quicinc.com
[update commit message]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 648fba79
...@@ -7775,7 +7775,7 @@ void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, ...@@ -7775,7 +7775,7 @@ void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr,
/** /**
* cfg80211_del_sta_sinfo - notify userspace about deletion of a station * cfg80211_del_sta_sinfo - notify userspace about deletion of a station
* @dev: the netdev * @dev: the netdev
* @mac_addr: the station's address * @mac_addr: the station's address. For MLD station, MLD address is used.
* @sinfo: the station information/statistics * @sinfo: the station information/statistics
* @gfp: allocation flags * @gfp: allocation flags
*/ */
...@@ -7786,7 +7786,7 @@ void cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr, ...@@ -7786,7 +7786,7 @@ void cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr,
* cfg80211_del_sta - notify userspace about deletion of a station * cfg80211_del_sta - notify userspace about deletion of a station
* *
* @dev: the netdev * @dev: the netdev
* @mac_addr: the station's address * @mac_addr: the station's address. For MLD station, MLD address is used.
* @gfp: allocation flags * @gfp: allocation flags
*/ */
static inline void cfg80211_del_sta(struct net_device *dev, static inline void cfg80211_del_sta(struct net_device *dev,
......
...@@ -424,7 +424,8 @@ ...@@ -424,7 +424,8 @@
* interface identified by %NL80211_ATTR_IFINDEX. * interface identified by %NL80211_ATTR_IFINDEX.
* @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC * @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC
* or, if no MAC address given, all stations, on the interface identified * or, if no MAC address given, all stations, on the interface identified
* by %NL80211_ATTR_IFINDEX. %NL80211_ATTR_MGMT_SUBTYPE and * by %NL80211_ATTR_IFINDEX. For MLD station, MLD address is used in
* %NL80211_ATTR_MAC. %NL80211_ATTR_MGMT_SUBTYPE and
* %NL80211_ATTR_REASON_CODE can optionally be used to specify which type * %NL80211_ATTR_REASON_CODE can optionally be used to specify which type
* of disconnection indication should be sent to the station * of disconnection indication should be sent to the station
* (Deauthentication or Disassociation frame and reason code for that * (Deauthentication or Disassociation frame and reason code for that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment