mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
P2P: Enable HE for both 2G and 5G bands
Previously HE was only enabled for a 2G P2P GO. This change enables HE for both 2G and 5G P2P GO. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
822c756e8c
commit
edcaf16f9e
@ -334,10 +334,13 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
|
||||
list[8] = -1;
|
||||
}
|
||||
conf->supported_rates = list;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IEEE80211AX
|
||||
if (ssid->mode == WPAS_MODE_P2P_GO ||
|
||||
ssid->mode == WPAS_MODE_P2P_GROUP_FORMATION)
|
||||
conf->ieee80211ax = ssid->he;
|
||||
#endif /* CONFIG_IEEE80211AX */
|
||||
}
|
||||
|
||||
bss->isolate = !wpa_s->conf->p2p_intra_bss;
|
||||
bss->force_per_enrollee_psk = wpa_s->global->p2p_per_sta_psk;
|
||||
|
Loading…
Reference in New Issue
Block a user