]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73b24076c646d338d6c3c1c2554ec49816111543
tree29d6662f686510e1a4e1681f120f68bc2374acb9
parent7f56f3309312472cb1fd0ae5fa698a53f39df2f9
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: debf4605f18b ("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