summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/sme/inc/csr_api.h7
-rw-r--r--core/sme/src/csr/csr_api_roam.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/core/sme/inc/csr_api.h b/core/sme/inc/csr_api.h
index 4c97923bd612..13743604b23b 100644
--- a/core/sme/inc/csr_api.h
+++ b/core/sme/inc/csr_api.h
@@ -1801,6 +1801,13 @@ typedef QDF_STATUS (*csr_roamSessionCloseCallback)(void *pContext);
(eCSR_AUTH_TYPE_FT_FILS_SHA256 == auth_type) || \
(eCSR_AUTH_TYPE_FT_FILS_SHA384 == auth_type))
+#ifdef WLAN_FEATURE_OWE
+#define CSR_IS_AUTH_TYPE_OWE(auth_type) \
+ (eCSR_AUTH_TYPE_OWE == auth_type)
+#else
+#define CSR_IS_AUTH_TYPE_OWE(auth_type) (false)
+#endif
+
QDF_STATUS csr_set_channels(tHalHandle hHal, tCsrConfigParam *pParam);
QDF_STATUS csr_set_reg_info(tHalHandle hHal, uint8_t *apCntryCode);
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index c7c61cf11c00..9720476a7047 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -19686,6 +19686,14 @@ csr_roam_offload_scan(tpAniSirGlobal mac_ctx, uint8_t session_id,
return QDF_STATUS_SUCCESS;
}
+ /* Roaming is not supported currently for OWE akm */
+ if (session->pCurRoamProfile &&
+ CSR_IS_AUTH_TYPE_OWE(
+ session->pCurRoamProfile->AuthType.authType[0])) {
+ sme_info("OWE Roaming not suppprted by fw");
+ return QDF_STATUS_SUCCESS;
+ }
+
/*
* The Dynamic Config Items Update may happen even if the state is in
* INIT. It is important to ensure that the command is passed down to