From 986e19bb44e7aa8a738fa4195c3ac6aaef3bfec3 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 6 Dec 2018 21:42:34 -0800 Subject: [PATCH] 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 --- core/mac/inc/sir_api.h | 64 ------------------------------------------ 1 file changed, 64 deletions(-) diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 23c971566f55..06f1f4da7f7f 100644 --- a/core/mac/inc/sir_api.h +++ b/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,