WPA3 enterprise requires group_mgmt_cipher=BIP-GMAC-256 and if 802.11r is
active also wpa_key_mgmt FT-EAP-SHA384. This commit also requires
corresponding changes in netifd.
Signed-off-by: Joerg Werner
---
package/network/services/hostapd/files/hostapd.sh | 13 ++---
1 file changed, 10
WPA3 enterprise requires wpa_cipher to be GCMP-256, so if the user set
encryption to wpa3 or wpa3-mixed, then add GCMP-256. Also allow explicit
selection of GCMP-256 by adding gcmp256 at the end of the encryption
value.
Signed-off-by: Joerg Werner
---
scripts/netifd-wireless.sh | 5 -
1
WPA3 enterprise requires wpa_cipher to be GCMP-256 for good client/device
support, so if the user sets encryption to wpa3 or wpa3-mixed, then add
GCMP-256. Also allow explicit selection of GCMP-256/CCMP-256 ciphers by
adding gcmp256/ccmp256 at the end of the encryption value.
Signed-off-by: Joerg
Signed-off-by: Joerg Werner
---
include/iwinfo.h | 22 --
iwinfo_cli.c | 6 ++
iwinfo_lua.c | 6 ++
iwinfo_nl80211.c | 14 --
iwinfo_utils.c | 10 --
5 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/include/iwinfo.h b
Signed-off-by: Joerg Werner
---
include/iwinfo.h | 22 --
iwinfo_cli.c | 6 ++
iwinfo_lib.c | 3 +++
iwinfo_lua.c | 6 ++
iwinfo_nl80211.c | 14 --
iwinfo_utils.c | 10 --
6 files changed, 43 insertions(+), 18 deletions(-)
diff
Signed-off-by: Joerg Werner
---
Update after review by Hauke Mehrtens
Order in IWINFO_CIPHER_NAMES needs to be consistent with bit order for
IWINFO_CIPHER_*
include/iwinfo.h | 22 --
iwinfo_cli.c | 6 ++
iwinfo_lib.c | 3 +++
iwinfo_lua.c | 6
Correctly categorize FT-EAP-SHA384 as WPA3
Signed-off-by: Joerg Werner
---
iwinfo_nl80211.c | 4
iwinfo_utils.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c
index 30da680..5f213e6 100644
--- a/iwinfo_nl80211.c
+++ b