diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-05-28 13:50:42 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-06-03 15:07:05 +0300 |
| commit | 5f508715e960613572fe231837b6b4e250a64f8d (patch) | |
| tree | bc43b761292ce8cc58e1cb91362071e509bade75 /include/linux/debugobjects.h | |
| parent | c2c0486c56800ce276e79c40a6e576ffd672f2a9 (diff) | |
| download | linux-5f508715e960613572fe231837b6b4e250a64f8d.tar.xz | |
wifi: mac80211: report assoc_link_id in station info for non-MLD STAs on MLD AP
When a non-MLD station associates with an MLD AP, it does so on a
specific link. However, sta_set_sinfo() never sets mlo_params_valid,
so nl80211 never emits NL80211_ATTR_MLO_LINK_ID in get_station /
dump_station responses. Userspace has no way to determine which link
a non-MLD STA is associated on.
Set mlo_params_valid to 1 and assoc_link_id to sta->deflink.link_id,
when valid_links is set.
Also set the mld_addr copy only for MLD STAs, so that non-MLD STAs
get a zeroed mld_addr as documented.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20260528105042.835284-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
