qcacld-3.0: Change to calculate tx_retries from the right source
qcacld-2.0 to qcacld-3.0 propagation Change the logic to get tx_retries from multiple_retry_cnt. Currently tx_retries calculate from summary_stat.retry_cnt[] which are not initialized in current code. FW will enable FW_REPORT_TX_STATS_PER_VDEV feature and add multiple_retry_cnt support. Change-Id: Idf3ba2cc7fa3ab287256a850555bb50e8a117bd2 CRs-Fixed: 1061540
This commit is contained in:
parent
1f2b8a899b
commit
4c2f9d9d90
@ -2112,10 +2112,10 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
|
||||
pAdapter->hdd_stats.summary_stat.tx_frm_cnt[3];
|
||||
|
||||
sinfo->tx_retries =
|
||||
pAdapter->hdd_stats.summary_stat.retry_cnt[0] +
|
||||
pAdapter->hdd_stats.summary_stat.retry_cnt[1] +
|
||||
pAdapter->hdd_stats.summary_stat.retry_cnt[2] +
|
||||
pAdapter->hdd_stats.summary_stat.retry_cnt[3];
|
||||
pAdapter->hdd_stats.summary_stat.multiple_retry_cnt[0] +
|
||||
pAdapter->hdd_stats.summary_stat.multiple_retry_cnt[1] +
|
||||
pAdapter->hdd_stats.summary_stat.multiple_retry_cnt[2] +
|
||||
pAdapter->hdd_stats.summary_stat.multiple_retry_cnt[3];
|
||||
|
||||
sinfo->tx_failed =
|
||||
pAdapter->hdd_stats.summary_stat.fail_cnt[0] +
|
||||
|
Loading…
Reference in New Issue
Block a user