]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211: update UHR capabilities field order
authorJohannes Berg <johannes.berg@intel.com>
Tue, 28 Apr 2026 08:36:57 +0000 (10:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 May 2026 12:49:01 +0000 (14:49 +0200)
commitf6310f043fb4f45f0027da842e46fcddf9c859fe
treeddc2bf052b2f01529d1c1da93f22c88314d5aeaf
parent49e62ec6eb060f86abbb1d88663a51340e512aba
wifi: mac80211: update UHR capabilities field order

Since 802.11bn D1.4 the DBE capabilities are after the
PHY capabilities, not between MAC and PHY, adjust the
code accordingly.

Also add a struct for DBE capabilities and use it for
checking the correct length instead of hard-coding the
lengths.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260428103657.b40af50f182d.I75306a092dc2c8a9eb7276160f0b7144b4846d18@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211-uhr.h
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/uhr.c
net/mac80211/util.c