diff options
| author | Krunal Soni <ksoni@codeaurora.org> | 2016-10-27 17:25:23 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-29 17:29:52 -0700 |
| commit | d292a6b8cd843b8b09bbc9a1335dd626b879f99e (patch) | |
| tree | f8e3fa149c02b3809b6e876e74c65795f0541819 | |
| parent | 35fc8ea8b87b4b4c737fb4254762cc8d1dccc44b (diff) | |
qcacld-3.0: Enable Rx LDPC when DBS is disabled from INI
As per new requirement, when DBS is disabled from INI, driver needs
to enable Rx LDPC for all persona if it is supported by hardware and
enabled from INI.
CRs-Fixed: 1083379
Change-Id: I803ffd2c8035bd2604db7189f3d0734816c80d3f
(cherry picked from commit 284064f72ae7a421a6d870c5c29d496fea23353f)
| -rw-r--r-- | core/sme/src/csr/csr_api_roam.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 0c784ba5b0a8..d9bbd0bda24d 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -14301,10 +14301,11 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId, } /* * If RX LDPC has been disabled for 2.4GHz channels and enabled - * for 5Ghz for STA like persona here is how to handle those - * cases here (by now channel has been decided). + * for 5Ghz for STA like persona then here is how to handle + * those cases (by now channel has been decided). */ - if (eSIR_INFRASTRUCTURE_MODE == csr_join_req->bsstype) + if (eSIR_INFRASTRUCTURE_MODE == csr_join_req->bsstype || + !wma_is_dbs_enable()) csr_set_ldpc_exception(pMac, pSession, pBssDescription->channelId, pMac->roam.configParam.rxLdpcEnable); @@ -15119,7 +15120,12 @@ QDF_STATUS csr_send_mb_start_bss_req_msg(tpAniSirGlobal pMac, uint32_t sessionId qdf_mem_copy(&pMsg->extendedRateSet, &pParam->extendedRateSet, sizeof(tSirMacRateSet)); - if (eSIR_IBSS_MODE == pMsg->bssType) + /* + * If RX LDPC has been disabled for 2.4GHz channels and enabled + * for 5Ghz for STA like persona then here is how to handle + * those cases (by now channel has been decided). + */ + if (eSIR_IBSS_MODE == pMsg->bssType || !wma_is_dbs_enable()) csr_set_ldpc_exception(pMac, pSession, pMsg->channelId, pMac->roam.configParam.rxLdpcEnable); |
