wifi: ath12k: cleanup Rx peer statistics structure
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Tue, 17 Dec 2024 08:45:06 +0000 (14:15 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 19 Dec 2024 17:41:05 +0000 (09:41 -0800)
Currently, unused fields are present in the Rx peer statistics
structure. These fields are already present in the same structure
under the ath12k_rx_peer_rate_stats container structure. Therefore,
remove the unused fields from the Rx peer statistics structure.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241217084511.2981515-4-quic_periyasa@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/core.h

index ec61ad3d82c3bb9237cf327976e9f68e8c8f9cc7..b789b375b891c87a4c00374ba81ea12ef0f994f9 100644 (file)
@@ -381,10 +381,6 @@ struct ath12k_rx_peer_stats {
        u64 non_ampdu_msdu_count;
        u64 stbc_count;
        u64 beamformed_count;
-       u64 mcs_count[HAL_RX_MAX_MCS + 1];
-       u64 nss_count[HAL_RX_MAX_NSS];
-       u64 bw_count[HAL_RX_BW_MAX];
-       u64 gi_count[HAL_RX_GI_MAX];
        u64 coding_count[HAL_RX_SU_MU_CODING_MAX];
        u64 tid_count[IEEE80211_NUM_TIDS + 1];
        u64 pream_cnt[HAL_RX_PREAMBLE_MAX];