mac80211: always set the buf_size in AddBA req to 64
commitac0621971a26526cad8cf9db7626d5e50562a441
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 17 Nov 2015 08:24:38 +0000 (17 10:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Nov 2015 10:39:40 +0000 (20 11:39 +0100)
tree60fce4ba2b21ea96b5002a8a7b92553b75e01965
parent5ad11b50fda1306b5317124f97f0a7a4c022b022
mac80211: always set the buf_size in AddBA req to 64

Advertising reordering window in ADDBA less than 64 can crash some APs,
an example is LinkSys WRT120N (with FW v1.0.07 build 002 Jun 18 2012).
On the other hand, a driver may need to limit Tx A-MPDU size for its own
reasons, like specific HW limitations.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/agg-tx.c