qcacld-3.0: Implement vendor command for ACS policy
qcacld-2.0 to qcacld-3.0 propagation Add support for vendor command which informs the driver about the ACS policy. QCA_NL80211_VENDOR_SUBCMD_ACS_POLICY is used to inform driver about ACS policies. QCA_WLAN_VENDOR_ATTR_ACS_DFS_MODE attribute tells if DFS channel should be enabled or disabled in ACS. QCA_WLAN_VENDOR_ATTR_ACS_CHANNEL attribute provides channel number to SAP module to skip ACS and use this channel as operating channel. Change-Id: I1ba69ed8fdf1c56a90e857054c725b830293d6bf CRs-Fixed: 997433
Esse commit está contido em:

commit de
Gerrit - the friendly Code Review server

pai
727ffac40b
commit
6563461fa7
@@ -508,6 +508,20 @@ enum vendor_ie_access_policy {
|
||||
ACCESS_POLICY_DONOT_RESPOND_IF_IE_IS_PRESENT,
|
||||
};
|
||||
|
||||
/*
|
||||
* enum sap_acs_dfs_mode- state of DFS mode
|
||||
* @ACS_DFS_MODE_NONE: DFS mode attribute is not valid
|
||||
* @ACS_DFS_MODE_ENABLE: DFS mode is enabled
|
||||
* @ACS_DFS_MODE_DISABLE: DFS mode is disabled
|
||||
* @ACS_DFS_MODE_DEPRIORITIZE: Deprioritize DFS channels in scanning
|
||||
*/
|
||||
enum sap_acs_dfs_mode {
|
||||
ACS_DFS_MODE_NONE,
|
||||
ACS_DFS_MODE_ENABLE,
|
||||
ACS_DFS_MODE_DISABLE,
|
||||
ACS_DFS_MODE_DEPRIORITIZE
|
||||
};
|
||||
|
||||
typedef struct sap_Config {
|
||||
tSap_SSIDInfo_t SSIDinfo;
|
||||
eCsrPhyMode SapHw_mode; /* Wireless Mode */
|
||||
@@ -577,6 +591,7 @@ typedef struct sap_Config {
|
||||
uint8_t ampdu_size;
|
||||
tSirMacRateSet supp_rate_set;
|
||||
tSirMacRateSet extended_rate_set;
|
||||
enum sap_acs_dfs_mode acs_dfs_mode;
|
||||
} tsap_Config_t;
|
||||
|
||||
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
|
||||
|
Referência em uma nova issue
Block a user