Merge "qcacld-3.0: Rename hdd_stats ClassD_stat field" into wlan-cld3.driver.lnx.2.0-dev

This commit is contained in:
CNSS_WLAN Service 2017-10-25 16:00:18 -07:00 • committed by Gerrit - the friendly Code Review server
commit 523592067b
2 changed files with 5 additions and 5 deletions

View file

@ -488,7 +488,7 @@ struct hdd_arp_stats_s {
* struct hdd_stats - per-adapter statistics
* @summary_stat: Summary stats reported by firmware
* @class_a_stat: "Class A" stats reported by firmware
* @ClassD_stat: "Class D" stats reported by firmware
* @class_d_stat: "Class D" stats reported by firmware
* @per_chain_rssi_stats: Per-chain RSSI stats
* @tx_rx_stats: Tx & Rx stats
* @hdd_pmf_stats: Protected Management Frame stats
@ -496,7 +496,7 @@ struct hdd_arp_stats_s {
struct hdd_stats {
tCsrSummaryStatsInfo summary_stat;
tCsrGlobalClassAStatsInfo class_a_stat;
tCsrGlobalClassDStatsInfo ClassD_stat;
tCsrGlobalClassDStatsInfo class_d_stat;
struct csr_per_chain_rssi_stats_info per_chain_rssi_stats;
struct hdd_tx_rx_stats tx_rx_stats;
struct hdd_arp_stats_s hdd_arp_stats;

View file

@ -4123,8 +4123,8 @@ static void hdd_statistics_cb(void *pStats, void *pContext)
sizeof(pStatsCache->summary_stat));
qdf_mem_copy(&pStatsCache->class_a_stat, pClassAStats,
sizeof(pStatsCache->class_a_stat));
qdf_mem_copy(&pStatsCache->ClassD_stat, pClassDStats,
sizeof(pStatsCache->ClassD_stat));
qdf_mem_copy(&pStatsCache->class_d_stat, pClassDStats,
sizeof(pStatsCache->class_d_stat));
}
if (adapter) {
@ -9895,7 +9895,7 @@ static int __iw_get_statistics(struct net_device *dev,
int tlen = 0;
tCsrSummaryStatsInfo *pStats = &(adapter->hdd_stats.summary_stat);
tCsrGlobalClassAStatsInfo *aStats = &(adapter->hdd_stats.class_a_stat);
tCsrGlobalClassDStatsInfo *dStats = &(adapter->hdd_stats.ClassD_stat);
tCsrGlobalClassDStatsInfo *dStats = &(adapter->hdd_stats.class_d_stat);
int ret;
ENTER_DEV(dev);