mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
6463ab4cf0
commit
0dfe5550e0
19 changed files with 423 additions and 267 deletions
|
|
@ -175,6 +175,7 @@ static void wlan_pmo_init_cfg(struct wlan_objmgr_psoc *psoc,
|
|||
wlan_pmo_runtime_pm_init_cfg(psoc, psoc_cfg);
|
||||
psoc_cfg->auto_power_save_fail_mode =
|
||||
cfg_get(psoc, CFG_PMO_PWR_FAILURE);
|
||||
psoc_cfg->enable_sap_suspend = cfg_get(psoc, CFG_ENABLE_SAP_SUSPEND);
|
||||
}
|
||||
|
||||
QDF_STATUS pmo_psoc_open(struct wlan_objmgr_psoc *psoc)
|
||||
|
|
|
|||
|
|
@ -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) \
|
||||
|
|
|
|||
|
|
@ -392,6 +392,8 @@ struct pmo_psoc_cfg {
|
|||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
uint8_t packet_filters_bitmap;
|
||||
#endif
|
||||
bool enable_sap_suspend;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
|
|||
|
|
@ -782,3 +782,11 @@ ucfg_pmo_extwow_app2_tcp_rx_timeout(struct wlan_objmgr_psoc *psoc)
|
|||
return pmo_psoc_ctx->psoc_cfg.extwow_app2_tcp_rx_timeout;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool
|
||||
ucfg_pmo_get_enable_sap_suspend(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
|
||||
|
||||
return pmo_psoc_ctx->psoc_cfg.enable_sap_suspend;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue