qcacld-3.0: Relocate HDD ini items (1)

Relocate below HDD ini items as per converged infrastructure.
1. CFG_ENABLE_RUNTIME_PM
2. CFG_STA_KEEPALIVE_METHOD_NAME
3. CFG_ENABLE_MCC_ENABLED_NAME
4. CFG_ENABLE_SAP_SUSPEND
5. CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_NAME
6. CFG_INFORM_BSS_RSSI_RAW_NAME
7. CFG_AP_ENABLE_RANDOM_BSSID_NAME
8. CFG_VC_MODE_BITMAP

Change-Id: I881c87f9ca73804d03af358163c9a043b3193c81
CRs-Fixed: 2357174
This commit is contained in:
Sourav Mohapatra
2018-11-16 11:29:54 +05:30
committed by nshrivas
parent 6463ab4cf0
commit 0dfe5550e0
19 changed files with 423 additions and 267 deletions

View File

@@ -346,7 +346,29 @@
CFG_VALUE_OR_DEFAULT, \
"Auto detect power save failure mode")
/*
* <ini>
* gEnableSapSuspend - Enable/disable SAP Suspend
* @Min: 0
* @Max: 1
* @Default: 0
*
*
* Related: None
*
* Supported Feature: SAP
*
* Usage: External
*
* </ini>
*/
#define CFG_ENABLE_SAP_SUSPEND CFG_INI_BOOL( \
"gEnableSapSuspend", \
1, \
"Enable/disable SAP Suspend")
#define CFG_PMO_COMMON_ALL \
CFG(CFG_ENABLE_SAP_SUSPEND) \
CFG(CFG_PMO_ENABLE_HOST_ARPOFFLOAD) \
CFG(CFG_PMO_HW_FILTER_MODE) \
CFG(CFG_PMO_ENABLE_HOST_SSDP) \

View File

@@ -392,6 +392,8 @@ struct pmo_psoc_cfg {
#ifdef WLAN_FEATURE_PACKET_FILTERING
uint8_t packet_filters_bitmap;
#endif
bool enable_sap_suspend;
};
/**

View File

@@ -1780,4 +1780,14 @@ ucfg_pmo_get_runtime_pm_delay(struct wlan_objmgr_psoc *psoc)
return 0;
}
#endif /* FEATURE_RUNTIME_PM */
/**
* ucfg_pmo_get_enable_sap_suspend - Return enable_sap_suspend value to caller
* @psoc: Pointer to psoc object
*
* Return: The value of enable_sap_suspend as stored in CFG
*/
bool
ucfg_pmo_get_enable_sap_suspend(struct wlan_objmgr_psoc *psoc);
#endif /* end of _WLAN_PMO_UCFG_API_H_ */