qcacmn: Add TWT service bit capability support for ack event

Add TWT service bit capability support to check whether firmware
supports ack event or not. If firmware doesn't support ack event
then service bit capability will become 0 and whenever TWT
command comes, host will not wait for ack event and sends command
in a legacy way.

This support is mainly added to handle new host and old firmware
combination.

Change-Id: I55d373c2e017130b58a4b332da16f0eda8f34eba
CRs-Fixed: 2987749
This commit is contained in:
Jyoti Kumari
2021-06-24 00:49:44 +05:30
committed by Madan Koyyalamudi
parent 4c655bacbd
commit 43c413bc3b
10 changed files with 162 additions and 1 deletions

View File

@@ -394,6 +394,15 @@ struct wmi_twt_add_dialog_complete_event_param {
uint32_t num_additional_twt_params;
};
/**
* struct wmi_twt_cap_bitmap_params -
* twt_cap_bitmap: TWT capability bitmap
*
*/
struct wmi_twt_cap_bitmap_params {
uint32_t twt_ack_support_cap:1;
};
/**
* struct wmi_twt_del_dialog_param -
* @vdev_id: VDEV identifier