]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Don't use a buf_size=0 in ADDBA requests
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 5 Aug 2011 09:46:19 +0000 (11:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 20:04:09 +0000 (16:04 -0400)
commitb3f03bd856124571e9f8adadd2e07a36d2843511
tree3e325fcd59e99da67b9c92919515818461767c7f
parentbbd221d3e5a68be51bacc8a0d1fab8d140460b9e
mac80211: Don't use a buf_size=0 in ADDBA requests

According to 802.11-2007, 7.3.1.14 it is compliant to use a buf_size of
0 in ADDBA requests. But some devices (AVM Fritz Stick N) arn't able to
handle that correctly and will reply with an ADDBA reponse with a
buf_size of 0 which in turn will disallow BA sessions for these
devices.

To work around this problem, initialize hw.max_tx_aggregation_subframes
to the maximum AMPDU buffer size 0x40.

Using 0 as default for the bufsize was introduced in commit
032e2dc152ad55aa31b45f150946187959f68d3b (mac80211: allow advertising
correct maximum aggregate size).

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c