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
Šī revīzija ir iekļauta:
Gururaj Pandurangi
2023-03-28 19:45:45 -07:00
revīziju iesūtīja Rahul Choudhary
vecāks 2d67497cfb
revīzija 61a91c820d
4 mainīti faili ar 78 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -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

Parādīt failu

@@ -3099,6 +3099,10 @@ QDF_STATUS
(*send_mlo_link_set_active_cmd)(wmi_unified_t wmi_handle,
struct mlo_link_set_active_param *param);
QDF_STATUS
(*send_mlo_vdev_pause)(wmi_unified_t wmi_handle,
struct mlo_vdev_pause *info);
QDF_STATUS
(*extract_mlo_link_set_active_resp)(wmi_unified_t wmi_handle,
void *evt_buf,