浏览代码

qcacld-3.0: Remove typedef tAniStaStatStruct

Previous change Id38087da738a2ee8bb16d4dff297420231476986
("qcacld-3.0: Remove tSirSmeDisassoc* perStaStats field") removed the
only references to typedef tAniStaStatStruct, so remove it as well.

Change-Id: I57c06c4506bfbd57dd283c03c4bd78c34727672b
CRs-Fixed: 2363219
Jeff Johnson 6 年之前
父节点
当前提交
986e19bb44
共有 1 个文件被更改,包括 0 次插入64 次删除
  1. 0 64
      core/mac/inc/sir_api.h

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

@@ -1382,70 +1382,6 @@ typedef struct sAniSecStats {
 #endif
 } tAniSecStats, *tpAniSecStats;
 
-#define SIR_MAX_RX_CHAINS 3
-
-typedef struct sAniStaStatStruct {
-	/* following statistic elements till expandPktRxCntLo are not filled
-	 * with valid data. These are kept as it is, since WSM is using this
-	 * structure. These elements can be removed whenever WSM is updated.
-	 * Phystats is used to hold phystats from BD.
-	 */
-	uint32_t sentAesBlksUcastHi;
-	uint32_t sentAesBlksUcastLo;
-	uint32_t recvAesBlksUcastHi;
-	uint32_t recvAesBlksUcastLo;
-	uint32_t aesFormatErrorUcastCnts;
-	uint32_t aesReplaysUcast;
-	uint32_t aesDecryptErrUcast;
-	uint32_t singleRetryPkts;
-	uint32_t failedTxPkts;
-	uint32_t ackTimeouts;
-	uint32_t multiRetryPkts;
-	uint32_t fragTxCntsHi;
-	uint32_t fragTxCntsLo;
-	uint32_t transmittedPktsHi;
-	uint32_t transmittedPktsLo;
-	uint32_t phyStatHi;     /* These are used to fill in the phystats. */
-	uint32_t phyStatLo;     /* This is only for private use. */
-
-	uint32_t uplinkRssi;
-	uint32_t uplinkSinr;
-	uint32_t uplinkRate;
-	uint32_t downlinkRssi;
-	uint32_t downlinkSinr;
-	uint32_t downlinkRate;
-	uint32_t nRcvBytes;
-	uint32_t nXmitBytes;
-
-	/*
-	 * Following elements are valid and filled in correctly. They have
-	 * valid values.
-	 */
-
-	/* Unicast frames and bytes. */
-	tAniTxRxStats ucStats;
-
-	/* Broadcast frames and bytes. */
-	tAniTxRxStats bcStats;
-
-	/* Multicast frames and bytes. */
-	tAniTxRxStats mcStats;
-
-	uint32_t currentTxRate;
-	uint32_t currentRxRate; /* Rate in 100Kbps */
-
-	uint32_t maxTxRate;
-	uint32_t maxRxRate;
-
-	int8_t rssi[SIR_MAX_RX_CHAINS];
-
-	tAniSecStats securityStats;
-
-	uint8_t currentRxRateIdx;       /* This the softmac rate Index. */
-	uint8_t currentTxRateIdx;
-
-} tAniStaStatStruct, *tpAniStaStatStruct;
-
 typedef enum sPacketType {
 	ePACKET_TYPE_UNKNOWN,
 	ePACKET_TYPE_11A,