qcacmn: Track PN failures with relevant stats

When validating MMIE, if PN error is found, track it using relevant
statistics. Defined WMI_HOST_RXERR_PN to flag such PN errors.

Change-Id: Icb1fe9a653f67611539b5cb463adfceadedae38e
Šī revīzija ir iekļauta:
Pooventhiran G
2021-12-28 20:36:08 +05:30
revīziju iesūtīja Madan Koyyalamudi
vecāks 6cd22afb21
revīzija 886ce189d0
7 mainīti faili ar 61 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -111,6 +112,7 @@ struct cdp_mon_status {
#define IEEE80211_RX_DECRYPT_ERROR 0x04
/* holes in flags here between, ATH_RX_XXXX to IEEE80211_RX_XXX */
#define IEEE80211_RX_KEYMISS 0x200
#define IEEE80211_RX_PN_ERROR 0x400
int rs_rssi; /* RSSI (noise floor ajusted) */
int rs_abs_rssi; /* absolute RSSI */
int rs_datarate; /* data rate received */