Browse Source

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
gaurank kathpalia 6 years ago
parent
commit
cb5ce20e28
1 changed files with 0 additions and 5 deletions
  1. 0 5
      umac/scan/core/src/wlan_scan_bss_score.c

+ 0 - 5
umac/scan/core/src/wlan_scan_bss_score.c

@@ -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;