History

wifi: nl80211: Allow authentication frames and set keys on NAN interface

Wi-Fi Aware R4 specification defines NAN Pairing which uses PASN handshake to authenticate the peer and generate keys. Hence allow to register and transmit the PASN authentication frames on NAN interface and set the keys to driver or underlying modules on NAN interface. The driver needs to configure the feature flag NL80211_EXT_FEATURE_SECURE_NAN, which also helps userspace modules to know if the driver supports secure NAN.

Vinay Gannevaram committed 3 years ago

Commit 9b894951 parent aaacf172 files · +21 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -6323,6 +6323,9 @@ enum nl80211_feature_flags { · 6322 unmodified lines
63236323 *
63246324 * @NL80211_EXT_FEATURE_PUNCT: Driver supports preamble puncturing in AP mode.
63256325 *
6326+ * @NL80211_EXT_FEATURE_SECURE_NAN: Device supports NAN Pairing which enables
6327+ * authentication, data encryption and message integrity.
6328+ *
63266329 * @NUM_NL80211_EXT_FEATURES: number of extended features.
63276330 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
63286331 */
@@ -6392,6 +6395,7 @@ enum nl80211_ext_feature_index { · 63 unmodified lines
63926395 NL80211_EXT_FEATURE_RADAR_BACKGROUND,
63936396 NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE,
63946397 NL80211_EXT_FEATURE_PUNCT,
6398+ NL80211_EXT_FEATURE_SECURE_NAN,
63956399
63966400 /* add new features before the definition below */
63976401 NUM_NL80211_EXT_FEATURES,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t