]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: limit the A-MSDU Tx based on peer's capabilities
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 13:41:05 +0000 (15:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:20 +0000 (09:04 +0100)
commit16f03b5ba1beb7d4563346a16dfe40a0b5d57d74
tree5d6b8cd596d7fdf569cd1ca6379757460c9c3b06
parent4c13974948e1c696043a3c8cac8eceaef01ba18c
mac80211: limit the A-MSDU Tx based on peer's capabilities

In VHT, the specification allows to limit the number of
MSDUs in an A-MSDU in the Extended Capabilities IE. There
is also a limitation on the byte size in the VHT IE.
In HT, the only limitation is on the byte size.
Parse the capabilities from the peer and make them
available to the driver.

In HT, there is another limitation when a BA agreement
is active: the byte size can't be greater than 4095.
This is not enforced here.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ht.c
net/mac80211/vht.c