mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: Remove DBS logic from scm_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: Ib684abe423fd21a81cb13db5f741fdfbb750328d CRs-Fixed: 2271976
This commit is contained in:
parent
62b8a9886d
commit
cb5ce20e28
1 changed files with 0 additions and 5 deletions
|
|
@ -556,11 +556,6 @@ static int32_t scm_calculate_nss_score(struct wlan_objmgr_psoc *psoc,
|
|||
uint8_t sta_nss;
|
||||
|
||||
sta_nss = score_config->nss;
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
if (policy_mgr_is_current_hwmode_dbs(psoc))
|
||||
sta_nss--;
|
||||
#endif
|
||||
nss = ap_nss;
|
||||
if (sta_nss < nss)
|
||||
nss = sta_nss;
|
||||
|
|
|
|||
Loading…
Reference in a new issue