diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-08-01 17:19:31 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-08-04 19:31:52 -0700 |
| commit | 2a204f17ce9b4a02981ebcfee1cd22ea3c764cf8 (patch) | |
| tree | 0f7560490bf420899dee2658131243216a952d64 | |
| parent | d26e897636976b3ae4b3f4da0c25d6dc7f057669 (diff) | |
qcacld: Remove obsolete hdd_chip_reset_stats
The qcacld wlan driver defines a hdd_chip_reset_stats_t data
structure. But this structure dates back to an older version of the
wlan driver, and is not applicable to the current driver. Therefore
remove the structure and the iwpriv getStats code that references it.
Change-Id: Id977c639ffc745fc0ab0ac4c3ceac7831fa67c96
CRs-fixed: 703533
| -rw-r--r-- | CORE/HDD/inc/wlan_hdd_main.h | 12 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 13 |
2 files changed, 1 insertions, 24 deletions
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h index dfce710187a8..2522285a0aa8 100644 --- a/CORE/HDD/inc/wlan_hdd_main.h +++ b/CORE/HDD/inc/wlan_hdd_main.h @@ -348,16 +348,6 @@ typedef struct hdd_tx_rx_stats_s } hdd_tx_rx_stats_t; -typedef struct hdd_chip_reset_stats_s -{ - __u32 totalLogpResets; - __u32 totalCMD53Failures; - __u32 totalMutexReadFailures; - __u32 totalMIFErrorFailures; - __u32 totalFWHearbeatFailures; - __u32 totalUnknownExceptions; -} hdd_chip_reset_stats_t; - #ifdef WLAN_FEATURE_11W typedef struct hdd_pmf_stats_s { @@ -375,7 +365,6 @@ typedef struct hdd_stats_s tCsrGlobalClassDStatsInfo ClassD_stat; tCsrPerStaStatsInfo perStaStats; hdd_tx_rx_stats_t hddTxRxStats; - hdd_chip_reset_stats_t hddChipResetStats; #ifdef WLAN_FEATURE_11W hdd_pmf_stats_t hddPmfStats; #endif @@ -1349,7 +1338,6 @@ struct hdd_context_s v_U8_t no_of_open_sessions[VOS_MAX_NO_OF_MODE]; v_U8_t no_of_active_sessions[VOS_MAX_NO_OF_MODE]; - hdd_chip_reset_stats_t hddChipResetStats; /* Number of times riva restarted */ v_U32_t hddRivaResetStats; diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index ae06f508b9c4..2ef4c8978e82 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -6630,9 +6630,7 @@ static int iw_get_char_setnone(struct net_device *dev, struct iw_request_info *i case WE_GET_STATS: { - hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter); hdd_tx_rx_stats_t *pStats = &pAdapter->hdd_stats.hddTxRxStats; - hdd_chip_reset_stats_t *pResetStats = &pHddCtx->hddChipResetStats; snprintf(extra, WE_MAX_STR_LEN, "\nTransmit" @@ -6650,8 +6648,6 @@ static int iw_get_char_setnone(struct net_device *dev, struct iw_request_info *i "\n flushed BK %u, BE %u, VI %u, VO %u" "\n\nReceive" "\nchains %u, packets %u, dropped %u, delivered %u, refused %u" - "\n\nResetsStats" - "\n TotalLogp %u Cmd53 %u MutexRead %u MIF-Error %u FW-Heartbeat %u Others %u" "\n", pStats->txXmitCalled, pStats->txXmitDropped, @@ -6718,14 +6714,7 @@ static int iw_get_char_setnone(struct net_device *dev, struct iw_request_info *i pStats->rxPackets, pStats->rxDropped, pStats->rxDelivered, - pStats->rxRefused, - - pResetStats->totalLogpResets, - pResetStats->totalCMD53Failures, - pResetStats->totalMutexReadFailures, - pResetStats->totalMIFErrorFailures, - pResetStats->totalFWHearbeatFailures, - pResetStats->totalUnknownExceptions + pStats->rxRefused ); wrqu->data.length = strlen(extra)+1; break; |
