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:

committed by
Madan Koyyalamudi

parent
4c655bacbd
commit
43c413bc3b
@@ -326,4 +326,19 @@ static void wmi_twt_attach_tlv(struct wmi_unified *wmi_handle)
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wmi_extract_twt_cap_service_ready_ext2: Extract TWT bitmap value
|
||||
* received through extended
|
||||
* service ready2 event
|
||||
* @wmi_handle: WMI handle
|
||||
* @evt_buf: Event buffer
|
||||
* @param: Pointer to TWT bitmap param
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_extract_twt_cap_service_ready_ext2(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf,
|
||||
struct wmi_twt_cap_bitmap_params *params);
|
||||
|
||||
#endif /* _WMI_UNIFIED_TWT_API_H_ */
|
||||
|
Reference in New Issue
Block a user