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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:55 +0000 (04:02 +0900)
commitba29f3738e86f4e69cc8470a60a62e21d492475d
treee7f1592927a794ef6c4fdfb01172245ccd764351
parente4bd54eb87c820b3e2da9a9701896d6ac1bae6f6
mac80211: use timeout from the AddBA response instead of the request

[ Upstream commit 914eac248d876f9c00cd1792ffec3d182c863f13 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/agg-tx.c
net/mac80211/tx.c