diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 6383ebf239c6..50dc13fd33d7 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -1372,16 +1372,6 @@ typedef enum { #define HDD_MULTICAST_FILTER_LIST 0x04 #define HDD_MULTICAST_FILTER_LIST_CLEAR 0x05 -/*BMPS Logic - * Notes: - * 1 - Then Host driver and above layers control the PS mechanism - * 0 - Diver/Core Stack internally control the Power saving mechanism - */ -#define CFG_ANDRIOD_POWER_SAVE_NAME "isAndroidPsEn" -#define CFG_ANDRIOD_POWER_SAVE_MIN (0) -#define CFG_ANDRIOD_POWER_SAVE_MAX (1) -#define CFG_ANDRIOD_POWER_SAVE_DEFAULT (0) - /* * Enable Dynamic DTIM * Options @@ -3846,7 +3836,6 @@ struct hdd_config { bool enableTxLdpc; uint8_t disableLDPCWithTxbfAP; uint8_t enableMCCAdaptiveScheduler; - bool isAndroidPsEn; bool sapAllowAllChannel; uint8_t retryLimitZero; uint8_t retryLimitOne; diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index 9ea80a5fb47e..3ce6dad2fe45 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/core/hdd/src/wlan_hdd_cfg.c @@ -2398,13 +2398,6 @@ REG_TABLE_ENTRY g_registry_table[] = { CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MIN, CFG_ENABLE_MCC_ADATIVE_SCHEDULER_ENABLED_MAX), - REG_VARIABLE(CFG_ANDRIOD_POWER_SAVE_NAME, WLAN_PARAM_Integer, - struct hdd_config, isAndroidPsEn, - VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT, - CFG_ANDRIOD_POWER_SAVE_DEFAULT, - CFG_ANDRIOD_POWER_SAVE_MIN, - CFG_ANDRIOD_POWER_SAVE_MAX), - REG_VARIABLE(CFG_IBSS_ADHOC_CHANNEL_5GHZ_NAME, WLAN_PARAM_Integer, struct hdd_config, AdHocChannel5G, VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,