From 9a24f41f385b8bf79da7e6da95c000aaaab7a00e Mon Sep 17 00:00:00 2001 From: bhmanda Date: Thu, 17 Oct 2024 22:35:43 +0530 Subject: [PATCH 1/2] Added wpa_wpa2_mixed security mode in RS9116 --- examples/platform/silabs/efr32/rs911x/rsi_if.cpp | 3 +++ src/platform/silabs/wifi/wfx_host_events.h | 14 ++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/examples/platform/silabs/efr32/rs911x/rsi_if.cpp b/examples/platform/silabs/efr32/rs911x/rsi_if.cpp index 02500c80f7..13f452963b 100644 --- a/examples/platform/silabs/efr32/rs911x/rsi_if.cpp +++ b/examples/platform/silabs/efr32/rs911x/rsi_if.cpp @@ -506,6 +506,9 @@ static void wfx_rsi_save_ap_info(void) // translation case SME_WPA2_ENTERPRISE: wfx_rsi.sec.security = WFX_SEC_WPA2; break; + case SME_WPA_WPA2_MIXED_MODE: + wfx_rsi.sec.security = WFX_SEC_WPA_WPA2_MIXED; + break; case SME_WEP: wfx_rsi.sec.security = WFX_SEC_WEP; break; diff --git a/src/platform/silabs/wifi/wfx_host_events.h b/src/platform/silabs/wifi/wfx_host_events.h index de1759951c..dae4f1909a 100644 --- a/src/platform/silabs/wifi/wfx_host_events.h +++ b/src/platform/silabs/wifi/wfx_host_events.h @@ -147,12 +147,14 @@ typedef enum /* Note that these are same as RSI_security */ typedef enum { - WFX_SEC_UNSPECIFIED = 0, - WFX_SEC_NONE = 1, - WFX_SEC_WEP = 2, - WFX_SEC_WPA = 3, - WFX_SEC_WPA2 = 4, - WFX_SEC_WPA3 = 5, + WFX_SEC_UNSPECIFIED = 0, + WFX_SEC_NONE = 1, + WFX_SEC_WEP = 2, + WFX_SEC_WPA = 3, + WFX_SEC_WPA2 = 4, + WFX_SEC_WPA3 = 5, + WFX_SEC_WPA_WPA2_MIXED = 6, + } wfx_sec_t; typedef struct From ebd1726255356e3fd8aa6c7e90b930aee23655e2 Mon Sep 17 00:00:00 2001 From: bhmanda Date: Thu, 17 Oct 2024 22:59:48 +0530 Subject: [PATCH 2/2] Added WFX_SEC_WPA_WPA2_MIXED --- examples/platform/silabs/efr32/rs911x/rsi_if.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/platform/silabs/efr32/rs911x/rsi_if.cpp b/examples/platform/silabs/efr32/rs911x/rsi_if.cpp index 13f452963b..cedfc05cd5 100644 --- a/examples/platform/silabs/efr32/rs911x/rsi_if.cpp +++ b/examples/platform/silabs/efr32/rs911x/rsi_if.cpp @@ -554,6 +554,7 @@ static void wfx_rsi_do_join(void) break; case WFX_SEC_WPA: case WFX_SEC_WPA2: + case WFX_SEC_WPA_WPA2_MIXED: connect_security_mode = RSI_WPA_WPA2_MIXED; break; #if WIFI_ENABLE_SECURITY_WPA3_TRANSITION