]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: use maximum number of AMPDU frames as default in BA RX
authorLuciano Coelho <coelho@ti.com>
Wed, 12 Jan 2011 13:18:11 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:51 +0000 (15:13 -0800)
commit4408bef5c1cd09328dc7944f8460b6ec6ba52564
tree4b3fc7ada7a22a9a64b0a91d8ec3e07f39afd348
parenta8767f2c394355cf72898f528a901040a7f36881
mac80211: use maximum number of AMPDU frames as default in BA RX

commit 82694f764dad783a123394e2220b92b9be721b43 upstream.

When the buffer size is set to zero in the block ack parameter set
field, we should use the maximum supported number of subframes.  The
existing code was bogus and was doing some unnecessary calculations
that lead to wrong values.

Thanks Johannes for helping me figure this one out.

Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c