Browse Source

qcacld-3.0: Fix rx rate report when throuthput is high

When rx throughput is relatively high, driver will not refill rx
rates info. This has been done in wlan_hdd_get_peer_rx_rate_stats()
so that wlan_hdd_refill_actual_rate() do not need to consider this
condition. Otherwise, we will fail to report rates info to kernel.

Change-Id: Icf677138d7c51b66a0afed87ba4897d6fd5b7d25
CRs-Fixed: 3328555
jinbaoliu 2 years ago
parent
commit
48a1159e8b
1 changed files with 0 additions and 7 deletions
  1. 0 7
      core/hdd/src/wlan_hdd_stats.c

+ 0 - 7
core/hdd/src/wlan_hdd_stats.c

@@ -6035,13 +6035,6 @@ wlan_hdd_refill_actual_rate(struct rate_info *os_rate,
 	mcs_index = adapter->hdd_stats.class_a_stat.rx_mcs_index;
 	nss = adapter->hdd_stats.class_a_stat.rx_nss;
 
-	/*
-	 *  If througput is high, do not get rx rate
-	 *  info to avoid the performance penalty
-	 */
-	if (cdp_get_bus_lvl_high(soc))
-		return;
-
 	os_rate->nss = nss;
 	if (preamble == DOT11_A || preamble == DOT11_B) {
 		os_rate->legacy = rate;