]> git.ipfire.org Git - thirdparty/hostap.git/commit
PASN: Introduce configuration option to allow/deny PASN-UNAUTH
authorSai Pratyusha Magam <quic_smagam@quicinc.com>
Wed, 17 May 2023 04:50:38 +0000 (10:20 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 25 May 2023 19:54:12 +0000 (22:54 +0300)
commit4120f9d7ab12660364ca4c9dd6e6e4cb66f5342a
treecc122a17862a50a6bfe08ff63f37f298e4ef79b0
parentfc681995cf95ba93021a32364ddac6b1d2d21689
PASN: Introduce configuration option to allow/deny PASN-UNAUTH

Per IEEE P802.11az/D7.0, 12.12.3.2 (PASN Frame Construction and
Processing), responder should REFUSE PASN authentication frame 1 with
Base AKM as PASN AKM if dot11NoAuthPASNActivated is false. That
configuration was not previously available and hostapd was hardcoded
with dot11NoAuthPASNActivated being true.

Allow this to be configured and reject PASN authentication frame 1 from
initiator if pasn_noauth=0 and Base AKM in RSNE of this frame is PASN.
The default value for pasn_noauth is 1 to maintain previous
functionality even though the dot11NoAuthPASNActivated is defined to
have default value of false.

Signed-off-by: Sai Pratyusha Magam <quic_smagam@quicinc.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/ieee802_11.c
src/pasn/pasn_common.h
src/pasn/pasn_responder.c