qcacmn: Record PN and OOR error per peer

Record PN error and OOR error per peer and display the
error count in fc_peer_stats.

Change-Id: I694efbcaa280659f7a62f1343e26a196067cc524
This commit is contained in:
Nandha Kishore Easwaran
2021-03-11 11:26:15 +05:30
committed by snandini
parent 4737cf81c4
commit bcc7d05422
3 changed files with 20 additions and 1 deletions

View File

@@ -1048,6 +1048,8 @@ struct cdp_tx_stats {
* @mic_err: Rx MIC errors CCMP
* @decrypt_err: Rx Decryption Errors CRC
* @fcserr: rx MIC check failed (CCMP)
* @pn_err: pn check failed
* @oor_err: Rx OOR errors
* @wme_ac_type[WME_AC_MAX]: Wireless Multimedia type Count
* @reception_type[MAX_RECEPTION_TYPES]: Reception type os packets
* @mcs_count[MAX_MCS]: mcs count
@@ -1118,6 +1120,8 @@ struct cdp_rx_stats {
uint32_t mic_err;
uint32_t decrypt_err;
uint32_t fcserr;
uint32_t pn_err;
uint32_t oor_err;
} err;
uint32_t wme_ac_type[WME_AC_MAX];