From a97deec49ed5dfd09332eee0638b151cca5a8eac Mon Sep 17 00:00:00 2001 From: Ravi Dondaputi Date: Wed, 20 Nov 2024 15:14:15 +0530 Subject: [PATCH] [nrf fromlist] nrfwifi: Display EAP_TLS_SHA256 security in scan results EAP_TLS_SHA256 was being identified as EAP_TLS in display scan results. Identify the security type in scan results sent by RPU and display accordingly. Upstream PR #: 81514 Signed-off-by: Ravi Dondaputi (cherry picked from commit 4092e6df311e18779fe1bb28ca29fff9e7931891) --- drivers/wifi/nrf_wifi/src/wifi_mgmt_scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/wifi/nrf_wifi/src/wifi_mgmt_scan.c b/drivers/wifi/nrf_wifi/src/wifi_mgmt_scan.c index e30f572aeb3..f85c71c4f5f 100644 --- a/drivers/wifi/nrf_wifi/src/wifi_mgmt_scan.c +++ b/drivers/wifi/nrf_wifi/src/wifi_mgmt_scan.c @@ -297,6 +297,8 @@ static inline enum wifi_security_type drv_to_wifi_mgmt(int drv_security_type) return WIFI_SECURITY_TYPE_WAPI; case NRF_WIFI_EAP: return WIFI_SECURITY_TYPE_EAP; + case NRF_WIFI_EAP_TLS_SHA256: + return WIFI_SECURITY_TYPE_EAP_TLS_SHA256; default: return WIFI_SECURITY_TYPE_UNKNOWN; }