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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -6323,6 +6323,9 @@ enum nl80211_feature_flags { · 6322 unmodified lines | ||
| 6323 | 6323 | * |
| 6324 | 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 | 6329 | * @NUM_NL80211_EXT_FEATURES: number of extended features. |
| 6327 | 6330 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. |
| 6328 | 6331 | */ |
| @@ -6392,6 +6395,7 @@ enum nl80211_ext_feature_index { · 63 unmodified lines | ||
| 6392 | 6395 | NL80211_EXT_FEATURE_RADAR_BACKGROUND, |
| 6393 | 6396 | NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE, |
| 6394 | 6397 | NL80211_EXT_FEATURE_PUNCT, |
| 6398 | + NL80211_EXT_FEATURE_SECURE_NAN, | |
| 6395 | 6399 | |
| 6396 | 6400 | /* add new features before the definition below */ |
| 6397 | 6401 | NUM_NL80211_EXT_FEATURES, |