qcacld-3.0: Define data structures for new AP requirements

qcacld-2.0 to qcacld-3.0 propagation

Defining data structures for below new requirements.
        - beacon_tx_rate
        - vendor_ie
        - vendor_ie_len
        - vendor_ie_assoc_policy
        - sta_inactivity_timeout
        - tx_pkt_fail_cnt_threshold
        - short_retry_limit
        - long_retry_limit
        - ampdu_size
        - supp_rate_set
        - extended_rate_set

Change-Id: I9d05cd7b8e051c4e9e4912cf866206ae32ec293d
CRs-Fixed: 1020078
(cherry picked from commit 8f57eee853baff54397c68c8cd71aeb50610a56a)
This commit is contained in:
Kondabattini, Ganesh
2016-09-02 14:43:59 +05:30
committed by qcabuildsw
parent 13bb4b1db8
commit b72e25cb7f
9 changed files with 38 additions and 0 deletions

View File

@@ -496,6 +496,20 @@ struct sap_acs_cfg {
uint8_t vht_seg1_center_ch;
};
/*
* enum vendor_ie_access_policy- access policy
* @ACCESS_POLICY_NONE: access policy attribute is not valid
* @ACCESS_POLICY_RESPOND_IF_IE_IS_PRESENT: respond to probe req/assoc req
* only if ie is present
* @ACCESS_POLICY_DONOT_RESPOND_IF_IE_IS_PRESENT: do not respond to probe req/
* assoc req if ie is present
*/
enum vendor_ie_access_policy {
ACCESS_POLICY_NONE,
ACCESS_POLICY_RESPOND_IF_IE_IS_PRESENT,
ACCESS_POLICY_DONOT_RESPOND_IF_IE_IS_PRESENT,
};
typedef struct sap_Config {
tSap_SSIDInfo_t SSIDinfo;
eCsrPhyMode SapHw_mode; /* Wireless Mode */
@@ -555,6 +569,16 @@ typedef struct sap_Config {
/* buffer for addn ies comes from hostapd */
void *pProbeRespBcnIEsBuffer;
uint8_t sap_dot11mc; /* Specify if 11MC is enabled or disabled*/
uint8_t beacon_tx_rate;
uint8_t *vendor_ie;
enum vendor_ie_access_policy vendor_ie_access_policy;
uint16_t sta_inactivity_timeout;
uint16_t tx_pkt_fail_cnt_threshold;
uint8_t short_retry_limit;
uint8_t long_retry_limit;
uint8_t ampdu_size;
tSirMacRateSet supp_rate_set;
tSirMacRateSet extended_rate_set;
} tsap_Config_t;
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE

View File

@@ -267,6 +267,9 @@ typedef struct sSapContext {
bool is_pre_cac_on;
bool pre_cac_complete;
uint8_t chan_before_pre_cac;
uint8_t beacon_tx_rate;
tSirMacRateSet supp_rate_set;
tSirMacRateSet extended_rate_set;
} *ptSapContext;
/*----------------------------------------------------------------------------