diff options
| author | gbian <gbian@codeaurora.org> | 2016-08-31 17:57:12 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-09-20 12:05:37 +0530 |
| commit | c9614b977244fd8d7d80935f1c2e701a5f8384e4 (patch) | |
| tree | 49903df3dfd75355725155453588a72194ba29c9 | |
| parent | 49a525c2c6f4b0eddd114d256260332d4931d7e6 (diff) | |
qcacld-2.0: Add support for nl get_station interface
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
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index dd030326cdf4..e197974683ae 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -21059,10 +21059,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] + |
