P2P: Require PMF for P2P GO in the 6 GHz band
Enable (and require) the management frame protection for the P2P GO if it is started on a 6 GHz channel. Signed-off-by: Sreeramya Soratkal <ssramya@codeaurora.org>
This commit is contained in:
parent
c3155a725d
commit
24774dcc2e
1 changed files with 1 additions and 0 deletions
|
@ -2069,6 +2069,7 @@ static void wpas_start_wps_go(struct wpa_supplicant *wpa_s,
|
|||
is_p2p_6ghz_capable(wpa_s->global->p2p)) {
|
||||
ssid->auth_alg |= WPA_AUTH_ALG_SAE;
|
||||
ssid->key_mgmt = WPA_KEY_MGMT_SAE;
|
||||
ssid->ieee80211w = MGMT_FRAME_PROTECTION_REQUIRED;
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Use SAE auth_alg and key_mgmt");
|
||||
} else {
|
||||
p2p_set_6ghz_dev_capab(wpa_s->global->p2p, false);
|
||||
|
|
Loading…
Reference in a new issue