qcacmn: add drop count for OOR eapol frames

Add drop statistics for duplicate EAPOL frames received
in the REO exception ring as OOR frames. This will help
understand if EAPOL frames are getting dropped which could
cause connection issues.

Change-Id: Ib9d5a3c04ce6638c65166f02261af5c526cc47eb
CRs-Fixed: 2814633
This commit is contained in:
Manikanta Pubbisetty
2020-12-07 09:36:30 +05:30
committed by snandini
parent 13a96842f7
commit 47b6698b2d
3 changed files with 10 additions and 1 deletions

View File

@@ -495,8 +495,10 @@ dp_rx_oor_handle(struct dp_soc *soc,
* duplicated EAP response.
*/
if (mpdu_desc_info->mpdu_flags & HAL_MPDU_F_RETRY_BIT &&
peer->rx_tid[tid].ba_status == DP_RX_BA_ACTIVE)
peer->rx_tid[tid].ba_status == DP_RX_BA_ACTIVE) {
frame_mask &= ~FRAME_MASK_IPV4_EAPOL;
DP_STATS_INC(soc, rx.err.reo_err_oor_eapol_drop, 1);
}
if (dp_rx_deliver_special_frame(soc, peer, nbuf, frame_mask,
rx_tlv_hdr)) {