diff options
| author | Padma, Santhosh Kumar <skpadma@codeaurora.org> | 2017-11-29 16:20:17 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-12-01 06:32:14 -0800 |
| commit | 423ff8106a553563c302f742bb1bc0de466af3bc (patch) | |
| tree | 45fd87cfd2ca3857b9bcc2d576da3e427097fd2c | |
| parent | 2f57fd858f72acd390bd0526ad4303107905d0c1 (diff) | |
qcacld-3.0: Do not update beacon for ESE
Currently driver updates beacon for ESE connections as well
as part of SIR_HAL_ROAM_INVOKE. Due to this, there is a
possibility that firmware may receive rejection of reassoc
request because of stale beacon and results in roaming failure.
Hence, do not update beacon for ESE connections so that firmware
can use latest beacon to avoid roaming failure.
Change-Id: Id10cec040c36e559eacf82388f3d702afc17ce5a
CRs-Fixed: 2150713
| -rw-r--r-- | core/sme/src/common/sme_api.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 21a21f076ba7..3b0e21431ec7 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -18875,6 +18875,7 @@ QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile, QDF_STATUS status; struct wma_roam_invoke_cmd *fastreassoc; cds_msg_t msg = {0}; + tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal); fastreassoc = qdf_mem_malloc(sizeof(*fastreassoc)); if (NULL == fastreassoc) { @@ -18912,6 +18913,16 @@ QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile, fastreassoc->frame_len = 0; } + if (csr_is_auth_type_ese(mac_ctx->roam.roamSession[vdev_id]. + connectedProfile.AuthType)) { + sme_debug("Beacon is not required for ESE"); + if (fastreassoc->frame_len) { + qdf_mem_free(fastreassoc->frame_buf); + fastreassoc->frame_buf = NULL; + fastreassoc->frame_len = 0; + } + } + msg.type = SIR_HAL_ROAM_INVOKE; msg.reserved = 0; msg.bodyptr = fastreassoc; |
