]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: reject aggregation sessions with non-HT peers
authorJohannes Berg <johannes.berg@intel.com>
Mon, 9 Mar 2015 10:13:04 +0000 (11:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Mar 2015 08:33:19 +0000 (10:33 +0200)
commit8f9c77fc1e8d4dfc1e7dc631d193162c75feef2e
treed62ce6c08dc235112df22a3524d8266942c5c6bb
parenta38700dd486f3def34cef47d00e2d360a04a7bc8
mac80211: reject aggregation sessions with non-HT peers

If a peer or some local agent (rate control, ...) decides to start
an aggregation session but doesn't support HT (which also implies
QoS), reject it.

This is mostly a corner case as such peers normally won't try to
use block-ack sessions and rate control wouldn't start them, but
technically QoS stations could request it according to the spec.

However, since drivers don't really support such non-HT sessions
it's better to reject them.

Also, while at it, move the tracing for TX sessions earlier so it
captures the error cases as well.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c