qcacmn: Add new TWT operations and attributes to TWT Setup and Nudge

Define the following additional TWT operations:
QCA_WLAN_TWT_GET_STATS, QCA_WLAN_TWT_CLEAR_STATS,
QCA_WLAN_TWT_GET_CAPABILITIES, QCA_WLAN_TWT_SETUP_READY_NOTIFY.

Also define new attributes to qca_wlan_vendor_attr_twt_setup
and qca_wlan_vendor_attr_twt_nudge.

Change-Id: I687fd215c13aa12741d8ba7af23507f930d0ec81
CRs-Fixed: 2842072
This commit is contained in:
Pragaspathi Thilagaraj
2020-12-21 00:55:46 +05:30
committed by snandini
parent 7815fdacc7
commit ae5d79bf9e
2 changed files with 279 additions and 19 deletions

View File

@@ -234,6 +234,9 @@ enum qca_nl80211_vendor_subcmds_index {
QCA_NL80211_VENDOR_SUBCMD_WIFI_FW_STATS_INDEX,
QCA_NL80211_VENDOR_SUBCMD_MBSSID_TX_VDEV_STATUS_INDEX,
QCA_NL80211_VENDOR_SUBCMD_THERMAL_INDEX,
#ifdef WLAN_SUPPORT_TWT
QCA_NL80211_VENDOR_SUBCMD_CONFIG_TWT_INDEX,
#endif
};
#if !defined(SUPPORT_WDEV_CFG80211_VENDOR_EVENT_ALLOC) && \