mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Disable roaming for SAE
SAE is supported only for fresh connection. Hence, disable roaming
for SAE.
Change-Id: I53a03a3ea2955a7a8e67105f24e01e19a72be72c
CRs-Fixed: 2029357
This commit is contained in:
parent
b8f65d96b6
commit
2b1e57ed75
2 changed files with 15 additions and 0 deletions
|
|
@ -1777,6 +1777,13 @@ typedef QDF_STATUS (*csr_session_close_cb)(uint8_t session_id);
|
|||
#define CSR_IS_CONN_NDI(profile) (false)
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_SAE
|
||||
#define CSR_IS_AUTH_TYPE_SAE(auth_type) \
|
||||
(eCSR_AUTH_TYPE_SAE == auth_type)
|
||||
#else
|
||||
#define CSR_IS_AUTH_TYPE_SAE(auth_type) (false)
|
||||
#endif
|
||||
|
||||
QDF_STATUS csr_set_channels(tHalHandle hHal, tCsrConfigParam *pParam);
|
||||
|
||||
/* enum to string conversion for debug output */
|
||||
|
|
|
|||
|
|
@ -19000,6 +19000,14 @@ csr_roam_offload_scan(tpAniSirGlobal mac_ctx, uint8_t session_id,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Roaming is not supported currently for SAE authentication */
|
||||
if (session->pCurRoamProfile &&
|
||||
CSR_IS_AUTH_TYPE_SAE(
|
||||
session->pCurRoamProfile->AuthType.authType[0])) {
|
||||
sme_info("Roaming not suppprted for SAE connection");
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue