mac80211: do not allow bigger VHT MPDUs than the hardware supports
authorFelix Fietkau <nbd@nbd.name>
Thu, 17 Sep 2020 12:50:31 +0000 (14:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Oct 2020 07:48:12 +0000 (09:48 +0200)
commit358b32586e7c240f379e5820bcd4cf894bdef978
tree4fb1cfe78b507862a964ec89f44f0bad47841ff4
parentebd8e6f534ab8166ef80634eb02f15c8f7a3509d
mac80211: do not allow bigger VHT MPDUs than the hardware supports

[ Upstream commit 3bd5c7a28a7c3aba07a2d300d43f8e988809e147 ]

Limit maximum VHT MPDU size by local capability.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200917125031.45009-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/vht.c