qcacmn: Add stats to indicate drop in EAPOL frames

Add the stats to indicate the packet drop for EAPOL packets.
This will be useful for the debug of EAPOL packet drop.

CRs-Fixed: 3329895
Change-Id: I5e0abb4e574116a55de124c0012c17154c7c63da
This commit is contained in:
Sreeramya Soratkal
2022-10-20 12:16:46 +05:30
committed by Madan Koyyalamudi
parent ea42cfb863
commit 97b9620964
3 changed files with 75 additions and 0 deletions

View File

@@ -7507,6 +7507,19 @@ dp_print_pdev_tx_stats(struct dp_pdev *pdev)
pdev->stats.tx_i.mcast_en.dropped_send_fail);
DP_PRINT_STATS(" Unicast sent = %u",
pdev->stats.tx_i.mcast_en.ucast);
DP_PRINT_STATS("EAPOL Packets dropped:");
DP_PRINT_STATS(" Dropped: TX desc errors = %u",
pdev->stats.eap_drop_stats.tx_desc_err);
DP_PRINT_STATS(" Dropped: Tx HAL ring access errors = %u",
pdev->stats.eap_drop_stats.tx_hal_ring_access_err);
DP_PRINT_STATS(" Dropped: TX DMA map errors = %u",
pdev->stats.eap_drop_stats.tx_dma_map_err);
DP_PRINT_STATS(" Dropped: Tx HW enqueue errors = %u",
pdev->stats.eap_drop_stats.tx_hw_enqueue);
DP_PRINT_STATS(" Dropped: TX SW enqueue errors= %u",
pdev->stats.eap_drop_stats.tx_sw_enqueue);
DP_PRINT_STATS("IGMP Mcast Enhancement:");
DP_PRINT_STATS(" IGMP packets received = %u",
pdev->stats.tx_i.igmp_mcast_en.igmp_rcvd);