mesh: Enable MFP by default for 6 GHz 11s mesh
IEEE Std 802.11ax-2021 mandates 6 GHz STA to use Management Frame Protection (MFP) when RSN is enabled. Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
This commit is contained in:
parent
d10a01e221
commit
ab0af709df
1 changed files with 7 additions and 0 deletions
|
@ -438,6 +438,13 @@ static int wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s,
|
|||
goto out_free;
|
||||
|
||||
if (is_6ghz_freq(freq->freq)) {
|
||||
/*
|
||||
* IEEE Std 802.11ax-2021, 12.12.2:
|
||||
* The STA shall use management frame protection (MFPR=1) when
|
||||
* using RSN.
|
||||
*/
|
||||
ssid->ieee80211w = MGMT_FRAME_PROTECTION_REQUIRED;
|
||||
|
||||
/* Set mandatory op_class parameter for setting up BSS */
|
||||
switch (freq->bandwidth) {
|
||||
case 20:
|
||||
|
|
Loading…
Add table
Reference in a new issue