浏览代码

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 7 年之前
父节点
当前提交
cb5ce20e28
共有 1 个文件被更改,包括 0 次插入5 次删除
  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;