wifi: mac80211: limit A-MSDU subframes for client too
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jul 2022 16:08:03 +0000 (18:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:23 +0000 (11:43 +0200)
commit175ad2ec89feb8c01f87be64882af67481b1b1f5
tree29d6662f686510e1a4e1681f120f68bc2374acb9
parent5d3a341c0dd21f14eb97cea3754621d8aa1637de
wifi: mac80211: limit A-MSDU subframes for client too

In AP/mesh where the stations are added by userspace, we
limit the number of A-MSDU subframes according to the
extended capabilities.

Refactor the code and extend that also to client-side.

Fixes: 506bcfa8abeb ("mac80211: limit the A-MSDU Tx based on peer's capabilities")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mlme.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h