]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: agg-rx: refuse ADDBA Request with timeout update
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2016 12:44:14 +0000 (14:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2016 12:44:14 +0000 (14:44 +0200)
commit25d08ebec3d62f279c98c9d359004bd394ae3160
treef35be444aa13a83e39907f66e28af8d727abaa78
parente4aa245cf31fd795d3749acb9e5e1c30a1571788
mac80211: agg-rx: refuse ADDBA Request with timeout update

The current implementation of handling ADDBA Request while a session
is already active with the peer is wrong - in case the peer is using
the existing session's dialog token this should be treated as update
to the session, which can update the timeout value.

We don't really have a good way of supporting that, so reject, but
implement the required behaviour in the spec of "Even if the updated
ADDBA Request frame is not accepted, the original Block ACK setup
remains active." (802.11-2012 10.5.4)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c