|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2013-2014 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2013-2014, 2017 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -63,42 +63,8 @@
|
|
|
struct schMisc {
|
|
|
uint16_t gSchBeaconInterval;
|
|
|
|
|
|
- /* / Current CFP count */
|
|
|
- uint8_t gSchCFPCount;
|
|
|
-
|
|
|
- /* / CFP Duration remaining */
|
|
|
- uint8_t gSchCFPDurRemaining;
|
|
|
-
|
|
|
- /* / CFP Maximum Duration */
|
|
|
- uint8_t gSchCFPMaxDuration;
|
|
|
-
|
|
|
- /* / Current DTIM count */
|
|
|
- uint8_t gSchDTIMCount;
|
|
|
-
|
|
|
- /* / Whether we have initiated a CFP or not */
|
|
|
- uint8_t gSchCFPInitiated;
|
|
|
-
|
|
|
- /* / Whether we have initiated a CFB or not */
|
|
|
- uint8_t gSchCFBInitiated;
|
|
|
-
|
|
|
- /* / CFP is enabled and AP is configured as HCF */
|
|
|
- uint8_t gSchCFPEnabled;
|
|
|
-
|
|
|
- /* / CFB is enabled and AP is configured as HCF */
|
|
|
- uint8_t gSchCFBEnabled;
|
|
|
-
|
|
|
/* --------- STA ONLY state ----------- */
|
|
|
|
|
|
- /* / Indicates whether RR timer is running or not */
|
|
|
- uint8_t rrTimer[8];
|
|
|
-
|
|
|
- /* / Indicates the remaining RR timeout value if the RR timer is running */
|
|
|
- uint16_t rrTimeout[8];
|
|
|
-
|
|
|
- /* / Number of RRs transmitted */
|
|
|
- uint16_t numRR[8];
|
|
|
- uint16_t numRRtimeouts[8];
|
|
|
-
|
|
|
/* / flag to indicate that beacon template has been updated */
|
|
|
uint8_t fBeaconChanged;
|
|
|
|
|
@@ -108,69 +74,10 @@ struct schMisc {
|
|
|
|
|
|
/* ****************** MISC defs ********************************* */
|
|
|
|
|
|
-typedef struct schStaWaitList {
|
|
|
- uint16_t staId;
|
|
|
- uint16_t count;
|
|
|
-} tStaWaitList, *tpStaWaitList;
|
|
|
-
|
|
|
/* / Global SCH structure */
|
|
|
typedef struct sAniSirSch {
|
|
|
/* / The scheduler object */
|
|
|
struct schMisc schObject;
|
|
|
-
|
|
|
- /* schQoSClass unsolicited; */
|
|
|
-
|
|
|
- /* / Whether HCF is enabled or not */
|
|
|
- uint8_t gSchHcfEnabled;
|
|
|
-
|
|
|
- /* / Whether scan is requested by LIM or not */
|
|
|
- uint8_t gSchScanRequested;
|
|
|
-
|
|
|
- /* / Whether scan request is received by SCH or not */
|
|
|
- uint8_t gSchScanReqRcvd;
|
|
|
-
|
|
|
- /* / Debug flag to disable beacon generation */
|
|
|
- uint32_t gSchGenBeacon;
|
|
|
-
|
|
|
-#define SCH_MAX_ARR 100
|
|
|
- uint32_t gSchBeaconsWritten;
|
|
|
- uint32_t gSchBeaconsSent;
|
|
|
- uint32_t gSchBBXportRcvCnt;
|
|
|
- uint32_t gSchRRRcvCnt, qosNullCnt;
|
|
|
- uint32_t gSchBcnRcvCnt;
|
|
|
- uint32_t gSchUnknownRcvCnt;
|
|
|
-
|
|
|
- uint32_t gSchBcnParseErrorCnt;
|
|
|
- uint32_t gSchBcnIgnored;
|
|
|
-
|
|
|
- uint32_t numPoll, numData, numCorrupt;
|
|
|
- uint32_t numBogusInt, numTxAct0;
|
|
|
-
|
|
|
-#define SCH_MAX_NUM_SCH 21
|
|
|
- uint32_t lastBeaconLength;
|
|
|
- uint16_t rrTimeout;
|
|
|
- uint32_t pollPeriod;
|
|
|
- uint32_t multipleSched;
|
|
|
- uint32_t pollFeedbackHist[8];
|
|
|
- uint32_t dataFeedbackHist[8];
|
|
|
- uint32_t maxPollTimeouts;
|
|
|
- uint32_t checkCfbFlagStuck;
|
|
|
-
|
|
|
- /* / Sta Wait list */
|
|
|
- tpStaWaitList pStaWaitList;
|
|
|
-
|
|
|
- /* / Pointer to next available entry in sta wait list */
|
|
|
- uint16_t staWaitListIn;
|
|
|
- /* / Pointer to first waiting sta in sta wait list */
|
|
|
- uint16_t staWaitListOut;
|
|
|
- /* / Total number of waiting STAs in sta wait list */
|
|
|
- uint16_t staWaitListCount;
|
|
|
- /* / Total number of schedules to be waited */
|
|
|
- uint16_t staWaitListTotalWait;
|
|
|
-
|
|
|
- /* / Number of entries in DPH activity queue that were ignored */
|
|
|
- uint32_t ignoreDph;
|
|
|
-
|
|
|
} tAniSirSch, *tpAniSirSch;
|
|
|
|
|
|
#endif
|