History

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.

Veerendranath Jakkam committed 3 years ago

Commit bfc55161 parent 648fba72 files · +4 −3Browse files

Unified · Split

2 files
  1. include/net/cfg80211.h +2 −2
  2. include/uapi/linux/nl80211.h +2 −1
include/net/cfg80211.h+2−2
@@ -7775,7 +7775,7 @@ void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, · 7774 unmodified lines
77757775 /**
77767776 * cfg80211_del_sta_sinfo - notify userspace about deletion of a station
77777777 * @dev: the netdev
7778− * @mac_addr: the station's address
7778+ * @mac_addr: the station's address. For MLD station, MLD address is used.
77797779 * @sinfo: the station information/statistics
77807780 * @gfp: allocation flags
77817781 */
@@ -7786,7 +7786,7 @@ void cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr, · 4 unmodified lines
77867786 * cfg80211_del_sta - notify userspace about deletion of a station
77877787 *
77887788 * @dev: the netdev
7789− * @mac_addr: the station's address
7789+ * @mac_addr: the station's address. For MLD station, MLD address is used.
77907790 * @gfp: allocation flags
77917791 */
77927792 static inline void cfg80211_del_sta(struct net_device *dev,
include/uapi/linux/nl80211.h+2−1
@@ -424,7 +424,8 @@ · 423 unmodified lines
424424 * interface identified by %NL80211_ATTR_IFINDEX.
425425 * @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC
426426 * or, if no MAC address given, all stations, on the interface identified
427− * by %NL80211_ATTR_IFINDEX. %NL80211_ATTR_MGMT_SUBTYPE and
427+ * by %NL80211_ATTR_IFINDEX. For MLD station, MLD address is used in
428+ * %NL80211_ATTR_MAC. %NL80211_ATTR_MGMT_SUBTYPE and
428429 * %NL80211_ATTR_REASON_CODE can optionally be used to specify which type
429430 * of disconnection indication should be sent to the station
430431 * (Deauthentication or Disassociation frame and reason code for that

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t