qcacld-3.0: Disconnect STA/SAP if disable channel list is provided
Disconnect STA/SAP when disable channel list is provided by user which contains the current STA/SAP operating channel. Also add an ini parameter to use as featurization flag for this feature. Change-Id: Ibe6c18ee7f6ed007794853293a0bde4999611167 CRs-Fixed: 2280989
This commit is contained in:

zatwierdzone przez
nshrivas

rodzic
acf6f16e18
commit
d63d686510
@@ -1195,6 +1195,26 @@ struct dhcp_server {
|
||||
0, \
|
||||
"Enable/Disable unit test framework")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gDisableChannel - Used to disable channels specified
|
||||
*
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* Default: 0
|
||||
*
|
||||
* This ini is used to disable the channels given in the command
|
||||
* SET_DISABLE_CHANNEL_LIST and to restore the channels when the
|
||||
* command is given with channel list as 0
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_ENABLE_DISABLE_CHANNEL CFG_INI_BOOL( \
|
||||
"gDisableChannel", \
|
||||
0, \
|
||||
"Enable/Disable to disable channels specified")
|
||||
|
||||
#define CFG_HDD_ALL \
|
||||
CFG_ENABLE_PACKET_LOG_ALL \
|
||||
CFG_ENABLE_RUNTIME_PM_ALL \
|
||||
@@ -1229,5 +1249,6 @@ struct dhcp_server {
|
||||
CFG(CFG_PRIVATE_WEXT_CONTROL) \
|
||||
CFG(CFG_PROVISION_INTERFACE_POOL) \
|
||||
CFG(CFG_TIMER_MULTIPLIER) \
|
||||
CFG(CFG_HDD_DOT11_MODE)
|
||||
CFG(CFG_HDD_DOT11_MODE) \
|
||||
CFG(CFG_ENABLE_DISABLE_CHANNEL)
|
||||
#endif
|
||||
|
@@ -129,6 +129,7 @@ struct hdd_config {
|
||||
bool action_oui_enable;
|
||||
uint8_t action_oui_str[ACTION_OUI_MAXIMUM_ID][ACTION_OUI_MAX_STR_LEN];
|
||||
bool is_unit_test_framework_enabled;
|
||||
bool disable_channel;
|
||||
|
||||
/* HDD converged ini items are listed below this*/
|
||||
bool bug_on_reinit_failure;
|
||||
|
Reference in New Issue
Block a user