|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -159,16 +159,18 @@ typedef struct sDphHashNode {
|
|
|
uint8_t staAuthenticated:1;
|
|
|
uint8_t fAniCount:1;
|
|
|
uint8_t rmfEnabled:1;
|
|
|
+ /* Number of Tim to wait if the STA doesn't respond / fetch data */
|
|
|
+ uint8_t timWaitCount;
|
|
|
/* Fragmentation size */
|
|
|
uint16_t fragSize;
|
|
|
+ /* Taurus capabilities */
|
|
|
+ uint16_t baPolicyFlag; /* BA Policy for each TID. */
|
|
|
/* LIM state */
|
|
|
tLimMlmStaContext mlmStaContext;
|
|
|
- /* Number of Tim to wait if the STA doesn't respond / fetch data */
|
|
|
- uint8_t timWaitCount;
|
|
|
- /* Number of Successful MPDU's being sent */
|
|
|
- uint32_t curTxMpduCnt;
|
|
|
/* number of consecutive TIMs sent without response */
|
|
|
uint8_t numTimSent;
|
|
|
+ /* Number of Successful MPDU's being sent */
|
|
|
+ uint32_t curTxMpduCnt;
|
|
|
/* qos parameter info */
|
|
|
tDphQosParams qos;
|
|
|
/* station version info - valid only if versionPresent is set */
|
|
@@ -177,12 +179,12 @@ typedef struct sDphHashNode {
|
|
|
uint8_t wdsIndex;
|
|
|
uint8_t wdsPeerBeaconSeen;
|
|
|
#endif
|
|
|
- /* Taurus capabilities */
|
|
|
- uint16_t baPolicyFlag; /* BA Policy for each TID. */
|
|
|
/*
|
|
|
* All the legacy and airgo supported rates.
|
|
|
*/
|
|
|
tSirSupportedRates supportedRates;
|
|
|
+ /* MIMO Power Save */
|
|
|
+ tSirMacHTMIMOPowerSaveState htMIMOPSState;
|
|
|
uint8_t htGreenfield:1;
|
|
|
uint8_t htShortGI40Mhz:1;
|
|
|
uint8_t htShortGI20Mhz:1;
|
|
@@ -205,8 +207,6 @@ typedef struct sDphHashNode {
|
|
|
/* Set to 0 for 3839 octets */
|
|
|
/* Set to 1 for 7935 octets */
|
|
|
uint8_t htMaxAmsduLength;
|
|
|
- /* MIMO Power Save */
|
|
|
- tSirMacHTMIMOPowerSaveState htMIMOPSState;
|
|
|
/* */
|
|
|
/* Maximum Rx A-MPDU factor */
|
|
|
uint8_t htMaxRxAMpduFactor:3;
|
|
@@ -221,12 +221,12 @@ typedef struct sDphHashNode {
|
|
|
/* DPH HASH ENTRY FIELDS NEEDED IN HAL ONLY */
|
|
|
uint8_t dpuSig:4; /* DPU signiture */
|
|
|
uint8_t staSig:4; /* STA signature */
|
|
|
- uint8_t staType;
|
|
|
uint16_t bssId; /* BSSID */
|
|
|
uint16_t assocId; /* Association ID */
|
|
|
/* This is the real sta index generated by HAL */
|
|
|
uint16_t staIndex;
|
|
|
uint8_t staAddr[6];
|
|
|
+ uint8_t staType;
|
|
|
/*
|
|
|
* The DPU signatures will be sent eventually to TL to help
|
|
|
* it determine the association to which a packet belongs to
|
|
@@ -241,14 +241,14 @@ typedef struct sDphHashNode {
|
|
|
uint8_t vhtBeamFormerCapable;
|
|
|
uint8_t vht_su_bfee_capable;
|
|
|
#ifdef WLAN_FEATURE_11W
|
|
|
- uint8_t pmfSaQueryState;
|
|
|
- uint8_t pmfSaQueryRetryCount;
|
|
|
+ unsigned long last_unprot_deauth_disassoc;
|
|
|
+ unsigned long last_assoc_received_time;
|
|
|
+ TX_TIMER pmfSaQueryTimer;
|
|
|
uint16_t pmfSaQueryCurrentTransId;
|
|
|
uint16_t pmfSaQueryStartTransId;
|
|
|
- TX_TIMER pmfSaQueryTimer;
|
|
|
- unsigned long last_unprot_deauth_disassoc;
|
|
|
+ uint8_t pmfSaQueryState;
|
|
|
+ uint8_t pmfSaQueryRetryCount;
|
|
|
uint8_t proct_deauh_disassoc_cnt;
|
|
|
- unsigned long last_assoc_received_time;
|
|
|
#endif
|
|
|
uint8_t htLdpcCapable;
|
|
|
uint8_t vhtLdpcCapable;
|
|
@@ -264,9 +264,9 @@ typedef struct sDphHashNode {
|
|
|
uint8_t nss;
|
|
|
int8_t del_sta_ctx_rssi;
|
|
|
bool sta_deletion_in_progress;
|
|
|
- struct parsed_ies parsed_ies;
|
|
|
/* Flag indicating connected STA doesn't support ECSA */
|
|
|
uint8_t non_ecsa_capable;
|
|
|
+ struct parsed_ies parsed_ies;
|
|
|
|
|
|
#ifdef WLAN_FEATURE_11AX
|
|
|
tDot11fIEhe_cap he_config;
|