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,