]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P2: Omit RSNXE in P2P Auto GO PCC mode
authorShivani Baranwal <shivbara@qti.qualcomm.com>
Fri, 10 Oct 2025 07:09:56 +0000 (12:39 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 13 Oct 2025 09:14:49 +0000 (12:14 +0300)
Omit the RSNXE when operating in P2P Auto GO PCC (Persistent Client
Connectivity) mode (i.e., when RSN overriding is enabled) by setting
rsn_override_omit_rsnxe config. This improves interoperability with STAs
that might not be able handle RSNXE in this configuration.

Signed-off-by: Shivani Baranwal <shivbara@qti.qualcomm.com>
wpa_supplicant/ap.c

index 311df60754fe653231f13c5d68854f6dae98475e..7cf557f0877e7b5c541f63c1d4f2c63a6ce49a07 100644 (file)
@@ -585,6 +585,7 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
                bss->wpa_pairwise = WPA_CIPHER_CCMP;
                bss->rsn_override_pairwise = WPA_CIPHER_CCMP;
                bss->rsn_override_mfp = 2;
+               bss->rsn_override_omit_rsnxe = 1;
        }
 #endif /* CONFIG_P2P */