qcacmn: Handle announce timeout value in TWT setup command

Handle announce timeout value that is received as a part of
the TWT setup command and provides it to the firmware through
the WMI_TWT_ADD_DIALOG_CMDID. If timeout value is non-zero
then firmware waits up to timeout value to use data frame as
announcement frame. If timeout value is 0 then firmware sends
explicit QoS NULL frame as announcement frame on SP start.

Change-Id: I682d1dc4e304042e4e9b8d6c6a73dc13fbbdccab
CRs-Fixed: 3053956
此提交包含在:
Gaurav Sharma
2021-10-05 10:21:41 +05:30
提交者 Madan Koyyalamudi
父節點 5026c5a3d3
當前提交 0be0d71e91
共有 2 個檔案被更改,包括 3 行新增0 行删除

查看文件

@@ -286,6 +286,7 @@ enum WMI_HOST_TWT_COMMAND {
* @b_twt_recommendation: defines types of frames tx during bTWT SP
* @b_twt_persistence: Countdown VAL frames to param update/teardown
* @wake_time_tsf: Absolute TSF value to start first TWT service period
* @annouce_timeout_us: Timeout value before sending QoS NULL frame.
*/
struct wmi_twt_add_dialog_param {
uint32_t vdev_id;
@@ -310,6 +311,7 @@ struct wmi_twt_add_dialog_param {
b_twt_persistence:8,
b_twt_recommendation:3;
uint64_t wake_time_tsf;
uint32_t announce_timeout_us;
};
/* enum - status code of Get stats TWT dialog