We use station's MLD address to report disconnection of MLD station. Update the documentation in multiple places to indicate this.
Unified · Split
| @@ -7775,7 +7775,7 @@ void cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, · 7774 unmodified lines | ||
| 7775 | 7775 | /** |
| 7776 | 7776 | * cfg80211_del_sta_sinfo - notify userspace about deletion of a station |
| 7777 | 7777 | * @dev: the netdev |
| 7778 | − * @mac_addr: the station's address | |
| 7778 | + * @mac_addr: the station's address. For MLD station, MLD address is used. | |
| 7779 | 7779 | * @sinfo: the station information/statistics |
| 7780 | 7780 | * @gfp: allocation flags |
| 7781 | 7781 | */ |
| @@ -7786,7 +7786,7 @@ void cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr, · 4 unmodified lines | ||
| 7786 | 7786 | * cfg80211_del_sta - notify userspace about deletion of a station |
| 7787 | 7787 | * |
| 7788 | 7788 | * @dev: the netdev |
| 7789 | − * @mac_addr: the station's address | |
| 7789 | + * @mac_addr: the station's address. For MLD station, MLD address is used. | |
| 7790 | 7790 | * @gfp: allocation flags |
| 7791 | 7791 | */ |
| 7792 | 7792 | static inline void cfg80211_del_sta(struct net_device *dev, |
| @@ -424,7 +424,8 @@ · 423 unmodified lines | ||
| 424 | 424 | * interface identified by %NL80211_ATTR_IFINDEX. |
| 425 | 425 | * @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC |
| 426 | 426 | * 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 | |
| 428 | 429 | * %NL80211_ATTR_REASON_CODE can optionally be used to specify which type |
| 429 | 430 | * of disconnection indication should be sent to the station |
| 430 | 431 | * (Deauthentication or Disassociation frame and reason code for that |