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
6323 *6323 *
6324 * @NL80211_EXT_FEATURE_PUNCT: Driver supports preamble puncturing in AP mode.6324 * @NL80211_EXT_FEATURE_PUNCT: Driver supports preamble puncturing in AP mode.
6325 *6325 *
6326 * @NL80211_EXT_FEATURE_SECURE_NAN: Device supports NAN Pairing which enables
6327 * authentication, data encryption and message integrity.
6328 *
6326 * @NUM_NL80211_EXT_FEATURES: number of extended features.6329 * @NUM_NL80211_EXT_FEATURES: number of extended features.
6327 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.6330 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
6328 */6331 */
@@ -6392,6 +6395,7 @@ enum nl80211_ext_feature_index { · 63 unmodified lines
6392 NL80211_EXT_FEATURE_RADAR_BACKGROUND,6395 NL80211_EXT_FEATURE_RADAR_BACKGROUND,
6393 NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE,6396 NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE,
6394 NL80211_EXT_FEATURE_PUNCT,6397 NL80211_EXT_FEATURE_PUNCT,
6398 NL80211_EXT_FEATURE_SECURE_NAN,
6395 6399
6396 /* add new features before the definition below */6400 /* add new features before the definition below */
6397 NUM_NL80211_EXT_FEATURES,6401 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