]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211: Fix Extended Key ID auto activation
authorAlexander Wetzel <alexander@wetzel-home.de>
Mon, 22 Apr 2019 21:34:11 +0000 (23:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commit622fce81280aadb277dd3fc55c676b4bdc3e0527
treebd4b5c68760c5d607b62efe03ac87d0536942fa1
parent5809a5d54bb9eda3a388b5a712657970c2cb9f8e
mac80211: Fix Extended Key ID auto activation

Only enable Extended Key ID support for drivers which are not supporting
crypto offload and also do not support A-MPDU.

While any driver using SW crypto from mac80211 is generally able to also
support Extended Key ID these drivers are likely to mix keyIDs in
AMPDUs when rekeying.

According to IEEE 802.11-2016 "9.7.3 A-MPDU contents" this is not
allowed.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
[reword comment a bit, move ! into logic expression]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c