mac80211: use timeout from the AddBA response instead of the request
authorSara Sharon <sara.sharon@intel.com>
Fri, 20 Apr 2018 10:49:19 +0000 (13:49 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 May 2018 18:35:15 +0000 (20:35 +0200)
commit914eac248d876f9c00cd1792ffec3d182c863f13
tree348794992196e4ce0d020481626a1957a9fd3c73
parent407879b690ba3a6bf29be896d02dad63463bd1c0
mac80211: use timeout from the AddBA response instead of the request

2016 spec, section 10.24.2 specifies that the block ack
timeout in the ADD BA request is advisory.

That means we should check the value in the response and
act upon it (same as buffer size).

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c
net/mac80211/tx.c