Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nl80211: Add new RSNXE related nl80211 extended features

Draft P802.11ax_D2.5 defines the following capabilities that
can be negotiated using RSNXE capabilities:

- Secure LTF measurement exchange protocol.
- Secure RTT measurement exchange protocol.
- Management frame protection for all management frames exchanged
during the negotiation and range measurement procedure.

Extend the nl80211 API to allow drivers to declare support for
these new capabilities as part of extended feature.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210409123755.8280e31d8091.Ifcb29f84f432290338f80c8378aa5c9e0a390c93@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Ilan Peer and committed by
Johannes Berg
f12ce9f6 253907ab

+13
+13
include/uapi/linux/nl80211.h
··· 5940 5940 * @NL80211_EXT_FEATURE_BEACON_RATE_HE: Driver supports beacon rate 5941 5941 * configuration (AP/mesh) with HE rates. 5942 5942 * 5943 + * @NL80211_EXT_FEATURE_SECURE_LTF: Device supports secure LTF measurement 5944 + * exchange protocol. 5945 + * 5946 + * @NL80211_EXT_FEATURE_SECURE_RTT: Device supports secure RTT measurement 5947 + * exchange protocol. 5948 + * 5949 + * @NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE: Device supports management 5950 + * frame protection for all management frames exchanged during the 5951 + * negotiation and range measurement procedure. 5952 + * 5943 5953 * @NUM_NL80211_EXT_FEATURES: number of extended features. 5944 5954 * @MAX_NL80211_EXT_FEATURES: highest extended feature index. 5945 5955 */ ··· 6011 6001 NL80211_EXT_FEATURE_FILS_DISCOVERY, 6012 6002 NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP, 6013 6003 NL80211_EXT_FEATURE_BEACON_RATE_HE, 6004 + NL80211_EXT_FEATURE_SECURE_LTF, 6005 + NL80211_EXT_FEATURE_SECURE_RTT, 6006 + NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE, 6014 6007 6015 6008 /* add new features before the definition below */ 6016 6009 NUM_NL80211_EXT_FEATURES,