Browse Source

Merge "qcacld-3.0: Remove legacy STA stats infrastructure" into wlan-cld3.driver.lnx.2.0

CNSS_WLAN Service 6 years ago
parent
commit
876b071d76
2 changed files with 0 additions and 111 deletions
  1. 0 103
      core/mac/inc/sir_api.h
  2. 0 8
      core/mac/inc/wni_api.h

+ 0 - 103
core/mac/inc/sir_api.h

@@ -1615,109 +1615,6 @@ typedef struct sSirSmeSetContextRsp {
 	struct qdf_mac_addr peer_macaddr;
 } tSirSmeSetContextRsp, *tpSirSmeSetContextRsp;
 
-/* / Statistic definitions */
-/* ============================================================= */
-/* Per STA statistic structure; This same struct will be used for Aggregate */
-/* STA stats as well. */
-
-/* Clear radio stats and clear per sta stats */
-typedef enum {
-	eANI_CLEAR_ALL_STATS,   /* Clears all stats */
-	eANI_CLEAR_RX_STATS,    /* Clears RX stats of the radio interface */
-	eANI_CLEAR_TX_STATS,    /* Clears TX stats of the radio interface */
-	eANI_CLEAR_RADIO_STATS, /* Clears all the radio stats */
-	eANI_CLEAR_PER_STA_STATS,       /* Clears Per STA stats */
-	eANI_CLEAR_AGGR_PER_STA_STATS,  /* Clears aggregate stats */
-
-	/* Used to distinguish between per sta to security stats. */
-	/* Used only by AP, FW just returns the same param as it received. */
-	eANI_LINK_STATS,        /* Get Per STA stats */
-	eANI_SECURITY_STATS,    /* Get Per STA security stats */
-
-	eANI_CLEAR_STAT_TYPES_END
-} tAniStatSubTypes;
-
-typedef struct sAniTxCtrs {
-	/* add the rate counters here */
-	uint32_t tx1Mbps;
-	uint32_t tx2Mbps;
-	uint32_t tx5_5Mbps;
-	uint32_t tx6Mbps;
-	uint32_t tx9Mbps;
-	uint32_t tx11Mbps;
-	uint32_t tx12Mbps;
-	uint32_t tx18Mbps;
-	uint32_t tx24Mbps;
-	uint32_t tx36Mbps;
-	uint32_t tx48Mbps;
-	uint32_t tx54Mbps;
-	uint32_t tx72Mbps;
-	uint32_t tx96Mbps;
-	uint32_t tx108Mbps;
-
-	/* tx path radio counts */
-	uint32_t txFragHi;
-	uint32_t txFragLo;
-	uint32_t txFrameHi;
-	uint32_t txFrameLo;
-	uint32_t txMulticastFrameHi;
-	uint32_t txMulticastFrameLo;
-	uint32_t txFailedHi;
-	uint32_t txFailedLo;
-	uint32_t multipleRetryHi;
-	uint32_t multipleRetryLo;
-	uint32_t singleRetryHi;
-	uint32_t singleRetryLo;
-	uint32_t ackFailureHi;
-	uint32_t ackFailureLo;
-	uint32_t xmitBeacons;
-} tAniTxCtrs, *tpAniTxCtrs;
-
-typedef struct sAniRxCtrs {
-	/* receive frame rate counters */
-	uint32_t rx1Mbps;
-	uint32_t rx2Mbps;
-	uint32_t rx5_5Mbps;
-	uint32_t rx6Mbps;
-	uint32_t rx9Mbps;
-	uint32_t rx11Mbps;
-	uint32_t rx12Mbps;
-	uint32_t rx18Mbps;
-	uint32_t rx24Mbps;
-	uint32_t rx36Mbps;
-	uint32_t rx48Mbps;
-	uint32_t rx54Mbps;
-	uint32_t rx72Mbps;
-	uint32_t rx96Mbps;
-	uint32_t rx108Mbps;
-
-	/* receive size counters; 'Lte' = Less than or equal to */
-	uint32_t rxLte64;
-	uint32_t rxLte128Gt64;
-	uint32_t rxLte256Gt128;
-	uint32_t rxLte512Gt256;
-	uint32_t rxLte1kGt512;
-	uint32_t rxLte1518Gt1k;
-	uint32_t rxLte2kGt1518;
-	uint32_t rxLte4kGt2k;
-
-	/* rx radio stats */
-	uint32_t rxFrag;
-	uint32_t rxFrame;
-	uint32_t fcsError;
-	uint32_t rxMulticast;
-	uint32_t duplicate;
-	uint32_t rtsSuccess;
-	uint32_t rtsFailed;
-	uint32_t wepUndecryptables;
-	uint32_t drops;
-	uint32_t aesFormatErrorUcastCnts;
-	uint32_t aesReplaysUcast;
-	uint32_t aesDecryptErrUcast;
-} tAniRxCtrs, *tpAniRxCtrs;
-
-/* *************************************************************** */
-
 /*******************PE Statistics*************************/
 
 /*

+ 0 - 8
core/mac/inc/wni_api.h

@@ -342,14 +342,6 @@ enum eWniMsgTypes {
 
 #define IS_CFG_MSG(msg) ((msg & 0xff00) == WNI_CFG_MSG_TYPES_BEGIN)
 
-/* Clear stats types. */
-#define ANI_CLEAR_ALL_STATS          0
-#define ANI_CLEAR_RX_STATS           1
-#define ANI_CLEAR_TX_STATS           2
-#define ANI_CLEAR_PER_STA_STATS      3
-#define ANI_CLEAR_AGGR_PER_STA_STATS 4
-#define ANI_CLEAR_STAT_TYPES_END     5
-
 /*---------------------------------------------------------------------*/
 /* HDD to CFG message types                                            */
 /*---------------------------------------------------------------------*/