wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Sep 2023 11:10:55 +0000 (14:10 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 06:41:27 +0000 (08:41 +0200)
commit084cf2aeca97566db4fa15d55653c1cba2db83ed
tree9b6f93c439171befdb0bf9522b4d25e70e07a4a3
parent0914468adf92296c4cba8a2134e06e3dea150f2e
wifi: mac80211: work around Cisco AP 9115 VHT MPDU length

Cisco AP module 9115 with FW 17.3 has a bug and sends a too
large maximum MPDU length in the association response
(indicating 12k) that it cannot actually process.

Work around that by taking the minimum between what's in the
association response and the BSS elements (from beacon or
probe response).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230918140607.d1966a9a532e.I090225babb7cd4d1081ee9acd40e7de7e41c15ae@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/vht.c