qcacmn: Add r-twt related changes
Add changes to read R-TWT svc bit from FW and update capabilities on host accordingly. Update add twt session command to include new params required for R-TWT. Change-Id: I91cea65ef737b6fa445cb3680dac15e0f1063446 CRs-Fixed: 3399205
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
f518df0727
當前提交
7260b2db76
@@ -90,6 +90,7 @@ enum WMI_TWT_OPERATION {
|
||||
* @b_twt_enable: Enable or disable broadcast TWT.
|
||||
* @b_twt_legacy_mbss_enable: Enable or disable legacy MBSSID TWT.
|
||||
* @b_twt_ax_mbss_enable: Enable or disable 11AX MBSSID TWT.
|
||||
* @r_twt_enable: Enable or disable restricted TWT.
|
||||
*/
|
||||
struct wmi_twt_enable_param {
|
||||
uint32_t pdev_id;
|
||||
@@ -115,6 +116,7 @@ struct wmi_twt_enable_param {
|
||||
uint32_t b_twt_enable:1,
|
||||
b_twt_legacy_mbss_enable:1,
|
||||
b_twt_ax_mbss_enable:1;
|
||||
bool r_twt_enable;
|
||||
};
|
||||
|
||||
/* status code of enabling TWT
|
||||
@@ -291,6 +293,10 @@ enum WMI_HOST_TWT_COMMAND {
|
||||
* @b_twt_persistence: Countdown VAL frames to param update/teardown
|
||||
* @wake_time_tsf: Absolute TSF value to start first TWT service period
|
||||
* @announce_timeout_us: Timeout value before sending QoS NULL frame.
|
||||
* @link_id_bitmap: MLD links to which R-TWT element applies
|
||||
* @r_twt_dl_tid_bitmap: DL TIDs for R-TWT scheduling
|
||||
* @r_twt_ul_tid_bitmap: UL TIDs for R-TWT scheduling
|
||||
*
|
||||
*/
|
||||
struct wmi_twt_add_dialog_param {
|
||||
uint32_t vdev_id;
|
||||
@@ -316,6 +322,9 @@ struct wmi_twt_add_dialog_param {
|
||||
b_twt_recommendation:3;
|
||||
uint64_t wake_time_tsf;
|
||||
uint32_t announce_timeout_us;
|
||||
uint32_t link_id_bitmap;
|
||||
uint32_t r_twt_dl_tid_bitmap;
|
||||
uint32_t r_twt_ul_tid_bitmap;
|
||||
};
|
||||
|
||||
/* enum - status code of Get stats TWT dialog
|
||||
|
Reference in New Issue
Block a user