diff options
| author | gaurank kathpalia <gkathpal@codeaurora.org> | 2018-06-29 14:55:35 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-07-03 06:28:37 -0700 |
| commit | b04db9f877a47f9ea120d7153e3e5eaae4cc44f2 (patch) | |
| tree | 46407169b405303281a59724ae9a38f58be6311e | |
| parent | 69d7ddaa3caf9f83075b3c3855205154dd962d0e (diff) | |
qcacld-3.0: Remove DBS logic from csr_calculate_nss_score
Driver calculates nss score for BSS, depending upon the
current DBS status. Thus it does not give more preference
to 2x2 and considers it the same as 1x1.
But the DBS condition can change and driver
can move to single mac.
Fix to give more preference to 2x2 BSS so that
better throughput can be achieved in single mac.
Change-Id: Ib377069f464c85b46f907651ddc53bc297223281
CRs-Fixed: 2267101
| -rw-r--r-- | core/sme/src/csr/csr_api_scan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c index 7591dc0a9519..1702a3b94d55 100644 --- a/core/sme/src/csr/csr_api_scan.c +++ b/core/sme/src/csr/csr_api_scan.c @@ -2170,9 +2170,6 @@ static int32_t csr_calculate_nss_score(uint8_t sta_nss, uint8_t ap_nss, uint8_t nss; uint8_t score_pct; - if (wma_is_current_hwmode_dbs()) - sta_nss--; - nss = ap_nss; if (sta_nss < nss) nss = sta_nss; |
