qcacmn: Add support for VOW Reo and Rxdma error statistics
Support for Rx REO and Rxdma error statistics for version 3 Change-Id: I2a558f62d6d7b66658bb064810d0ea13528d9a28
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
92ba4703ca
commit
d06d841dc6
@@ -78,6 +78,9 @@
|
||||
#define CDP_MAX_TX_TQM_STATUS 9 /* max tx tqm completion status */
|
||||
#define CDP_MAX_TX_HTT_STATUS 7 /* max tx htt completion status */
|
||||
|
||||
#define CDP_DMA_CODE_MAX 14 /* max rxdma error */
|
||||
#define CDP_REO_CODE_MAX 15 /* max reo error */
|
||||
|
||||
/*
|
||||
* Max of TxRx context
|
||||
*/
|
||||
@@ -114,6 +117,7 @@
|
||||
*/
|
||||
#define CDP_PPDU_STATS_MAX_TAG 14
|
||||
#define CDP_MAX_DATA_TIDS 9
|
||||
#define CDP_MAX_VOW_TID 4
|
||||
|
||||
#define CDP_WDI_NUM_EVENTS WDI_NUM_EVENTS
|
||||
|
||||
@@ -640,6 +644,26 @@ struct cdp_tid_tx_stats {
|
||||
uint64_t htt_status_cnt[CDP_MAX_TX_HTT_STATUS];
|
||||
};
|
||||
|
||||
/*
|
||||
* cdp_reo_error_stats
|
||||
* @err_src_reo_code_inv: Wireless Buffer Manager source receive reorder ring reason unknown
|
||||
* @err_reo_codes: Receive reoder error codes
|
||||
*/
|
||||
struct cdp_reo_error_stats {
|
||||
uint64_t err_src_reo_code_inv;
|
||||
uint64_t err_reo_codes[CDP_REO_CODE_MAX];
|
||||
};
|
||||
|
||||
/*
|
||||
* cdp_rxdma_error_stats
|
||||
* @err_src_rxdma_code_inv: DMA reason unknown count
|
||||
* @err_reo_codes: Receive reoder error codes count
|
||||
*/
|
||||
struct cdp_rxdma_error_stats {
|
||||
uint64_t err_src_rxdma_code_inv;
|
||||
uint64_t err_dma_codes[CDP_DMA_CODE_MAX];
|
||||
};
|
||||
|
||||
/*
|
||||
* struct cdp_tid_tx_stats
|
||||
* @to_stack_delay: Time taken between ring reap to indication to network stack
|
||||
@@ -650,6 +674,8 @@ struct cdp_tid_tx_stats {
|
||||
* @mcast_msdu_cnt: Num Mcast Msdus received from HW in Rx
|
||||
* @bcast_msdu_cnt: Num Bcast Msdus received from HW in Rx
|
||||
* @fail_cnt: Rx deliver drop counters
|
||||
* @reo_err: V3 reo error statistics
|
||||
* @rxdma_err: V3 rxdma error statistics
|
||||
*/
|
||||
struct cdp_tid_rx_stats {
|
||||
struct cdp_delay_stats to_stack_delay;
|
||||
@@ -660,6 +686,8 @@ struct cdp_tid_rx_stats {
|
||||
uint64_t mcast_msdu_cnt;
|
||||
uint64_t bcast_msdu_cnt;
|
||||
uint64_t fail_cnt[RX_MAX_DROP];
|
||||
struct cdp_reo_error_stats reo_err;
|
||||
struct cdp_rxdma_error_stats rxdma_err;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user