qcacld-3.0: Send idle roam trigger monitor command to firmware

Send idle roam trigger monitor command to firmware based on
the SET SUSPEND mode command received from the user space.
The set suspend mode value sent will be used by firmware as
one of the parameters in determining if the device is in
idle state. When set suspend mode is 1, device is not in
idle state else the device is considered idle if idle state
data packet count, idle rssi, inactivity time criteria are met.

Add changes to send the suspend mode value over the wmi
command WMI_IDLE_TRIGGER_MONITOR_CMDID.

Change-Id: Ia4531fdab140334dbb830e0d7486db07bbdfc7e8
CRs-Fixed: 2436221
This commit is contained in:
Pragaspathi Thilagaraj
2019-04-16 02:47:50 +05:30
committed by nshrivas
parent 0332a6ca4a
commit aa8320e1c6
9 changed files with 117 additions and 2 deletions

View File

@@ -469,6 +469,17 @@ QDF_STATUS target_if_pmo_psoc_send_d0wow_enable_req(
QDF_STATUS target_if_pmo_psoc_send_d0wow_disable_req(
struct wlan_objmgr_psoc *psoc);
/**
* target_if_pmo_psoc_send_idle_monitor_cmd() - send screen status to firmware
* @psoc: objmgr psoc
* @val: Idle monitor value
*
* Return: QDF_STATUS_SUCCESS on success else error code
*/
QDF_STATUS
target_if_pmo_psoc_send_idle_monitor_cmd(struct wlan_objmgr_psoc *psoc,
uint8_t val);
/**
* target_if_pmo_register_tx_ops() - Register PMO component TX OPS
* @tx_ops: PMO if transmit ops