mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
WIFI-2087: WPA3-Enterprise 192-Bit support
Configure SUITE-B-192, BIP-GMAC-256 and GCMP-256. Signed-off-by: Arif Alam <arif.alam@netexperience.com>
This commit is contained in:
committed by
Rick Sommerville
parent
feac133dab
commit
b3b1b1307e
@@ -847,7 +847,15 @@ hostapd_set_bss_options() {
|
||||
json_get_vars ieee80211w_mgmt_cipher ieee80211w_max_timeout ieee80211w_retry_timeout
|
||||
append bss_conf "ieee80211w=$ieee80211w" "$N"
|
||||
[ "$ieee80211w" -gt "0" ] && {
|
||||
append bss_conf "group_mgmt_cipher=${ieee80211w_mgmt_cipher:-AES-128-CMAC}" "$N"
|
||||
case "$auth_type" in
|
||||
eap192)
|
||||
append bss_conf "group_mgmt_cipher=BIP-GMAC-256" "$N"
|
||||
append bss_conf "group_cipher=GCMP-256" "$N"
|
||||
;;
|
||||
*)
|
||||
append bss_conf "group_mgmt_cipher=${ieee80211w_mgmt_cipher:-AES-128-CMAC}" "$N"
|
||||
;;
|
||||
esac
|
||||
[ -n "$ieee80211w_max_timeout" ] && \
|
||||
append bss_conf "assoc_sa_query_max_timeout=$ieee80211w_max_timeout" "$N"
|
||||
[ -n "$ieee80211w_retry_timeout" ] && \
|
||||
|
||||
@@ -810,7 +810,15 @@ hostapd_set_bss_options() {
|
||||
json_get_vars ieee80211w_mgmt_cipher ieee80211w_max_timeout ieee80211w_retry_timeout
|
||||
append bss_conf "ieee80211w=$ieee80211w" "$N"
|
||||
[ "$ieee80211w" -gt "0" ] && {
|
||||
append bss_conf "group_mgmt_cipher=${ieee80211w_mgmt_cipher:-AES-128-CMAC}" "$N"
|
||||
case "$auth_type" in
|
||||
eap192)
|
||||
append bss_conf "group_mgmt_cipher=BIP-GMAC-256" "$N"
|
||||
append bss_conf "group_cipher=GCMP-256" "$N"
|
||||
;;
|
||||
*)
|
||||
append bss_conf "group_mgmt_cipher=${ieee80211w_mgmt_cipher:-AES-128-CMAC}" "$N"
|
||||
;;
|
||||
esac
|
||||
[ -n "$ieee80211w_max_timeout" ] && \
|
||||
append bss_conf "assoc_sa_query_max_timeout=$ieee80211w_max_timeout" "$N"
|
||||
[ -n "$ieee80211w_retry_timeout" ] && \
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#define OVSDB_SECURITY_ENCRYPTION_WPA_SAE "WPA-SAE"
|
||||
#define OVSDB_SECURITY_ENCRYPTION_WPA_EAP "WPA-EAP"
|
||||
#define OVSDB_SECURITY_ENCRYPTION_WPA3_EAP "WPA3-EAP"
|
||||
#define OVSDB_SECURITY_ENCRYPTION_WPA3_EAP_192 "WPA3-EAP-192"
|
||||
#define OVSDB_SECURITY_RADIUS_SERVER_IP "radius_server_ip"
|
||||
#define OVSDB_SECURITY_RADIUS_SERVER_PORT "radius_server_port"
|
||||
#define OVSDB_SECURITY_RADIUS_SERVER_SECRET "radius_server_secret"
|
||||
|
||||
@@ -322,6 +322,7 @@ static struct vif_crypto {
|
||||
{ "sae-mixed", OVSDB_SECURITY_ENCRYPTION_WPA_SAE, OVSDB_SECURITY_MODE_MIXED, 0 },
|
||||
{ "wpa3-only", OVSDB_SECURITY_ENCRYPTION_WPA3_EAP, OVSDB_SECURITY_MODE_WPA3, 1 },
|
||||
{ "wpa3-mixed", OVSDB_SECURITY_ENCRYPTION_WPA3_EAP, OVSDB_SECURITY_MODE_MIXED, 1 },
|
||||
{ "wpa3", OVSDB_SECURITY_ENCRYPTION_WPA3_EAP_192, OVSDB_SECURITY_MODE_WPA3, 1 },
|
||||
};
|
||||
|
||||
extern ovsdb_table_t table_APC_State;
|
||||
|
||||
Reference in New Issue
Block a user