wifi: cfg80211: Allow AP/P2PGO to indicate port authorization to peer STA/P2PClient
authorVinayak Yadawad <vinayak.yadawad@broadcom.com>
Tue, 26 Sep 2023 10:32:22 +0000 (16:02 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:50:44 +0000 (12:50 +0200)
commite4e7e3af73694380f0d9a742d13b80598a3393e9
treeff701dbdd747cf40882b48f5d4b5a042344771fc
parentcf912ca1a3c3d2e6fcacb6568e66f72cca05277d
wifi: cfg80211: Allow AP/P2PGO to indicate port authorization to peer STA/P2PClient

In 4way handshake offload, cfg80211_port_authorized enables driver
to indicate successful 4way handshake to cfg80211 layer. Currently
this path of port authorization is restricted to interface type
NL80211_IFTYPE_STATION and NL80211_IFTYPE_P2P_CLIENT. This patch
extends the support for NL80211_IFTYPE_AP and NL80211_IFTYPE_P2P_GO
interfaces to authorize peer STA/P2P_CLIENT, whenever authentication
is offloaded on the AP/P2P_GO interface.

Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
Link: https://lore.kernel.org/r/dee3b0a2b4f617e932c90bff4504a89389273632.1695721435.git.vinayak.yadawad@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/sme.c
net/wireless/util.c