mesh: Do not allow open mode key in 6 GHz
IEEE Std 802.11ax-2021, 12.12 explicitly disallows use of Open System authentication without encryption on the 6 GHz band. Signed-off-by: Sharadanand Karanjkar <skaranjkar@datto.com>
This commit is contained in:
parent
50a9b7d3d3
commit
5da3e1ca44
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@ static int wpa_config_validate_network(struct wpa_ssid *ssid, int line)
|
|||
ssid->group_cipher &= ~WPA_CIPHER_CCMP;
|
||||
}
|
||||
|
||||
if (is_6ghz_freq(ssid->frequency) && ssid->mode == WPAS_MODE_MESH &&
|
||||
ssid->key_mgmt == WPA_KEY_MGMT_NONE) {
|
||||
wpa_printf(MSG_ERROR,
|
||||
"Line %d: key_mgmt for mesh network in 6 GHz should be SAE",
|
||||
line);
|
||||
errors++;
|
||||
}
|
||||
if (ssid->mode == WPAS_MODE_MESH &&
|
||||
(ssid->key_mgmt != WPA_KEY_MGMT_NONE &&
|
||||
ssid->key_mgmt != WPA_KEY_MGMT_SAE)) {
|
||||
|
|
Loading…
Reference in a new issue