]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211/mac80211: check EHT capability size correctly
authorJohannes Berg <johannes.berg@intel.com>
Tue, 16 Aug 2022 09:26:23 +0000 (11:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:24 +0000 (10:41 +0200)
commit480374486254a47eb01e2f3c04bec94af39e6748
tree3d904375046604957f92b627e15a4d90ff904f29
parent125152ee2c10d2bb832e49aebe466cceba8ee016
wifi: cfg80211/mac80211: check EHT capability size correctly

For AP/non-AP the EHT MCS/NSS subfield size differs, the
4-octet subfield is only used for 20 MHz-only non-AP STA.
Pass an argument around everywhere to be able to parse it
properly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/eht.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c
net/wireless/core.c
net/wireless/nl80211.c