Kaynağa Gözat

qcacld-3.0: Remove obsolete LOG_WLAN_LINKLAYER_STAT_C support

Diagnostic event LOG_WLAN_LINKLAYER_STAT_C is not supported by the
current driver, so remove all of the associated data structures.

Change-Id: Ief112fd0995946e98d2be3ac4c623af741e70528
CRs-Fixed: 1071955
Jeff Johnson 8 yıl önce
ebeveyn
işleme
72706ca5cc

+ 0 - 102
core/utils/host_diag_log/inc/host_diag_core_log.h

@@ -192,108 +192,6 @@ typedef struct {
 	uint8_t pattern_mask[HOST_LOG_MAX_WOW_PTRN_MASK_SIZE];
 } host_log_powersave_wow_add_ptrn_pkt_type;
 
-/*---------------------------------------------------------------------------
-   This packet contains the PHY & MAC layer statistics sent by lower layer
-   _WLAN_LINKLAYER_STAT_C                       0x14A1
-   ---------------------------------------------------------------------------*/
-typedef struct {
-	uint32_t retry_cnt[4];
-	uint32_t multiple_retry_cnt[4];
-	uint32_t tx_frm_cnt[4];
-	uint32_t rx_frm_cnt;
-	uint32_t frm_dup_cnt;
-	uint32_t fail_cnt[4];
-	uint32_t rts_fail_cnt;
-	uint32_t ack_fail_cnt;
-	uint32_t rts_succ_cnt;
-	uint32_t rx_discard_cnt;
-	uint32_t rx_error_cnt;
-	uint32_t tx_byte_cnt;
-
-} summaryStatsInfo;
-
-typedef struct {
-	uint32_t rx_frag_cnt;
-	uint32_t promiscuous_rx_frag_cnt;
-	uint32_t rx_input_sensitivity;
-	uint32_t max_pwr;
-	uint32_t sync_fail_cnt;
-	uint32_t tx_rate;
-
-} globalClassAStatsInfo;
-
-typedef struct {
-	uint32_t uc_rx_wep_unencrypted_frm_cnt;
-	uint32_t uc_rx_mic_fail_cnt;
-	uint32_t uc_tkip_icv_err;
-	uint32_t uc_aes_ccmp_format_err;
-	uint32_t uc_aes_ccmp_replay_cnt;
-	uint32_t uc_aes_ccmp_decrpt_err;
-	uint32_t uc_wep_undecryptable_cnt;
-	uint32_t uc_wep_icv_err;
-	uint32_t uc_rx_decrypt_succ_cnt;
-	uint32_t uc_rx_decrypt_fail_cnt;
-	uint32_t mcbc_rx_wep_unencrypted_frm_cnt;
-	uint32_t mcbc_rx_mic_fail_cnt;
-	uint32_t mcbc_tkip_icv_err;
-	uint32_t mcbc_aes_ccmp_format_err;
-	uint32_t mcbc_aes_ccmp_replay_cnt;
-	uint32_t mcbc_aes_ccmp_decrpt_err;
-	uint32_t mcbc_wep_undecryptable_cnt;
-	uint32_t mcbc_wep_icv_err;
-	uint32_t mcbc_rx_decrypt_succ_cnt;
-	uint32_t mcbc_rx_decrypt_fail_cnt;
-
-} globalClassBStatsInfo;
-
-typedef struct {
-	uint32_t rx_amsdu_cnt;
-	uint32_t rx_ampdu_cnt;
-	uint32_t tx_20_frm_cnt;
-	uint32_t rx_20_frm_cnt;
-	uint32_t rx_mpdu_in_ampdu_cnt;
-	uint32_t ampdu_delimiter_crc_err;
-
-} globalClassCStatsInfo;
-
-typedef struct {
-	uint32_t tx_uc_frm_cnt;
-	uint32_t tx_mc_frm_cnt;
-	uint32_t tx_bc_frm_cnt;
-	uint32_t rx_uc_frm_cnt;
-	uint32_t rx_mc_frm_cnt;
-	uint32_t rx_bc_frm_cnt;
-	uint32_t tx_uc_byte_cnt[4];
-	uint32_t tx_mc_byte_cnt;
-	uint32_t tx_bc_byte_cnt;
-	uint32_t rx_uc_byte_cnt[4];
-	uint32_t rx_mc_byte_cnt;
-	uint32_t rx_bc_byte_cnt;
-	uint32_t rx_byte_cnt;
-	uint32_t num_rx_bytes_crc_ok;
-	uint32_t rx_rate;
-
-} globalClassDStatsInfo;
-
-typedef struct {
-	uint32_t tx_frag_cnt[4];
-	uint32_t tx_ampdu_cnt;
-	uint32_t tx_mpdu_in_ampdu_cnt;
-} perStaStatsInfo;
-
-typedef struct {
-	log_hdr_type hdr;
-	uint8_t version;
-	uint8_t reserved[3];
-	uint32_t stat_mask;
-	summaryStatsInfo summaryStats;
-	globalClassAStatsInfo globalClassAStats;
-	globalClassBStatsInfo globalClassBStats;
-	globalClassCStatsInfo globalClassCStats;
-	globalClassDStatsInfo globalClassDStats;
-	perStaStatsInfo perStaStats;
-} host_log_statistics_pkt_type;
-
 /*---------------------------------------------------------------------------
    This packet contains the Tspec info negotiated with the AP for the
    specific AC

+ 0 - 3
core/utils/host_diag_log/inc/log_codes.h

@@ -1824,9 +1824,6 @@
 /* WLAN WPS credentials */
 #define LOG_WLAN_WPS_CREDENTIALS_C                      (0x4A0 + LOG_1X_BASE_C)
 
-/* WLAN Linklayer stat*/
-#define LOG_WLAN_LINKLAYER_STAT_C                       (0x4A1 + LOG_1X_BASE_C)
-
 /* WLAN Qos TSpec*/
 #define LOG_WLAN_QOS_TSPEC_C                            (0x4A2 + LOG_1X_BASE_C)