qcacmn: Update PPDU drop counter

Update PPDU drop counter from monitor ring

CRs-Fixed: 3341905
Change-Id: I63f5b4d6a3e1e0155cf0558bea18704df073e2a9
This commit is contained in:
Amir Patel
2022-11-21 12:23:32 +05:30
committed by Madan Koyyalamudi
parent 2a525d7545
commit af0472aa08
4 changed files with 91 additions and 1 deletions

View File

@@ -80,6 +80,7 @@
#define HAL_TLV_STATUS_MSDU_END 8
#define HAL_TLV_STATUS_MON_BUF_ADDR 9
#define HAL_TLV_STATUS_MPDU_START 10
#define HAL_TLV_STATUS_MON_DROP 11
#define HAL_MAX_UL_MU_USERS 37
@@ -342,6 +343,20 @@ enum {
DP_PPDU_STATUS_DONE,
};
/**
* struct hal_rx_ppdu_drop_cnt - PPDU drop count
* @ppdu_drop_cnt: PPDU drop count
* @mpdu_drop_cnt: MPDU drop count
* @end_of_ppdu_drop_cnt: End of PPDU drop count
* @tlv_drop_cnt: TLV drop count
*/
struct hal_rx_ppdu_drop_cnt {
uint8_t ppdu_drop_cnt;
uint16_t mpdu_drop_cnt;
uint8_t end_of_ppdu_drop_cnt;
uint16_t tlv_drop_cnt;
};
static inline QDF_STATUS
hal_rx_reo_ent_get_src_link_id(hal_soc_handle_t hal_soc_hdl,
hal_rxdma_desc_t rx_desc,
@@ -1303,6 +1318,8 @@ struct hal_rx_ppdu_info {
uint8_t end_user_stats_cnt;
/* PPDU start user info count */
uint8_t start_user_info_cnt;
/* PPDU drop cnt */
struct hal_rx_ppdu_drop_cnt drop_cnt;
};
static inline uint32_t