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
Dieser Commit ist enthalten in:
Jyoti Kumari
2021-06-24 00:49:44 +05:30
committet von Madan Koyyalamudi
Ursprung 4c655bacbd
Commit 43c413bc3b
10 geänderte Dateien mit 162 neuen und 1 gelöschten Zeilen

Datei anzeigen

@@ -1999,6 +1999,13 @@ QDF_STATUS (*extract_sar_cap_service_ready_ext)(
uint8_t *evt_buf,
struct wlan_psoc_host_service_ext_param *ext_param);
#ifdef WLAN_SUPPORT_TWT
QDF_STATUS (*extract_twt_cap_service_ready_ext2)(
wmi_unified_t wmi_handle,
uint8_t *evt_buf,
struct wmi_twt_cap_bitmap_params *var);
#endif
#ifdef WMI_DBR_SUPPORT
QDF_STATUS (*send_dbr_cfg_cmd)(wmi_unified_t wmi_handle,
struct direct_buf_rx_cfg_req *cfg);