qcacmn: Add WMI support to force power save active MLO links

Add WMI command support to force power save on all the
active MLO links for a defined number of beacon periods.
Force power save allows the firmware to suspend STA links
for X beacon periods and remain asleep even if the AP
advertises TIM as opposed to regular power save mode where
STA links wake up if the AP indicates that it has buffered
data to send.

Change-Id: I381a107f3f5f479b0eee4f526a49d6fc886aced0
CRs-Fixed: 3509543
This commit is contained in:
Gururaj Pandurangi
2023-03-28 19:45:45 -07:00
committed by Rahul Choudhary
parent 2d67497cfb
commit 61a91c820d
4 changed files with 78 additions and 0 deletions

View File

@@ -76,6 +76,16 @@ QDF_STATUS wmi_send_mlo_link_removal_cmd(
wmi_unified_t wmi,
const struct mlo_link_removal_cmd_params *param);
/**
* wmi_send_mlo_vdev_pause() - Send WMI command for MLO vdev pause
* @wmi: wmi handle
* @info: MLO vdev pause information
*
* Return: QDF_STATUS_SUCCESS of operation
*/
QDF_STATUS wmi_send_mlo_vdev_pause(wmi_unified_t wmi,
struct mlo_vdev_pause *info);
/**
* wmi_extract_mlo_link_removal_evt_fixed_param() - Extract fixed parameters TLV
* from the MLO link removal WMI event