wifi: nl80211: Allow authentication frames and set keys on NAN interface
authorVinay Gannevaram <quic_vganneva@quicinc.com>
Sat, 4 Feb 2023 13:59:39 +0000 (19:29 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 11:35:02 +0000 (12:35 +0100)
commit9b89495e479c5fedbf3f2eca4f1c4e9dd481265e
tree84c5badfa96d03ac9697072f2098013e755400b4
parentaaacf1740f2f95e0c5449ff3bbcff252d69cf952
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.

Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
Link: https://lore.kernel.org/r/1675519179-24174-1-git-send-email-quic_vganneva@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c