qcacld-3.0: Add ucfg api to get/set ps data inactivity timeout

Add and use ucfg api to get/set ps data inactivity timeout value.

Change-Id: I8b0931870507aac146a18b70103c323bea1ca6f3
CRs-Fixed: 2335980
This commit is contained in:
Arif Hussain
2018-11-15 05:54:45 -08:00
committed by nshrivas
parent 23ed2e89e2
commit b3eb41d74c
2 changed files with 65 additions and 0 deletions

View File

@@ -772,6 +772,29 @@ ucfg_mlme_set_roaming_offload(struct wlan_objmgr_psoc *psoc,
QDF_STATUS
ucfg_mlme_get_first_scan_bucket_threshold(struct wlan_objmgr_psoc *psoc,
uint8_t *val);
/**
* ucfg_mlme_get_ps_data_inactivity_timeout() - Get data inactivity timeout
* @psoc: pointer to psoc object
* @inactivity_timeout: buffer to hold value
*
* Return: QDF Status
*/
QDF_STATUS
ucfg_mlme_get_ps_data_inactivity_timeout(struct wlan_objmgr_psoc *psoc,
uint32_t *inactivity_timeout);
/**
* ucfg_mlme_set_ps_data_inactivity_timeout() - Set data inactivity timeout
* @psoc: pointer to psoc object
* @inactivity_timeout: value to be set
*
* Return: QDF Status
*/
QDF_STATUS
ucfg_mlme_set_ps_data_inactivity_timeout(struct wlan_objmgr_psoc *psoc,
uint32_t inactivity_timeout);
/**
* ucfg_mlme_set_sap_listen_interval() - Set the Sap listen interval
* @psoc: pointer to psoc object