]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211: Simplify Extended Key ID API
authorAlexander Wetzel <alexander@wetzel-home.de>
Sat, 29 Jun 2019 19:50:13 +0000 (21:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2019 11:28:59 +0000 (13:28 +0200)
commit3e47bf1ca4c363ba8b1f99c4c3dcda13d2979954
treebae4421aca28d386485e5fc0a6d32c82c0bca7e6
parent5d29050b409d961df34a7290270ba53f0c025152
mac80211: Simplify Extended Key ID API

1) Drop IEEE80211_HW_EXT_KEY_ID_NATIVE and let drivers directly set
   the NL80211_EXT_FEATURE_EXT_KEY_ID flag.

2) Drop IEEE80211_HW_NO_AMPDU_KEYBORDER_SUPPORT and simply assume all
   drivers are unable to handle A-MPDU key borders.

The new Extended Key ID API now requires all mac80211 drivers to set
NL80211_EXT_FEATURE_EXT_KEY_ID when they implement set_key() and can
handle Extended Key ID. For drivers not providing set_key() mac80211
itself enables Extended Key ID support, using the internal SW crypto
services.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
Link: https://lore.kernel.org/r/20190629195015.19680-2-alexander@wetzel-home.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/key.c
net/mac80211/main.c