]> 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)
commitfa534e0e39bb2835d02b4472da8c21931f1d14c9
treef35be444aa13a83e39907f66e28af8d727abaa78
parent9948be0b5a207a9670d9914aa60c69dbeeab5a2c
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