qcacmn: Add ucfg and wmi changes for green ap low latency ps mode

Add ucfg and wmi changes to support for green ap low latency
power mode enable/disable command.

Change-Id: Ib9112e384c8354f1eff0f15610301225d51ef3ac
CRs-Fixed: 3265649
This commit is contained in:
Vijay Raj
2022-11-08 03:03:01 -08:00
committed by Madan Koyyalamudi
parent 4dfe160bf8
commit f0578f5bdb
12 changed files with 308 additions and 11 deletions

View File

@@ -358,6 +358,19 @@ static inline int wmi_process_qmi_fw_event(void *wmi_cb_ctx, void *buf, int len)
}
#endif
#ifdef WLAN_SUPPORT_GAP_LL_PS_MODE
/**
* wmi_unified_green_ap_ll_ps_send() - Send unified WMI command to
* enable/disable green ap low latency power save mode
* @wmi_handle: handle to WMI.
* @green_ap_ll_ps_params: low latency power save mode parameter
*
* Return: None
*/
QDF_STATUS wmi_unified_green_ap_ll_ps_send(wmi_unified_t wmi_handle,
struct green_ap_ll_ps_cmd_param *green_ap_ll_ps_params);
#endif
/**
* wmi_unified_cmd_send_pm_chk() - send unified WMI command with PM check,
* if target is in suspended state, WMI command will be sent over QMI.