qcacmn: Add peer_unauth_rx_drop stat in cdp_pdev_stats

Add the stat to count the numer of packets dropped
when peer is unauthorized.

Change-Id: I7d73f55541b0be4b172893221bb2c7ac8cf7b72e
This commit is contained in:
Shikha Bakshi
2021-02-05 12:52:26 +05:30
committed by Gerrit - the friendly Code Review server
parent ce5d191d80
commit c54818eb36

View File

@@ -1939,6 +1939,7 @@ struct cdp_cfr_rcc_stats {
* @ack_ba_comes_twice: stats counter for ack_ba_comes twice
* @ppdu_drop: stats counter for ppdu_desc drop once threshold reached
* @ppdu_wrap_drop: stats counter for ppdu desc drop on wrap around
* @peer_unauth_rx_pkt_drop: stats counter for drops due to unauthorized peer
*/
struct cdp_pdev_stats {
struct {
@@ -2018,6 +2019,8 @@ struct cdp_pdev_stats {
uint64_t num_bufs_refilled;
uint64_t num_bufs_allocated;
} rx_refill_buff_pool;
uint32_t peer_unauth_rx_pkt_drop;
};
/* struct cdp_peer_hmwds_ast_add_status - hmwds peer ast add status