]> git.baikalelectronics.ru Git - kernel.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)
commitac93a96430eb9c59ff445ed9c44fb525882c03eb
treebd4b5c68760c5d607b62efe03ac87d0536942fa1
parenta7c2d40cc1afa7188d19f47c42446ce29b311532
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