* [PATCH v3 wireless-next] wifi: mac80211: ignore reserved bits in reconfiguration status
@ 2026-03-25 13:43 Miri Korenblit
0 siblings, 0 replies; only message in thread
From: Miri Korenblit @ 2026-03-25 13:43 UTC (permalink / raw)
To: linux-wireless; +Cc: Benjamin Berg, Ilan Peer
From: Benjamin Berg <benjamin.berg@intel.com>
The Link ID Info field in the Reconfiguration Status Duple subfield of
the Reconfiguration Response frame only uses the lower four bits for the
link ID. The upper bits are reserved and should therefore be ignored.
Fixes: 36e05b0b8390 ("wifi: mac80211: Support dynamic link addition and removal")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
---
net/mac80211/mlme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
v2: added structs and macros, as required.
v3: fixed the Fixes tag
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 173a60360a45..51a259aa8568 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -10471,7 +10471,7 @@ void ieee80211_process_ml_reconf_resp(struct ieee80211_sub_if_data *sdata,
for (i = 0; i < mgmt->u.action.ml_reconf_resp.count; i++) {
u16 status = get_unaligned_le16(pos + 1);
- link_id = *pos;
+ link_id = u8_get_bits(*pos, 0xf);
if (!(link_mask & BIT(link_id))) {
sdata_info(sdata,
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-25 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 13:43 [PATCH v3 wireless-next] wifi: mac80211: ignore reserved bits in reconfiguration status Miri Korenblit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox