]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: reject TSPEC TIDs (TSIDs) for aggregation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 14 Sep 2016 09:38:31 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2016 08:12:45 +0000 (10:12 +0200)
commit22f591e2171dc6e8210e0d891bbf7fcad19bf503
treefea7f9544abf890825f33a7c42b665f208a569e7
parentc11aadb9babfba7401de5af8d34391a72e36cee3
mac80211: reject TSPEC TIDs (TSIDs) for aggregation

commit 85d5313ed717ad60769491c7c072d23bc0a68e7a upstream.

Since mac80211 doesn't currently support TSIDs 8-15 which can
only be used after QoS TSPEC negotiation (and not even after
WMM negotiation), reject attempts to set up aggregation
sessions for them, which might confuse drivers. In mac80211
we do correctly handle that, but the TSIDs should never get
used anyway, and drivers might not be able to handle it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c