18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: ISC */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2005-2011 Atheros Communications Inc.
48c2ecf20Sopenharmony_ci * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
58c2ecf20Sopenharmony_ci * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef _WMI_TLV_H
88c2ecf20Sopenharmony_ci#define _WMI_TLV_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/bitops.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define WMI_TLV_CMD(grp_id) (((grp_id) << 12) | 0x1)
138c2ecf20Sopenharmony_ci#define WMI_TLV_EV(grp_id) (((grp_id) << 12) | 0x1)
148c2ecf20Sopenharmony_ci#define WMI_TLV_CMD_UNSUPPORTED 0
158c2ecf20Sopenharmony_ci#define WMI_TLV_PDEV_PARAM_UNSUPPORTED 0
168c2ecf20Sopenharmony_ci#define WMI_TLV_VDEV_PARAM_UNSUPPORTED 0
178c2ecf20Sopenharmony_ci#define WMI_TLV_MGMT_TX_FRAME_MAX_LEN	64
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define WMI_RSRC_CFG_FLAG_TX_ACK_RSSI		BIT(18)
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cienum wmi_tlv_grp_id {
228c2ecf20Sopenharmony_ci	WMI_TLV_GRP_START = 0x3,
238c2ecf20Sopenharmony_ci	WMI_TLV_GRP_SCAN = WMI_TLV_GRP_START,
248c2ecf20Sopenharmony_ci	WMI_TLV_GRP_PDEV,
258c2ecf20Sopenharmony_ci	WMI_TLV_GRP_VDEV,
268c2ecf20Sopenharmony_ci	WMI_TLV_GRP_PEER,
278c2ecf20Sopenharmony_ci	WMI_TLV_GRP_MGMT,
288c2ecf20Sopenharmony_ci	WMI_TLV_GRP_BA_NEG,
298c2ecf20Sopenharmony_ci	WMI_TLV_GRP_STA_PS,
308c2ecf20Sopenharmony_ci	WMI_TLV_GRP_DFS,
318c2ecf20Sopenharmony_ci	WMI_TLV_GRP_ROAM,
328c2ecf20Sopenharmony_ci	WMI_TLV_GRP_OFL_SCAN,
338c2ecf20Sopenharmony_ci	WMI_TLV_GRP_P2P,
348c2ecf20Sopenharmony_ci	WMI_TLV_GRP_AP_PS,
358c2ecf20Sopenharmony_ci	WMI_TLV_GRP_RATECTL,
368c2ecf20Sopenharmony_ci	WMI_TLV_GRP_PROFILE,
378c2ecf20Sopenharmony_ci	WMI_TLV_GRP_SUSPEND,
388c2ecf20Sopenharmony_ci	WMI_TLV_GRP_BCN_FILTER,
398c2ecf20Sopenharmony_ci	WMI_TLV_GRP_WOW,
408c2ecf20Sopenharmony_ci	WMI_TLV_GRP_RTT,
418c2ecf20Sopenharmony_ci	WMI_TLV_GRP_SPECTRAL,
428c2ecf20Sopenharmony_ci	WMI_TLV_GRP_STATS,
438c2ecf20Sopenharmony_ci	WMI_TLV_GRP_ARP_NS_OFL,
448c2ecf20Sopenharmony_ci	WMI_TLV_GRP_NLO_OFL,
458c2ecf20Sopenharmony_ci	WMI_TLV_GRP_GTK_OFL,
468c2ecf20Sopenharmony_ci	WMI_TLV_GRP_CSA_OFL,
478c2ecf20Sopenharmony_ci	WMI_TLV_GRP_CHATTER,
488c2ecf20Sopenharmony_ci	WMI_TLV_GRP_TID_ADDBA,
498c2ecf20Sopenharmony_ci	WMI_TLV_GRP_MISC,
508c2ecf20Sopenharmony_ci	WMI_TLV_GRP_GPIO,
518c2ecf20Sopenharmony_ci	WMI_TLV_GRP_FWTEST,
528c2ecf20Sopenharmony_ci	WMI_TLV_GRP_TDLS,
538c2ecf20Sopenharmony_ci	WMI_TLV_GRP_RESMGR,
548c2ecf20Sopenharmony_ci	WMI_TLV_GRP_STA_SMPS,
558c2ecf20Sopenharmony_ci	WMI_TLV_GRP_WLAN_HB,
568c2ecf20Sopenharmony_ci	WMI_TLV_GRP_RMC,
578c2ecf20Sopenharmony_ci	WMI_TLV_GRP_MHF_OFL,
588c2ecf20Sopenharmony_ci	WMI_TLV_GRP_LOCATION_SCAN,
598c2ecf20Sopenharmony_ci	WMI_TLV_GRP_OEM,
608c2ecf20Sopenharmony_ci	WMI_TLV_GRP_NAN,
618c2ecf20Sopenharmony_ci	WMI_TLV_GRP_COEX,
628c2ecf20Sopenharmony_ci	WMI_TLV_GRP_OBSS_OFL,
638c2ecf20Sopenharmony_ci	WMI_TLV_GRP_LPI,
648c2ecf20Sopenharmony_ci	WMI_TLV_GRP_EXTSCAN,
658c2ecf20Sopenharmony_ci	WMI_TLV_GRP_DHCP_OFL,
668c2ecf20Sopenharmony_ci	WMI_TLV_GRP_IPA,
678c2ecf20Sopenharmony_ci	WMI_TLV_GRP_MDNS_OFL,
688c2ecf20Sopenharmony_ci	WMI_TLV_GRP_SAP_OFL,
698c2ecf20Sopenharmony_ci};
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_cienum wmi_tlv_cmd_id {
728c2ecf20Sopenharmony_ci	WMI_TLV_INIT_CMDID = 0x1,
738c2ecf20Sopenharmony_ci	WMI_TLV_START_SCAN_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_SCAN),
748c2ecf20Sopenharmony_ci	WMI_TLV_STOP_SCAN_CMDID,
758c2ecf20Sopenharmony_ci	WMI_TLV_SCAN_CHAN_LIST_CMDID,
768c2ecf20Sopenharmony_ci	WMI_TLV_SCAN_SCH_PRIO_TBL_CMDID,
778c2ecf20Sopenharmony_ci	WMI_TLV_SCAN_UPDATE_REQUEST_CMDID,
788c2ecf20Sopenharmony_ci	WMI_TLV_SCAN_PROB_REQ_OUI_CMDID,
798c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_REGDOMAIN_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_PDEV),
808c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_CHANNEL_CMDID,
818c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_PARAM_CMDID,
828c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PKTLOG_ENABLE_CMDID,
838c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PKTLOG_DISABLE_CMDID,
848c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_WMM_PARAMS_CMDID,
858c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_HT_CAP_IE_CMDID,
868c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_VHT_CAP_IE_CMDID,
878c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_DSCP_TID_MAP_CMDID,
888c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_QUIET_MODE_CMDID,
898c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_GREEN_AP_PS_ENABLE_CMDID,
908c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_GET_TPC_CONFIG_CMDID,
918c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_BASE_MACADDR_CMDID,
928c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_DUMP_CMDID,
938c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_LED_CONFIG_CMDID,
948c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_GET_TEMPERATURE_CMDID,
958c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SET_LED_FLASHING_CMDID,
968c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_CREATE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_VDEV),
978c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_DELETE_CMDID,
988c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_START_REQUEST_CMDID,
998c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_RESTART_REQUEST_CMDID,
1008c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_UP_CMDID,
1018c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_STOP_CMDID,
1028c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_DOWN_CMDID,
1038c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SET_PARAM_CMDID,
1048c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_INSTALL_KEY_CMDID,
1058c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_WNM_SLEEPMODE_CMDID,
1068c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_WMM_ADDTS_CMDID,
1078c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_WMM_DELTS_CMDID,
1088c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SET_WMM_PARAMS_CMDID,
1098c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SET_GTX_PARAMS_CMDID,
1108c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID,
1118c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PLMREQ_START_CMDID,
1128c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PLMREQ_STOP_CMDID,
1138c2ecf20Sopenharmony_ci	WMI_TLV_PEER_CREATE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_PEER),
1148c2ecf20Sopenharmony_ci	WMI_TLV_PEER_DELETE_CMDID,
1158c2ecf20Sopenharmony_ci	WMI_TLV_PEER_FLUSH_TIDS_CMDID,
1168c2ecf20Sopenharmony_ci	WMI_TLV_PEER_SET_PARAM_CMDID,
1178c2ecf20Sopenharmony_ci	WMI_TLV_PEER_ASSOC_CMDID,
1188c2ecf20Sopenharmony_ci	WMI_TLV_PEER_ADD_WDS_ENTRY_CMDID,
1198c2ecf20Sopenharmony_ci	WMI_TLV_PEER_REMOVE_WDS_ENTRY_CMDID,
1208c2ecf20Sopenharmony_ci	WMI_TLV_PEER_MCAST_GROUP_CMDID,
1218c2ecf20Sopenharmony_ci	WMI_TLV_PEER_INFO_REQ_CMDID,
1228c2ecf20Sopenharmony_ci	WMI_TLV_PEER_GET_ESTIMATED_LINKSPEED_CMDID,
1238c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TX_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_MGMT),
1248c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SEND_BCN_CMDID,
1258c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TMPL_CMDID,
1268c2ecf20Sopenharmony_ci	WMI_TLV_BCN_FILTER_RX_CMDID,
1278c2ecf20Sopenharmony_ci	WMI_TLV_PRB_REQ_FILTER_RX_CMDID,
1288c2ecf20Sopenharmony_ci	WMI_TLV_MGMT_TX_CMDID,
1298c2ecf20Sopenharmony_ci	WMI_TLV_PRB_TMPL_CMDID,
1308c2ecf20Sopenharmony_ci	WMI_TLV_MGMT_TX_SEND_CMD,
1318c2ecf20Sopenharmony_ci	WMI_TLV_ADDBA_CLEAR_RESP_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_BA_NEG),
1328c2ecf20Sopenharmony_ci	WMI_TLV_ADDBA_SEND_CMDID,
1338c2ecf20Sopenharmony_ci	WMI_TLV_ADDBA_STATUS_CMDID,
1348c2ecf20Sopenharmony_ci	WMI_TLV_DELBA_SEND_CMDID,
1358c2ecf20Sopenharmony_ci	WMI_TLV_ADDBA_SET_RESP_CMDID,
1368c2ecf20Sopenharmony_ci	WMI_TLV_SEND_SINGLEAMSDU_CMDID,
1378c2ecf20Sopenharmony_ci	WMI_TLV_STA_POWERSAVE_MODE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_STA_PS),
1388c2ecf20Sopenharmony_ci	WMI_TLV_STA_POWERSAVE_PARAM_CMDID,
1398c2ecf20Sopenharmony_ci	WMI_TLV_STA_MIMO_PS_MODE_CMDID,
1408c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_DFS_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_DFS),
1418c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_DFS_DISABLE_CMDID,
1428c2ecf20Sopenharmony_ci	WMI_TLV_DFS_PHYERR_FILTER_ENA_CMDID,
1438c2ecf20Sopenharmony_ci	WMI_TLV_DFS_PHYERR_FILTER_DIS_CMDID,
1448c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SCAN_MODE = WMI_TLV_CMD(WMI_TLV_GRP_ROAM),
1458c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SCAN_RSSI_THRESHOLD,
1468c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SCAN_PERIOD,
1478c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SCAN_RSSI_CHANGE_THRESHOLD,
1488c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_AP_PROFILE,
1498c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_CHAN_LIST,
1508c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SCAN_CMD,
1518c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SYNCH_COMPLETE,
1528c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SET_RIC_REQUEST_CMDID,
1538c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_INVOKE_CMDID,
1548c2ecf20Sopenharmony_ci	WMI_TLV_OFL_SCAN_ADD_AP_PROFILE = WMI_TLV_CMD(WMI_TLV_GRP_OFL_SCAN),
1558c2ecf20Sopenharmony_ci	WMI_TLV_OFL_SCAN_REMOVE_AP_PROFILE,
1568c2ecf20Sopenharmony_ci	WMI_TLV_OFL_SCAN_PERIOD,
1578c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DEV_SET_DEVICE_INFO = WMI_TLV_CMD(WMI_TLV_GRP_P2P),
1588c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DEV_SET_DISCOVERABILITY,
1598c2ecf20Sopenharmony_ci	WMI_TLV_P2P_GO_SET_BEACON_IE,
1608c2ecf20Sopenharmony_ci	WMI_TLV_P2P_GO_SET_PROBE_RESP_IE,
1618c2ecf20Sopenharmony_ci	WMI_TLV_P2P_SET_VENDOR_IE_DATA_CMDID,
1628c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DISC_OFFLOAD_CONFIG_CMDID,
1638c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DISC_OFFLOAD_APPIE_CMDID,
1648c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DISC_OFFLOAD_PATTERN_CMDID,
1658c2ecf20Sopenharmony_ci	WMI_TLV_P2P_SET_OPPPS_PARAM_CMDID,
1668c2ecf20Sopenharmony_ci	WMI_TLV_AP_PS_PEER_PARAM_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_AP_PS),
1678c2ecf20Sopenharmony_ci	WMI_TLV_AP_PS_PEER_UAPSD_COEX_CMDID,
1688c2ecf20Sopenharmony_ci	WMI_TLV_PEER_RATE_RETRY_SCHED_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_RATECTL),
1698c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_TRIGGER_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_PROFILE),
1708c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_SET_HIST_INTVL_CMDID,
1718c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_GET_PROFILE_DATA_CMDID,
1728c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID,
1738c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_LIST_PROFILE_ID_CMDID,
1748c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_SUSPEND_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_SUSPEND),
1758c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_RESUME_CMDID,
1768c2ecf20Sopenharmony_ci	WMI_TLV_ADD_BCN_FILTER_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_BCN_FILTER),
1778c2ecf20Sopenharmony_ci	WMI_TLV_RMV_BCN_FILTER_CMDID,
1788c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ADD_WAKE_PATTERN_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_WOW),
1798c2ecf20Sopenharmony_ci	WMI_TLV_WOW_DEL_WAKE_PATTERN_CMDID,
1808c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID,
1818c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ENABLE_CMDID,
1828c2ecf20Sopenharmony_ci	WMI_TLV_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID,
1838c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ACER_IOAC_ADD_KEEPALIVE_CMDID,
1848c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ACER_IOAC_DEL_KEEPALIVE_CMDID,
1858c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ACER_IOAC_ADD_WAKE_PATTERN_CMDID,
1868c2ecf20Sopenharmony_ci	WMI_TLV_WOW_ACER_IOAC_DEL_WAKE_PATTERN_CMDID,
1878c2ecf20Sopenharmony_ci	WMI_TLV_D0_WOW_ENABLE_DISABLE_CMDID,
1888c2ecf20Sopenharmony_ci	WMI_TLV_EXTWOW_ENABLE_CMDID,
1898c2ecf20Sopenharmony_ci	WMI_TLV_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID,
1908c2ecf20Sopenharmony_ci	WMI_TLV_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID,
1918c2ecf20Sopenharmony_ci	WMI_TLV_RTT_MEASREQ_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_RTT),
1928c2ecf20Sopenharmony_ci	WMI_TLV_RTT_TSF_CMDID,
1938c2ecf20Sopenharmony_ci	WMI_TLV_SPECTRAL_SCAN_CONF_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_SPECTRAL),
1948c2ecf20Sopenharmony_ci	WMI_TLV_SPECTRAL_SCAN_ENABLE_CMDID,
1958c2ecf20Sopenharmony_ci	WMI_TLV_REQUEST_STATS_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_STATS),
1968c2ecf20Sopenharmony_ci	WMI_TLV_MCC_SCHED_TRAFFIC_STATS_CMDID,
1978c2ecf20Sopenharmony_ci	WMI_TLV_REQUEST_STATS_EXT_CMDID,
1988c2ecf20Sopenharmony_ci	WMI_TLV_REQUEST_LINK_STATS_CMDID,
1998c2ecf20Sopenharmony_ci	WMI_TLV_START_LINK_STATS_CMDID,
2008c2ecf20Sopenharmony_ci	WMI_TLV_CLEAR_LINK_STATS_CMDID,
2018c2ecf20Sopenharmony_ci	WMI_TLV_CGET_FW_MEM_DUMP_CMDID,
2028c2ecf20Sopenharmony_ci	WMI_TLV_CDEBUG_MESG_FLUSH_CMDID,
2038c2ecf20Sopenharmony_ci	WMI_TLV_CDIAG_EVENT_LOG_CONFIG_CMDID,
2048c2ecf20Sopenharmony_ci	WMI_TLV_CREQUEST_WLAN_STATS_CMDID,
2058c2ecf20Sopenharmony_ci	WMI_TLV_CREQUEST_RCPI_CMDID,
2068c2ecf20Sopenharmony_ci	WMI_TLV_REQUEST_PEER_STATS_INFO_CMDID,
2078c2ecf20Sopenharmony_ci	WMI_TLV_SET_ARP_NS_OFFLOAD_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_ARP_NS_OFL),
2088c2ecf20Sopenharmony_ci	WMI_TLV_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID,
2098c2ecf20Sopenharmony_ci	WMI_TLV_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID,
2108c2ecf20Sopenharmony_ci	WMI_TLV_NETWORK_LIST_OFFLOAD_CONFIG_CMDID =
2118c2ecf20Sopenharmony_ci			WMI_TLV_CMD(WMI_TLV_GRP_NLO_OFL),
2128c2ecf20Sopenharmony_ci	WMI_TLV_APFIND_CMDID,
2138c2ecf20Sopenharmony_ci	WMI_TLV_GTK_OFFLOAD_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_GTK_OFL),
2148c2ecf20Sopenharmony_ci	WMI_TLV_CSA_OFFLOAD_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_CSA_OFL),
2158c2ecf20Sopenharmony_ci	WMI_TLV_CSA_OFFLOAD_CHANSWITCH_CMDID,
2168c2ecf20Sopenharmony_ci	WMI_TLV_CHATTER_SET_MODE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_CHATTER),
2178c2ecf20Sopenharmony_ci	WMI_TLV_CHATTER_ADD_COALESCING_FILTER_CMDID,
2188c2ecf20Sopenharmony_ci	WMI_TLV_CHATTER_DELETE_COALESCING_FILTER_CMDID,
2198c2ecf20Sopenharmony_ci	WMI_TLV_CHATTER_COALESCING_QUERY_CMDID,
2208c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TID_ADDBA_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_TID_ADDBA),
2218c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TID_DELBA_CMDID,
2228c2ecf20Sopenharmony_ci	WMI_TLV_STA_DTIM_PS_METHOD_CMDID,
2238c2ecf20Sopenharmony_ci	WMI_TLV_STA_UAPSD_AUTO_TRIG_CMDID,
2248c2ecf20Sopenharmony_ci	WMI_TLV_STA_KEEPALIVE_CMDID,
2258c2ecf20Sopenharmony_ci	WMI_TLV_BA_REQ_SSN_CMDID,
2268c2ecf20Sopenharmony_ci	WMI_TLV_ECHO_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_MISC),
2278c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_UTF_CMDID,
2288c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_CFG_CMDID,
2298c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_QVIT_CMDID,
2308c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_FTM_INTG_CMDID,
2318c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SET_KEEPALIVE_CMDID,
2328c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_GET_KEEPALIVE_CMDID,
2338c2ecf20Sopenharmony_ci	WMI_TLV_FORCE_FW_HANG_CMDID,
2348c2ecf20Sopenharmony_ci	WMI_TLV_SET_MCASTBCAST_FILTER_CMDID,
2358c2ecf20Sopenharmony_ci	WMI_TLV_THERMAL_MGMT_CMDID,
2368c2ecf20Sopenharmony_ci	WMI_TLV_HOST_AUTO_SHUTDOWN_CFG_CMDID,
2378c2ecf20Sopenharmony_ci	WMI_TLV_TPC_CHAINMASK_CONFIG_CMDID,
2388c2ecf20Sopenharmony_ci	WMI_TLV_SET_ANTENNA_DIVERSITY_CMDID,
2398c2ecf20Sopenharmony_ci	WMI_TLV_GPIO_CONFIG_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_GPIO),
2408c2ecf20Sopenharmony_ci	WMI_TLV_GPIO_OUTPUT_CMDID,
2418c2ecf20Sopenharmony_ci	WMI_TLV_TXBF_CMDID,
2428c2ecf20Sopenharmony_ci	WMI_TLV_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID =
2438c2ecf20Sopenharmony_ci			WMI_TLV_CMD(WMI_TLV_GRP_FWTEST),
2448c2ecf20Sopenharmony_ci	WMI_TLV_FWTEST_P2P_SET_NOA_PARAM_CMDID,
2458c2ecf20Sopenharmony_ci	WMI_TLV_UNIT_TEST_CMDID,
2468c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_SET_STATE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_TDLS),
2478c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_UPDATE_CMDID,
2488c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_SET_OFFCHAN_MODE_CMDID,
2498c2ecf20Sopenharmony_ci	WMI_TLV_RESMGR_ADAPTIVE_OCS_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_RESMGR),
2508c2ecf20Sopenharmony_ci	WMI_TLV_RESMGR_SET_CHAN_TIME_QUOTA_CMDID,
2518c2ecf20Sopenharmony_ci	WMI_TLV_RESMGR_SET_CHAN_LATENCY_CMDID,
2528c2ecf20Sopenharmony_ci	WMI_TLV_STA_SMPS_FORCE_MODE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_STA_SMPS),
2538c2ecf20Sopenharmony_ci	WMI_TLV_STA_SMPS_PARAM_CMDID,
2548c2ecf20Sopenharmony_ci	WMI_TLV_HB_SET_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_WLAN_HB),
2558c2ecf20Sopenharmony_ci	WMI_TLV_HB_SET_TCP_PARAMS_CMDID,
2568c2ecf20Sopenharmony_ci	WMI_TLV_HB_SET_TCP_PKT_FILTER_CMDID,
2578c2ecf20Sopenharmony_ci	WMI_TLV_HB_SET_UDP_PARAMS_CMDID,
2588c2ecf20Sopenharmony_ci	WMI_TLV_HB_SET_UDP_PKT_FILTER_CMDID,
2598c2ecf20Sopenharmony_ci	WMI_TLV_RMC_SET_MODE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_RMC),
2608c2ecf20Sopenharmony_ci	WMI_TLV_RMC_SET_ACTION_PERIOD_CMDID,
2618c2ecf20Sopenharmony_ci	WMI_TLV_RMC_CONFIG_CMDID,
2628c2ecf20Sopenharmony_ci	WMI_TLV_MHF_OFFLOAD_SET_MODE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_MHF_OFL),
2638c2ecf20Sopenharmony_ci	WMI_TLV_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID,
2648c2ecf20Sopenharmony_ci	WMI_TLV_BATCH_SCAN_ENABLE_CMDID =
2658c2ecf20Sopenharmony_ci			WMI_TLV_CMD(WMI_TLV_GRP_LOCATION_SCAN),
2668c2ecf20Sopenharmony_ci	WMI_TLV_BATCH_SCAN_DISABLE_CMDID,
2678c2ecf20Sopenharmony_ci	WMI_TLV_BATCH_SCAN_TRIGGER_RESULT_CMDID,
2688c2ecf20Sopenharmony_ci	WMI_TLV_OEM_REQ_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_OEM),
2698c2ecf20Sopenharmony_ci	WMI_TLV_NAN_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_NAN),
2708c2ecf20Sopenharmony_ci	WMI_TLV_MODEM_POWER_STATE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_COEX),
2718c2ecf20Sopenharmony_ci	WMI_TLV_CHAN_AVOID_UPDATE_CMDID,
2728c2ecf20Sopenharmony_ci	WMI_TLV_OBSS_SCAN_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_OBSS_OFL),
2738c2ecf20Sopenharmony_ci	WMI_TLV_OBSS_SCAN_DISABLE_CMDID,
2748c2ecf20Sopenharmony_ci	WMI_TLV_LPI_MGMT_SNOOPING_CONFIG_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_LPI),
2758c2ecf20Sopenharmony_ci	WMI_TLV_LPI_START_SCAN_CMDID,
2768c2ecf20Sopenharmony_ci	WMI_TLV_LPI_STOP_SCAN_CMDID,
2778c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_START_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_EXTSCAN),
2788c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_STOP_CMDID,
2798c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID,
2808c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID,
2818c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_GET_CACHED_RESULTS_CMDID,
2828c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID,
2838c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_SET_CAPABILITIES_CMDID,
2848c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_GET_CAPABILITIES_CMDID,
2858c2ecf20Sopenharmony_ci	WMI_TLV_SET_DHCP_SERVER_OFFLOAD_CMDID =
2868c2ecf20Sopenharmony_ci			WMI_TLV_CMD(WMI_TLV_GRP_DHCP_OFL),
2878c2ecf20Sopenharmony_ci	WMI_TLV_IPA_OFFLOAD_ENABLE_DISABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_IPA),
2888c2ecf20Sopenharmony_ci	WMI_TLV_MDNS_OFFLOAD_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_MDNS_OFL),
2898c2ecf20Sopenharmony_ci	WMI_TLV_MDNS_SET_FQDN_CMDID,
2908c2ecf20Sopenharmony_ci	WMI_TLV_MDNS_SET_RESPONSE_CMDID,
2918c2ecf20Sopenharmony_ci	WMI_TLV_MDNS_GET_STATS_CMDID,
2928c2ecf20Sopenharmony_ci	WMI_TLV_SAP_OFL_ENABLE_CMDID = WMI_TLV_CMD(WMI_TLV_GRP_SAP_OFL),
2938c2ecf20Sopenharmony_ci};
2948c2ecf20Sopenharmony_ci
2958c2ecf20Sopenharmony_cienum wmi_tlv_event_id {
2968c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_READY_EVENTID = 0x1,
2978c2ecf20Sopenharmony_ci	WMI_TLV_READY_EVENTID,
2988c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AVAILABLE_EVENTID,
2998c2ecf20Sopenharmony_ci	WMI_TLV_SCAN_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_SCAN),
3008c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_TPC_CONFIG_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_PDEV),
3018c2ecf20Sopenharmony_ci	WMI_TLV_CHAN_INFO_EVENTID,
3028c2ecf20Sopenharmony_ci	WMI_TLV_PHYERR_EVENTID,
3038c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_DUMP_EVENTID,
3048c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_EVENTID,
3058c2ecf20Sopenharmony_ci	WMI_TLV_DFS_RADAR_EVENTID,
3068c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_L1SS_TRACK_EVENTID,
3078c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_TEMPERATURE_EVENTID,
3088c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_START_RESP_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_VDEV),
3098c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_STOPPED_EVENTID,
3108c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_INSTALL_KEY_COMPLETE_EVENTID,
3118c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID,
3128c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_TSF_REPORT_EVENTID,
3138c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_DELETE_RESP_EVENTID,
3148c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STA_KICKOUT_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_PEER),
3158c2ecf20Sopenharmony_ci	WMI_TLV_PEER_INFO_EVENTID,
3168c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TX_FAIL_CNT_THR_EVENTID,
3178c2ecf20Sopenharmony_ci	WMI_TLV_PEER_ESTIMATED_LINKSPEED_EVENTID,
3188c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STATE_EVENTID,
3198c2ecf20Sopenharmony_ci	WMI_TLV_PEER_ASSOC_CONF_EVENTID,
3208c2ecf20Sopenharmony_ci	WMI_TLV_PEER_DELETE_RESP_EVENTID,
3218c2ecf20Sopenharmony_ci	WMI_TLV_MGMT_RX_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_MGMT),
3228c2ecf20Sopenharmony_ci	WMI_TLV_HOST_SWBA_EVENTID,
3238c2ecf20Sopenharmony_ci	WMI_TLV_TBTTOFFSET_UPDATE_EVENTID,
3248c2ecf20Sopenharmony_ci	WMI_TLV_OFFLOAD_BCN_TX_STATUS_EVENTID,
3258c2ecf20Sopenharmony_ci	WMI_TLV_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID,
3268c2ecf20Sopenharmony_ci	WMI_TLV_MGMT_TX_COMPLETION_EVENTID,
3278c2ecf20Sopenharmony_ci	WMI_TLV_MGMT_TX_BUNDLE_COMPLETION_EVENTID,
3288c2ecf20Sopenharmony_ci	WMI_TLV_TX_DELBA_COMPLETE_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_BA_NEG),
3298c2ecf20Sopenharmony_ci	WMI_TLV_TX_ADDBA_COMPLETE_EVENTID,
3308c2ecf20Sopenharmony_ci	WMI_TLV_BA_RSP_SSN_EVENTID,
3318c2ecf20Sopenharmony_ci	WMI_TLV_AGGR_STATE_TRIG_EVENTID,
3328c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_ROAM),
3338c2ecf20Sopenharmony_ci	WMI_TLV_PROFILE_MATCH,
3348c2ecf20Sopenharmony_ci	WMI_TLV_ROAM_SYNCH_EVENTID,
3358c2ecf20Sopenharmony_ci	WMI_TLV_P2P_DISC_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_P2P),
3368c2ecf20Sopenharmony_ci	WMI_TLV_P2P_NOA_EVENTID,
3378c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_RESUME_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_SUSPEND),
3388c2ecf20Sopenharmony_ci	WMI_TLV_WOW_WAKEUP_HOST_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_WOW),
3398c2ecf20Sopenharmony_ci	WMI_TLV_D0_WOW_DISABLE_ACK_EVENTID,
3408c2ecf20Sopenharmony_ci	WMI_TLV_RTT_MEASUREMENT_REPORT_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_RTT),
3418c2ecf20Sopenharmony_ci	WMI_TLV_TSF_MEASUREMENT_REPORT_EVENTID,
3428c2ecf20Sopenharmony_ci	WMI_TLV_RTT_ERROR_REPORT_EVENTID,
3438c2ecf20Sopenharmony_ci	WMI_TLV_STATS_EXT_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_STATS),
3448c2ecf20Sopenharmony_ci	WMI_TLV_IFACE_LINK_STATS_EVENTID,
3458c2ecf20Sopenharmony_ci	WMI_TLV_PEER_LINK_STATS_EVENTID,
3468c2ecf20Sopenharmony_ci	WMI_TLV_RADIO_LINK_STATS_EVENTID,
3478c2ecf20Sopenharmony_ci	WMI_TLV_UPDATE_FW_MEM_DUMP_EVENTID,
3488c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_EVENT_LOG_SUPPORTED_EVENTID,
3498c2ecf20Sopenharmony_ci	WMI_TLV_INST_RSSI_STATS_EVENTID,
3508c2ecf20Sopenharmony_ci	WMI_TLV_RADIO_TX_POWER_LEVEL_STATS_EVENTID,
3518c2ecf20Sopenharmony_ci	WMI_TLV_REPORT_STATS_EVENTID,
3528c2ecf20Sopenharmony_ci	WMI_TLV_UPDATE_RCPI_EVENTID,
3538c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STATS_INFO_EVENTID,
3548c2ecf20Sopenharmony_ci	WMI_TLV_NLO_MATCH_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_NLO_OFL),
3558c2ecf20Sopenharmony_ci	WMI_TLV_NLO_SCAN_COMPLETE_EVENTID,
3568c2ecf20Sopenharmony_ci	WMI_TLV_APFIND_EVENTID,
3578c2ecf20Sopenharmony_ci	WMI_TLV_GTK_OFFLOAD_STATUS_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_GTK_OFL),
3588c2ecf20Sopenharmony_ci	WMI_TLV_GTK_REKEY_FAIL_EVENTID,
3598c2ecf20Sopenharmony_ci	WMI_TLV_CSA_HANDLING_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_CSA_OFL),
3608c2ecf20Sopenharmony_ci	WMI_TLV_CHATTER_PC_QUERY_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_CHATTER),
3618c2ecf20Sopenharmony_ci	WMI_TLV_ECHO_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_MISC),
3628c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_UTF_EVENTID,
3638c2ecf20Sopenharmony_ci	WMI_TLV_DEBUG_MESG_EVENTID,
3648c2ecf20Sopenharmony_ci	WMI_TLV_UPDATE_STATS_EVENTID,
3658c2ecf20Sopenharmony_ci	WMI_TLV_DEBUG_PRINT_EVENTID,
3668c2ecf20Sopenharmony_ci	WMI_TLV_DCS_INTERFERENCE_EVENTID,
3678c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_QVIT_EVENTID,
3688c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_PROFILE_DATA_EVENTID,
3698c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_FTM_INTG_EVENTID,
3708c2ecf20Sopenharmony_ci	WMI_TLV_WLAN_FREQ_AVOID_EVENTID,
3718c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_GET_KEEPALIVE_EVENTID,
3728c2ecf20Sopenharmony_ci	WMI_TLV_THERMAL_MGMT_EVENTID,
3738c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_DATA_CONTAINER_EVENTID,
3748c2ecf20Sopenharmony_ci	WMI_TLV_HOST_AUTO_SHUTDOWN_EVENTID,
3758c2ecf20Sopenharmony_ci	WMI_TLV_UPDATE_WHAL_MIB_STATS_EVENTID,
3768c2ecf20Sopenharmony_ci	WMI_TLV_UPDATE_VDEV_RATE_STATS_EVENTID,
3778c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_EVENTID,
3788c2ecf20Sopenharmony_ci	WMI_TLV_GPIO_INPUT_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_GPIO),
3798c2ecf20Sopenharmony_ci	WMI_TLV_UPLOADH_EVENTID,
3808c2ecf20Sopenharmony_ci	WMI_TLV_CAPTUREH_EVENTID,
3818c2ecf20Sopenharmony_ci	WMI_TLV_RFKILL_STATE_CHANGE_EVENTID,
3828c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_TDLS),
3838c2ecf20Sopenharmony_ci	WMI_TLV_BATCH_SCAN_ENABLED_EVENTID =
3848c2ecf20Sopenharmony_ci			WMI_TLV_EV(WMI_TLV_GRP_LOCATION_SCAN),
3858c2ecf20Sopenharmony_ci	WMI_TLV_BATCH_SCAN_RESULT_EVENTID,
3868c2ecf20Sopenharmony_ci	WMI_TLV_OEM_CAPABILITY_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_OEM),
3878c2ecf20Sopenharmony_ci	WMI_TLV_OEM_MEASUREMENT_REPORT_EVENTID,
3888c2ecf20Sopenharmony_ci	WMI_TLV_OEM_ERROR_REPORT_EVENTID,
3898c2ecf20Sopenharmony_ci	WMI_TLV_NAN_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_NAN),
3908c2ecf20Sopenharmony_ci	WMI_TLV_LPI_RESULT_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_LPI),
3918c2ecf20Sopenharmony_ci	WMI_TLV_LPI_STATUS_EVENTID,
3928c2ecf20Sopenharmony_ci	WMI_TLV_LPI_HANDOFF_EVENTID,
3938c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_START_STOP_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_EXTSCAN),
3948c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_OPERATION_EVENTID,
3958c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_TABLE_USAGE_EVENTID,
3968c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_CACHED_RESULTS_EVENTID,
3978c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID,
3988c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_HOTLIST_MATCH_EVENTID,
3998c2ecf20Sopenharmony_ci	WMI_TLV_EXTSCAN_CAPABILITIES_EVENTID,
4008c2ecf20Sopenharmony_ci	WMI_TLV_MDNS_STATS_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_MDNS_OFL),
4018c2ecf20Sopenharmony_ci	WMI_TLV_SAP_OFL_ADD_STA_EVENTID = WMI_TLV_EV(WMI_TLV_GRP_SAP_OFL),
4028c2ecf20Sopenharmony_ci	WMI_TLV_SAP_OFL_DEL_STA_EVENTID,
4038c2ecf20Sopenharmony_ci};
4048c2ecf20Sopenharmony_ci
4058c2ecf20Sopenharmony_cienum wmi_tlv_pdev_param {
4068c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TX_CHAIN_MASK = 0x1,
4078c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_RX_CHAIN_MASK,
4088c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_LIMIT2G,
4098c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_LIMIT5G,
4108c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_SCALE,
4118c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_BEACON_GEN_MODE,
4128c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_BEACON_TX_MODE,
4138c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_RESMGR_OFFCHAN_MODE,
4148c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PROTECTION_MODE,
4158c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_DYNAMIC_BW,
4168c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_NON_AGG_SW_RETRY_TH,
4178c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_AGG_SW_RETRY_TH,
4188c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_STA_KICKOUT_TH,
4198c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_AC_AGGRSIZE_SCALING,
4208c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_ENABLE,
4218c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_AC_LATENCY_BE,
4228c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_AC_LATENCY_BK,
4238c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_AC_LATENCY_VI,
4248c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_AC_LATENCY_VO,
4258c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_AC_LATENCY_TIMEOUT,
4268c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_SLEEP_OVERRIDE,
4278c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_RX_OVERRIDE,
4288c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LTR_TX_ACTIVITY_TIMEOUT,
4298c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_L1SS_ENABLE,
4308c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_DSLEEP_ENABLE,
4318c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PCIELP_TXBUF_FLUSH,
4328c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PCIELP_TXBUF_WATERMARK,
4338c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PCIELP_TXBUF_TMO_EN,
4348c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PCIELP_TXBUF_TMO_VALUE,
4358c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PDEV_STATS_UPDATE_PERIOD,
4368c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_VDEV_STATS_UPDATE_PERIOD,
4378c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PEER_STATS_UPDATE_PERIOD,
4388c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_BCNFLT_STATS_UPDATE_PERIOD,
4398c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PMF_QOS,
4408c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ARP_AC_OVERRIDE,
4418c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_DCS,
4428c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ANI_ENABLE,
4438c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ANI_POLL_PERIOD,
4448c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ANI_LISTEN_PERIOD,
4458c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ANI_OFDM_LEVEL,
4468c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_ANI_CCK_LEVEL,
4478c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_DYNTXCHAIN,
4488c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PROXY_STA,
4498c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_IDLE_PS_CONFIG,
4508c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_POWER_GATING_SLEEP,
4518c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_RFKILL_ENABLE,
4528c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_BURST_DUR,
4538c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_BURST_ENABLE,
4548c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_HW_RFKILL_CONFIG,
4558c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LOW_POWER_RF_ENABLE,
4568c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_L1SS_TRACK,
4578c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_HYST_EN,
4588c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_POWER_COLLAPSE_ENABLE,
4598c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LED_SYS_STATE,
4608c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_LED_ENABLE,
4618c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_AUDIO_OVER_WLAN_LATENCY,
4628c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_AUDIO_OVER_WLAN_ENABLE,
4638c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_WHAL_MIB_STATS_UPDATE_ENABLE,
4648c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_VDEV_RATE_STATS_UPDATE_PERIOD,
4658c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_REASON_NONE,
4668c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_REASON_SAR,
4678c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_PEER_STATS_INFO_ENABLE = 0x8b,
4688c2ecf20Sopenharmony_ci	WMI_TLV_PDEV_PARAM_TXPOWER_REASON_MAX,
4698c2ecf20Sopenharmony_ci};
4708c2ecf20Sopenharmony_ci
4718c2ecf20Sopenharmony_cienum wmi_tlv_vdev_param {
4728c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_RTS_THRESHOLD = 0x1,
4738c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_FRAGMENTATION_THRESHOLD,
4748c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_BEACON_INTERVAL,
4758c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_LISTEN_INTERVAL,
4768c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MULTICAST_RATE,
4778c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MGMT_TX_RATE,
4788c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_SLOT_TIME,
4798c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_PREAMBLE,
4808c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_SWBA_TIME,
4818c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_STATS_UPDATE_PERIOD,
4828c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PWRSAVE_AGEOUT_TIME,
4838c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_HOST_SWBA_INTERVAL,
4848c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DTIM_PERIOD,
4858c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_OC_SCHEDULER_AIR_TIME_LIMIT,
4868c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_WDS,
4878c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_ATIM_WINDOW,
4888c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_BMISS_COUNT_MAX,
4898c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_BMISS_FIRST_BCNT,
4908c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_BMISS_FINAL_BCNT,
4918c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_FEATURE_WMM,
4928c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_CHWIDTH,
4938c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_CHEXTOFFSET,
4948c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DISABLE_HTPROTECTION,
4958c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_STA_QUICKKICKOUT,
4968c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MGMT_RATE,
4978c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_PROTECTION_MODE,
4988c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_FIXED_RATE,
4998c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_SGI,
5008c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_LDPC,
5018c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_TX_STBC,
5028c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_RX_STBC,
5038c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_INTRA_BSS_FWD,
5048c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DEF_KEYID,
5058c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_NSS,
5068c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_BCAST_DATA_RATE,
5078c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MCAST_DATA_RATE,
5088c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MCAST_INDICATE,
5098c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DHCP_INDICATE,
5108c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_UNKNOWN_DEST_INDICATE,
5118c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AP_KEEPALIVE_MIN_IDLE_INACTIVE_TIME_SECS,
5128c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AP_KEEPALIVE_MAX_IDLE_INACTIVE_TIME_SECS,
5138c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AP_KEEPALIVE_MAX_UNRESPONSIVE_TIME_SECS,
5148c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AP_ENABLE_NAWDS,
5158c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_ENABLE_RTSCTS,
5168c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_TXBF,
5178c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_PACKET_POWERSAVE,
5188c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DROP_UNENCRY,
5198c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_TX_ENCAP_TYPE,
5208c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AP_DETECT_OUT_OF_SYNC_SLEEPING_STA_TIME_SECS,
5218c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_ADJUST_ENABLE,
5228c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_TGT_BMISS_NUM,
5238c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_BMISS_SAMPLE_CYCLE,
5248c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_SLOP_STEP,
5258c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_INIT_SLOP,
5268c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_ADJUST_PAUSE,
5278c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_TX_PWRLIMIT,
5288c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_SNR_NUM_FOR_CAL,
5298c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_ROAM_FW_OFFLOAD,
5308c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_ENABLE_RMC,
5318c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IBSS_MAX_BCN_LOST_MS,
5328c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_MAX_RATE,
5338c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EARLY_RX_DRIFT_SAMPLE,
5348c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_SET_IBSS_TX_FAIL_CNT_THR,
5358c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_EBT_RESYNC_TIMEOUT,
5368c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_AGGR_TRIG_EVENT_ENABLE,
5378c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IS_IBSS_POWER_SAVE_ALLOWED,
5388c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IS_POWER_COLLAPSE_ALLOWED,
5398c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IS_AWAKE_ON_TXRX_ENABLED,
5408c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_INACTIVITY_CNT,
5418c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_TXSP_END_INACTIVITY_TIME_MS,
5428c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_DTIM_POLICY,
5438c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IBSS_PS_WARMUP_TIME_SECS,
5448c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_PARAM_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_ENABLE,
5458c2ecf20Sopenharmony_ci};
5468c2ecf20Sopenharmony_ci
5478c2ecf20Sopenharmony_cienum wmi_tlv_peer_param {
5488c2ecf20Sopenharmony_ci	WMI_TLV_PEER_SMPS_STATE = 0x1, /* see %wmi_peer_smps_state */
5498c2ecf20Sopenharmony_ci	WMI_TLV_PEER_AMPDU      = 0x2,
5508c2ecf20Sopenharmony_ci	WMI_TLV_PEER_AUTHORIZE  = 0x3,
5518c2ecf20Sopenharmony_ci	WMI_TLV_PEER_CHAN_WIDTH = 0x4,
5528c2ecf20Sopenharmony_ci	WMI_TLV_PEER_NSS        = 0x5,
5538c2ecf20Sopenharmony_ci	WMI_TLV_PEER_USE_4ADDR  = 0x6,
5548c2ecf20Sopenharmony_ci	WMI_TLV_PEER_MEMBERSHIP = 0x7,
5558c2ecf20Sopenharmony_ci	WMI_TLV_PEER_USERPOS = 0x8,
5568c2ecf20Sopenharmony_ci	WMI_TLV_PEER_CRIT_PROTO_HINT_ENABLED = 0x9,
5578c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TX_FAIL_CNT_THR = 0xa,
5588c2ecf20Sopenharmony_ci	WMI_TLV_PEER_SET_HW_RETRY_CTS2S = 0xb,
5598c2ecf20Sopenharmony_ci	WMI_TLV_PEER_IBSS_ATIM_WINDOW_LENGTH = 0xc,
5608c2ecf20Sopenharmony_ci	WMI_TLV_PEER_PHYMODE = 0xd,
5618c2ecf20Sopenharmony_ci	WMI_TLV_PEER_USE_FIXED_PWR = 0xe,
5628c2ecf20Sopenharmony_ci	WMI_TLV_PEER_DUMMY_VAR = 0xff,
5638c2ecf20Sopenharmony_ci};
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_cienum wmi_tlv_peer_flags {
5668c2ecf20Sopenharmony_ci	WMI_TLV_PEER_AUTH = 0x00000001,
5678c2ecf20Sopenharmony_ci	WMI_TLV_PEER_QOS = 0x00000002,
5688c2ecf20Sopenharmony_ci	WMI_TLV_PEER_NEED_PTK_4_WAY = 0x00000004,
5698c2ecf20Sopenharmony_ci	WMI_TLV_PEER_NEED_GTK_2_WAY = 0x00000010,
5708c2ecf20Sopenharmony_ci	WMI_TLV_PEER_APSD = 0x00000800,
5718c2ecf20Sopenharmony_ci	WMI_TLV_PEER_HT = 0x00001000,
5728c2ecf20Sopenharmony_ci	WMI_TLV_PEER_40MHZ = 0x00002000,
5738c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STBC = 0x00008000,
5748c2ecf20Sopenharmony_ci	WMI_TLV_PEER_LDPC = 0x00010000,
5758c2ecf20Sopenharmony_ci	WMI_TLV_PEER_DYN_MIMOPS = 0x00020000,
5768c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STATIC_MIMOPS = 0x00040000,
5778c2ecf20Sopenharmony_ci	WMI_TLV_PEER_SPATIAL_MUX = 0x00200000,
5788c2ecf20Sopenharmony_ci	WMI_TLV_PEER_VHT = 0x02000000,
5798c2ecf20Sopenharmony_ci	WMI_TLV_PEER_80MHZ = 0x04000000,
5808c2ecf20Sopenharmony_ci	WMI_TLV_PEER_PMF = 0x08000000,
5818c2ecf20Sopenharmony_ci	WMI_TLV_PEER_160MHZ = 0x20000000,
5828c2ecf20Sopenharmony_ci};
5838c2ecf20Sopenharmony_ci
5848c2ecf20Sopenharmony_cienum wmi_tlv_tag {
5858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_LAST_RESERVED = 15,
5868c2ecf20Sopenharmony_ci
5878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_FIRST_ARRAY_ENUM,
5888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_ARRAY_UINT32 = WMI_TLV_TAG_FIRST_ARRAY_ENUM,
5898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_ARRAY_BYTE,
5908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_ARRAY_STRUCT,
5918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_ARRAY_FIXED_STRUCT,
5928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_LAST_ARRAY_ENUM = 31,
5938c2ecf20Sopenharmony_ci
5948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SERVICE_READY_EVENT,
5958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HAL_REG_CAPABILITIES,
5968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_HOST_MEM_REQ,
5978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_READY_EVENT,
5988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_EVENT,
5998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_TPC_CONFIG_EVENT,
6008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT,
6018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_COMB_PHYERR_RX_HDR,
6028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_START_RESPONSE_EVENT,
6038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_STOPPED_EVENT,
6048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_INSTALL_KEY_COMPLETE_EVENT,
6058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STA_KICKOUT_EVENT,
6068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MGMT_RX_HDR,
6078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TBTT_OFFSET_EVENT,
6088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_DELBA_COMPLETE_EVENT,
6098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_ADDBA_COMPLETE_EVENT,
6108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_EVENT,
6118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_EVENT_INFO,
6128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_EVENT_INFO_SECTION_BITMAP,
6138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_EVENT_HEADER,
6148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_ERROR_REPORT_EVENT,
6158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_MEAS_EVENT,
6168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ECHO_EVENT,
6178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FTM_INTG_EVENT,
6188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_GET_KEEPALIVE_EVENT,
6198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GPIO_INPUT_EVENT,
6208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CSA_EVENT,
6218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GTK_OFFLOAD_STATUS_EVENT,
6228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IGTK_INFO,
6238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCS_INTERFERENCE_EVENT,
6248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ATH_DCS_CW_INT,
6258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ATH_DCS_WLAN_INT_STAT,
6268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_CTX_T,
6278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_T,
6288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_QVIT_EVENT,
6298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HOST_SWBA_EVENT,
6308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TIM_INFO,
6318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_NOA_INFO,
6328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STATS_EVENT,
6338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AVOID_FREQ_RANGES_EVENT,
6348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AVOID_FREQ_RANGE_DESC,
6358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GTK_REKEY_FAIL_EVENT,
6368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_INIT_CMD,
6378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RESOURCE_CONFIG,
6388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_HOST_MEMORY_CHUNK,
6398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_START_SCAN_CMD,
6408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STOP_SCAN_CMD,
6418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_CHAN_LIST_CMD,
6428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHANNEL,
6438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_REGDOMAIN_CMD,
6448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_PARAM_CMD,
6458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_WMM_PARAMS_CMD,
6468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WMM_PARAMS,
6478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_QUIET_CMD,
6488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_CREATE_CMD,
6498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_DELETE_CMD,
6508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_START_REQUEST_CMD,
6518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_NOA_DESCRIPTOR,
6528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_GO_SET_BEACON_IE,
6538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GTK_OFFLOAD_CMD,
6548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_UP_CMD,
6558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_STOP_CMD,
6568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_DOWN_CMD,
6578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_PARAM_CMD,
6588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_INSTALL_KEY_CMD,
6598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_CREATE_CMD,
6608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_DELETE_CMD,
6618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_FLUSH_TIDS_CMD,
6628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SET_PARAM_CMD,
6638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ASSOC_COMPLETE_CMD,
6648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VHT_RATE_SET,
6658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BCN_TMPL_CMD,
6668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PRB_TMPL_CMD,
6678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BCN_PRB_INFO,
6688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_TID_ADDBA_CMD,
6698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_TID_DELBA_CMD,
6708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_POWERSAVE_MODE_CMD,
6718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_POWERSAVE_PARAM_CMD,
6728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_DTIM_PS_METHOD_CMD,
6738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_MODE,
6748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_RSSI_THRESHOLD,
6758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_PERIOD,
6768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_RSSI_CHANGE_THRESHOLD,
6778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SUSPEND_CMD,
6788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_RESUME_CMD,
6798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ADD_BCN_FILTER_CMD,
6808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMV_BCN_FILTER_CMD,
6818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ENABLE_CMD,
6828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_HOSTWAKEUP_FROM_SLEEP_CMD,
6838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_UAPSD_AUTO_TRIG_CMD,
6848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_UAPSD_AUTO_TRIG_PARAM,
6858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_ARP_NS_OFFLOAD_CMD,
6868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ARP_OFFLOAD_TUPLE,
6878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NS_OFFLOAD_TUPLE,
6888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FTM_INTG_CMD,
6898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_KEEPALIVE_CMD,
6908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_KEEPALVE_ARP_RESPONSE,
6918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_SET_VENDOR_IE_DATA_CMD,
6928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AP_PS_PEER_CMD,
6938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_RATE_RETRY_SCHED_CMD,
6948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_TRIGGER_CMD,
6958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_SET_HIST_INTVL_CMD,
6968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_GET_PROF_DATA_CMD,
6978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLAN_PROFILE_ENABLE_PROFILE_ID_CMD,
6988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_DEL_PATTERN_CMD,
6998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ADD_DEL_EVT_CMD,
7008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_MEASREQ_HEAD,
7018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_MEASREQ_BODY,
7028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RTT_TSF_CMD,
7038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SPECTRAL_CONFIGURE_CMD,
7048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SPECTRAL_ENABLE_CMD,
7058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_STATS_CMD,
7068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NLO_CONFIG_CMD,
7078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NLO_CONFIGURED_PARAMETERS,
7088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CSA_OFFLOAD_ENABLE_CMD,
7098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CSA_OFFLOAD_CHANSWITCH_CMD,
7108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_SET_MODE_CMD,
7118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ECHO_CMD,
7128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_KEEPALIVE_CMD,
7138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_GET_KEEPALIVE_CMD,
7148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FORCE_FW_HANG_CMD,
7158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GPIO_CONFIG_CMD,
7168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GPIO_OUTPUT_CMD,
7178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ADD_WDS_ENTRY_CMD,
7188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_REMOVE_WDS_ENTRY_CMD,
7198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BCN_TX_HDR,
7208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BCN_SEND_FROM_HOST_CMD,
7218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MGMT_TX_HDR,
7228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ADDBA_CLEAR_RESP_CMD,
7238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ADDBA_SEND_CMD,
7248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DELBA_SEND_CMD,
7258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ADDBA_SETRESPONSE_CMD,
7268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SEND_SINGLEAMSDU_CMD,
7278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_PKTLOG_ENABLE_CMD,
7288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_PKTLOG_DISABLE_CMD,
7298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_HT_IE_CMD,
7308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_VHT_IE_CMD,
7318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_DSCP_TID_MAP_CMD,
7328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GREEN_AP_PS_ENABLE_CMD,
7338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_TPC_CONFIG_CMD,
7348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_BASE_MACADDR_CMD,
7358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_MCAST_GROUP_CMD,
7368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_AP_PROFILE,
7378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AP_PROFILE,
7388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_SCH_PRIORITY_TABLE_CMD,
7398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DFS_ENABLE_CMD,
7408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DFS_DISABLE_CMD,
7418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ADD_PATTERN_CMD,
7428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_BITMAP_PATTERN_T,
7438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_IPV4_SYNC_PATTERN_T,
7448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_IPV6_SYNC_PATTERN_T,
7458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_MAGIC_PATTERN_CMD,
7468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_UPDATE_REQUEST_CMD,
7478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_PKT_COALESCING_FILTER,
7488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_COALESCING_ADD_FILTER_CMD,
7498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_COALESCING_DELETE_FILTER_CMD,
7508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_COALESCING_QUERY_CMD,
7518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TXBF_CMD,
7528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DEBUG_LOG_CONFIG_CMD,
7538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NLO_EVENT,
7548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHATTER_QUERY_REPLY_EVENT,
7558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UPLOAD_H_HDR,
7568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CAPTURE_H_EVENT_HDR,
7578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_WNM_SLEEPMODE_CMD,
7588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD,
7598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_WMM_ADDTS_CMD,
7608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_WMM_DELTS_CMD,
7618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_WMM_PARAMS_CMD,
7628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TDLS_SET_STATE_CMD,
7638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TDLS_PEER_UPDATE_CMD,
7648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT,
7658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TDLS_PEER_CAPABILITIES,
7668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_MCC_SET_TBTT_MODE_CMD,
7678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_CHAN_LIST,
7688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_MCC_BCN_INTVL_CHANGE_EVENT,
7698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RESMGR_ADAPTIVE_OCS_CMD,
7708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RESMGR_SET_CHAN_TIME_QUOTA_CMD,
7718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RESMGR_SET_CHAN_LATENCY_CMD,
7728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BA_REQ_SSN_CMD,
7738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BA_RSP_SSN_EVENT,
7748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_SMPS_FORCE_MODE_CMD,
7758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_MCASTBCAST_FILTER_CMD,
7768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_SET_OPPPS_CMD,
7778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_SET_NOA_CMD,
7788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BA_REQ_SSN_CMD_SUB_STRUCT_PARAM,
7798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BA_REQ_SSN_EVENT_SUB_STRUCT_PARAM,
7808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_SMPS_PARAM_CMD,
7818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_GTX_PARAMS_CMD,
7828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MCC_SCHED_TRAFFIC_STATS_CMD,
7838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MCC_SCHED_STA_TRAFFIC_STATS,
7848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT,
7858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT,
7868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_SET_ENABLE_CMD,
7878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_SET_TCP_PARAMS_CMD,
7888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_SET_TCP_PKT_FILTER_CMD,
7898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_SET_UDP_PARAMS_CMD,
7908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_SET_UDP_PKT_FILTER_CMD,
7918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HB_IND_EVENT,
7928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_PAUSE_EVENT,
7938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RFKILL_EVENT,
7948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DFS_RADAR_EVENT,
7958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DFS_PHYERR_FILTER_ENA_CMD,
7968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DFS_PHYERR_FILTER_DIS_CMD,
7978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_RESULT_SCAN_LIST,
7988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_RESULT_NETWORK_INFO,
7998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_ENABLE_CMD,
8008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_DISABLE_CMD,
8018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_TRIGGER_RESULT_CMD,
8028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_ENABLED_EVENT,
8038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BATCH_SCAN_RESULT_EVENT,
8048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_PLMREQ_START_CMD,
8058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_PLMREQ_STOP_CMD,
8068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERMAL_MGMT_CMD,
8078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERMAL_MGMT_EVENT,
8088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_INFO_REQ_CMD,
8098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_INFO_EVENT,
8108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_INFO,
8118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_TX_FAIL_CNT_THR_EVENT,
8128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMC_SET_MODE_CMD,
8138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMC_SET_ACTION_PERIOD_CMD,
8148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMC_CONFIG_CMD,
8158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MHF_OFFLOAD_SET_MODE_CMD,
8168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MHF_OFFLOAD_PLUMB_ROUTING_TABLE_CMD,
8178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD,
8188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD,
8198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_CMD_PARAM,
8208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_EVENT_HDR,
8218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_L1SS_TRACK_EVENT,
8228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DIAG_DATA_CONTAINER_EVENT,
8238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MODEM_POWER_STATE_CMD_PARAM,
8248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_GET_ESTIMATED_LINKSPEED_CMD,
8258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ESTIMATED_LINKSPEED_EVENT,
8268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AGGR_STATE_TRIG_EVENT,
8278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MHF_OFFLOAD_ROUTING_TABLE_ENTRY,
8288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_CMD,
8298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQ_STATS_EXT_CMD,
8308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STATS_EXT_EVENT,
8318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OBSS_SCAN_ENABLE_CMD,
8328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OBSS_SCAN_DISABLE_CMD,
8338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OFFLOAD_PRB_RSP_TX_STATUS_EVENT,
8348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_LED_CONFIG_CMD,
8358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HOST_AUTO_SHUTDOWN_CFG_CMD,
8368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HOST_AUTO_SHUTDOWN_EVENT,
8378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UPDATE_WHAL_MIB_STATS_EVENT,
8388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHAN_AVOID_UPDATE_CMD_PARAM,
8398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ACER_IOAC_PKT_PATTERN_T,
8408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ACER_IOAC_TMR_PATTERN_T,
8418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_IOAC_ADD_KEEPALIVE_CMD,
8428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_IOAC_DEL_KEEPALIVE_CMD,
8438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_IOAC_KEEPALIVE_T,
8448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ACER_IOAC_ADD_PATTERN_CMD,
8458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ACER_IOAC_DEL_PATTERN_CMD,
8468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_START_LINK_STATS_CMD,
8478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CLEAR_LINK_STATS_CMD,
8488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_LINK_STATS_CMD,
8498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IFACE_LINK_STATS_EVENT,
8508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RADIO_LINK_STATS_EVENT,
8518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STATS_EVENT,
8528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHANNEL_STATS,
8538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RADIO_LINK_STATS,
8548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RATE_STATS,
8558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_LINK_STATS,
8568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WMM_AC_STATS,
8578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IFACE_LINK_STATS,
8588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_MGMT_SNOOPING_CONFIG_CMD,
8598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_START_SCAN_CMD,
8608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_STOP_SCAN_CMD,
8618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_RESULT_EVENT,
8628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STATE_EVENT,
8638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_BUCKET_CMD,
8648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_BUCKET_CHANNEL_EVENT,
8658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_START_CMD,
8668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_STOP_CMD,
8678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMD,
8688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_WLAN_CHANGE_BSSID_PARAM_CMD,
8698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMD,
8708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_GET_CACHED_RESULTS_CMD,
8718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMD,
8728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_SET_CAPABILITIES_CMD,
8738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_GET_CAPABILITIES_CMD,
8748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_OPERATION_EVENT,
8758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_START_STOP_EVENT,
8768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_TABLE_USAGE_EVENT,
8778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_WLAN_DESCRIPTOR_EVENT,
8788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_RSSI_INFO_EVENT,
8798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CACHED_RESULTS_EVENT,
8808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_WLAN_CHANGE_RESULTS_EVENT,
8818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_WLAN_CHANGE_RESULT_BSSID_EVENT,
8828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_HOTLIST_MATCH_EVENT,
8838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CAPABILITIES_EVENT,
8848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CACHE_CAPABILITIES_EVENT,
8858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_WLAN_CHANGE_MONITOR_CAPABILITIES_EVENT,
8868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_HOTLIST_MONITOR_CAPABILITIES_EVENT,
8878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_D0_WOW_ENABLE_DISABLE_CMD,
8888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_D0_WOW_DISABLE_ACK_EVENT,
8898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UNIT_TEST_CMD,
8908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_OFFLOAD_TLV_PARAM,
8918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_11I_OFFLOAD_TLV_PARAM,
8928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_11R_OFFLOAD_TLV_PARAM,
8938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_ESE_OFFLOAD_TLV_PARAM,
8948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SYNCH_EVENT,
8958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SYNCH_COMPLETE,
8968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTWOW_ENABLE_CMD,
8978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTWOW_SET_APP_TYPE1_PARAMS_CMD,
8988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTWOW_SET_APP_TYPE2_PARAMS_CMD,
8998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_STATUS_EVENT,
9008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LPI_HANDOFF_EVENT,
9018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_RATE_STATS_EVENT,
9028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_RATE_HT_INFO,
9038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RIC_REQUEST,
9048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_TEMPERATURE_CMD,
9058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_TEMPERATURE_EVENT,
9068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_DHCP_SERVER_OFFLOAD_CMD,
9078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TPC_CHAINMASK_CONFIG_CMD,
9088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RIC_TSPEC,
9098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TPC_CHAINMASK_CONFIG,
9108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IPA_OFFLOAD_CMD,
9118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_PROB_REQ_OUI_CMD,
9128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_KEY_MATERIAL,
9138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TDLS_SET_OFFCHAN_MODE_CMD,
9148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_LED_FLASHING_CMD,
9158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MDNS_OFFLOAD_CMD,
9168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MDNS_SET_FQDN_CMD,
9178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MDNS_SET_RESP_CMD,
9188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MDNS_GET_STATS_CMD,
9198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MDNS_STATS_EVENT,
9208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_INVOKE_CMD,
9218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_RESUME_EVENT,
9228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_ANTENNA_DIVERSITY_CMD,
9238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAP_OFL_ENABLE_CMD,
9248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAP_OFL_ADD_STA_EVENT,
9258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAP_OFL_DEL_STA_EVENT,
9268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_APFIND_CMD_PARAM,
9278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_APFIND_EVENT_HDR,
9288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SET_SCHED_CMD,
9298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SET_SCHED_EVENT,
9308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SET_CONFIG_CMD,
9318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SET_CONFIG_RESP_EVENT,
9328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SET_UTC_TIME_CMD,
9338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_START_TIMING_ADVERT_CMD,
9348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_STOP_TIMING_ADVERT_CMD,
9358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_GET_TSF_TIMER_CMD,
9368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_GET_TSF_TIMER_RESP_EVENT,
9378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_GET_STATS_CMD,
9388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_CHANNEL_STATS_REQUEST,
9398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_GET_STATS_RESP_EVENT,
9408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_CLEAR_STATS_CMD,
9418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_UPDATE_NDL_CMD,
9428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_UPDATE_NDL_RESP_EVENT,
9438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_STATS_EVENT,
9448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_CHANNEL,
9458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OCB_SCHEDULE_ELEMENT,
9468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_NDL_STATS_PER_CHANNEL,
9478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_NDL_CHAN,
9488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_QOS_PARAMETER,
9498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DCC_NDL_ACTIVE_STATE_CONFIG,
9508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SCAN_EXTENDED_THRESHOLD_PARAM,
9518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_FILTER_FIXED_PARAM,
9528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PASSPOINT_CONFIG_CMD,
9538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PASSPOINT_EVENT_HDR,
9548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMD,
9558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_HOTLIST_SSID_MATCH_EVENT,
9568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_TSF_TSTAMP_ACTION_CMD,
9578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_TSF_REPORT_EVENT,
9588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GET_FW_MEM_DUMP,
9598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UPDATE_FW_MEM_DUMP,
9608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FW_MEM_DUMP_PARAMS,
9618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DEBUG_MESG_FLUSH,
9628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DEBUG_MESG_FLUSH_COMPLETE,
9638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SET_RATE_REPORT_CONDITION,
9648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SUBNET_CHANGE_CONFIG,
9658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_IE_CMD,
9668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RSSI_BREACH_MONITOR_CONFIG,
9678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RSSI_BREACH_EVENT,
9688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EVENT_INITIAL_WAKEUP,
9698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_PCL_CMD,
9708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_HW_MODE_CMD,
9718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_HW_MODE_RESPONSE_EVENT,
9728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_HW_MODE_TRANSITION_EVENT,
9738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_TXRX_STREAMS,
9748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_HW_MODE_RESPONSE_VDEV_MAC_ENTRY,
9758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_DUAL_MAC_CONFIG_CMD,
9768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_DUAL_MAC_CONFIG_RESPONSE_EVENT,
9778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IOAC_SOCK_PATTERN_T,
9788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_ENABLE_ICMPV6_NA_FLT_CMD,
9798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DIAG_EVENT_LOG_CONFIG,
9808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DIAG_EVENT_LOG_SUPPORTED_EVENT,
9818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PACKET_FILTER_CONFIG,
9828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PACKET_FILTER_ENABLE,
9838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAP_SET_BLACKLIST_PARAM_CMD,
9848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MGMT_TX_CMD,
9858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MGMT_TX_COMPL_EVENT,
9868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_SET_ANTENNA_MODE_CMD,
9878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_UDP_SVC_OFLD_CMD,
9888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_LRO_INFO_CMD,
9898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_EARLYSTOP_RSSI_THRES_PARAM,
9908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SERVICE_READY_EXT_EVENT,
9918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MAWC_SENSOR_REPORT_IND_CMD,
9928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MAWC_ENABLE_SENSOR_EVENT,
9938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_CONFIGURE_MAWC_CMD,
9948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NLO_CONFIGURE_MAWC_CMD,
9958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_EXTSCAN_CONFIGURE_MAWC_CMD,
9968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ASSOC_CONF_EVENT,
9978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD,
9988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AP_PS_EGAP_PARAM_CMD,
9998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AP_PS_EGAP_INFO_EVENT,
10008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PMF_OFFLOAD_SET_SA_QUERY_CMD,
10018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TRANSFER_DATA_TO_FLASH_CMD,
10028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENT,
10038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCPC_EVENT,
10048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_AP_PS_EGAP_INFO_CHAINMASK_LIST,
10058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_STA_SMPS_FORCE_MODE_COMPLETE_EVENT,
10068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_GET_CAPABILITY_CMD,
10078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_CAPABILITY_INFO_EVT,
10088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_GET_VDEV_STATS_CMD,
10098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_VDEV_STATS_INFO_EVT,
10108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_SET_VDEV_INSTRUCTIONS_CMD,
10118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_DEL_VDEV_INSTRUCTIONS_CMD,
10128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_DELETE_RESP_EVENT,
10138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_DELETE_RESP_EVENT,
10148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_DENSE_THRES_PARAM,
10158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ENLO_CANDIDATE_SCORE_PARAM,
10168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_UPDATE_WDS_ENTRY_CMD,
10178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_CONFIG_RATEMASK,
10188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_FIPS_CMD,
10198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SMART_ANT_ENABLE_CMD,
10208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SMART_ANT_SET_RX_ANTENNA_CMD,
10218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SMART_ANT_SET_TX_ANTENNA_CMD,
10228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SMART_ANT_SET_TRAIN_ANTENNA_CMD,
10238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMD,
10248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_ANT_SWITCH_TBL_CMD,
10258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_CTL_TABLE_CMD,
10268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_MIMOGAIN_TABLE_CMD,
10278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FWTEST_SET_PARAM_CMD,
10288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ATF_REQUEST,
10298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ATF_REQUEST,
10308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_ANI_CCK_CONFIG_CMD,
10318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_ANI_OFDM_CONFIG_CMD,
10328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_INST_RSSI_STATS_RESP,
10338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MED_UTIL_REPORT_EVENT,
10348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STA_PS_STATECHANGE_EVENT,
10358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WDS_ADDR_EVENT,
10368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_RATECODE_LIST_EVENT,
10378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENT,
10388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_TPC_EVENT,
10398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ANI_OFDM_EVENT,
10408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ANI_CCK_EVENT,
10418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CHANNEL_HOPPING_EVENT,
10428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_FIPS_EVENT,
10438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ATF_PEER_INFO,
10448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_TPC_CMD,
10458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_FILTER_NRP_CONFIG_CMD,
10468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_QBOOST_CFG_CMD,
10478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SMART_ANT_GPIO_HANDLE,
10488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SMART_ANT_SET_TX_ANTENNA_SERIES,
10498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SMART_ANT_SET_TRAIN_ANTENNA_PARAM,
10508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_ANT_CTRL_CHAIN,
10518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_CCK_OFDM_RATE_INFO,
10528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_MCS_RATE_INFO,
10538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_NFCAL_POWER_ALL_CHANNELS_NFDBR,
10548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_NFCAL_POWER_ALL_CHANNELS_NFDBM,
10558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_NFCAL_POWER_ALL_CHANNELS_FREQNUM,
10568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MU_REPORT_TOTAL_MU,
10578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_DSCP_TID_MAP_CMD,
10588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SET_MBO,
10598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MIB_STATS_ENABLE_CMD,
10608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_DISC_IFACE_CREATED_EVENT,
10618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_DISC_IFACE_DELETED_EVENT,
10628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_STARTED_CLUSTER_EVENT,
10638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NAN_JOINED_CLUSTER_EVENT,
10648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDI_GET_CAP_REQ,
10658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_INITIATOR_REQ,
10668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_RESPONDER_REQ,
10678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_END_REQ,
10688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDI_CAP_RSP_EVENT,
10698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_INITIATOR_RSP_EVENT,
10708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_RESPONDER_RSP_EVENT,
10718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_END_RSP_EVENT,
10728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_INDICATION_EVENT,
10738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_CONFIRM_EVENT,
10748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_END_INDICATION_EVENT,
10758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_QUIET_CMD,
10768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_PCL_CMD,
10778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_HW_MODE_CMD,
10788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_MAC_CONFIG_CMD,
10798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_ANTENNA_MODE_CMD,
10808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_HW_MODE_RESPONSE_EVENT,
10818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_HW_MODE_TRANSITION_EVENT,
10828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_HW_MODE_RESPONSE_VDEV_MAC_ENTRY,
10838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_MAC_CONFIG_RESPONSE_EVENT,
10848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_COEX_CONFIG_CMD,
10858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CONFIG_ENHANCED_MCAST_FILTER,
10868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHAN_AVOID_RPT_ALLOW_CMD,
10878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_PERIODIC_CHANNEL_STATS_CONFIG,
10888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_CUSTOM_AGGR_SIZE_CMD,
10898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_WAL_POWER_DEBUG_CMD,
10908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MAC_PHY_CAPABILITIES,
10918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HW_MODE_CAPABILITIES,
10928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_MAC_PHY_HW_MODE_CAPS,
10938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HAL_REG_CAPABILITIES_EXT,
10948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SOC_HAL_REG_CAPABILITIES,
10958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_WISA_CMD,
10968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_POWER_LEVEL_STATS_EVT,
10978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_ADAPTIVE_DWELL_PARAMETERS_TLV,
10988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_ADAPTIVE_DWELL_CONFIG,
10998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WOW_SET_ACTION_WAKE_UP_CMD,
11008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_NDP_END_RSP_PER_NDI,
11018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_BWF_REQUEST,
11028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BWF_PEER_INFO,
11038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DBGLOG_TIME_STAMP_SYNC_CMD,
11048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMC_SET_LEADER_CMD,
11058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RMC_MANUAL_LEADER_EVENT,
11068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PER_CHAIN_RSSI_STATS,
11078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RSSI_STATS,
11088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_LO_START_CMD,
11098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_LO_STOP_CMD,
11108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_P2P_LO_STOPPED_EVENT,
11118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_REORDER_QUEUE_SETUP_CMD,
11128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_REORDER_QUEUE_REMOVE_CMD,
11138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_MULTIPLE_MCAST_FILTER_CMD,
11148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MGMT_TX_COMPL_BUNDLE_EVENT,
11158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_READ_DATA_FROM_FLASH_CMD,
11168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_READ_DATA_FROM_FLASH_EVENT,
11178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_REORDER_TIMEOUT_VAL_CMD,
11188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SET_RX_BLOCKSIZE_CMD,
11198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_WAKEUP_CONFIG_CMDID,
11208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TLV_BUF_LEN_PARAM,
11218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SERVICE_AVAILABLE_EVENT,
11228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ANTDIV_INFO_REQ_CMD,
11238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ANTDIV_INFO_EVENT,
11248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_ANTDIV_INFO,
11258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_GET_ANTDIV_STATUS_CMD,
11268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_ANTDIV_STATUS_EVENT,
11278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MNT_FILTER_CMD,
11288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GET_CHIP_POWER_STATS_CMD,
11298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CHIP_POWER_STATS_EVENT,
11308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_COEX_GET_ANTENNA_ISOLATION_CMD,
11318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_COEX_REPORT_ISOLATION_EVENT,
11328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHAN_CCA_STATS,
11338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SIGNAL_STATS,
11348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_STATS,
11358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_AC_TX_STATS,
11368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RX_STATS,
11378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_AC_RX_STATS,
11388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REPORT_STATS_EVENT,
11398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHAN_CCA_STATS_THRESH,
11408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_SIGNAL_STATS_THRESH,
11418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_STATS_THRESH,
11428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RX_STATS_THRESH,
11438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_STATS_THRESHOLD_CMD,
11448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_WLAN_STATS_CMD,
11458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RX_AGGR_FAILURE_EVENT,
11468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RX_AGGR_FAILURE_INFO,
11478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMD,
11488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENT,
11498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_BAND_TO_MAC,
11508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TBTT_OFFSET_INFO,
11518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TBTT_OFFSET_EXT_EVENT,
11528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAR_LIMITS_CMD,
11538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SAR_LIMIT_CMD_ROW,
11548c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMD,
11558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMD,
11568c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ADFS_CH_CFG_CMD,
11578c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ADFS_OCAC_ABORT_CMD,
11588c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DFS_RADAR_DETECTION_EVENT,
11598c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ADFS_OCAC_COMPLETE_EVENT,
11608c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_DFS_CAC_COMPLETE_EVENT,
11618c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VENDOR_OUI,
11628c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_RCPI_CMD,
11638c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UPDATE_RCPI_EVENT,
11648c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_PEER_STATS_INFO_CMD,
11658c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STATS_INFO,
11668c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_STATS_INFO_EVENT,
11678c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PKGID_EVENT,
11688c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CONNECTED_NLO_RSSI_PARAMS,
11698c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_CURRENT_COUNTRY_CMD,
11708c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REGULATORY_RULE_STRUCT,
11718c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REG_CHAN_LIST_CC_EVENT,
11728c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_11D_SCAN_START_CMD,
11738c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_11D_SCAN_STOP_CMD,
11748c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_11D_NEW_COUNTRY_EVENT,
11758c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_RADIO_CHAN_STATS_CMD,
11768c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RADIO_CHAN_STATS,
11778c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RADIO_CHAN_STATS_EVENT,
11788c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_PER_CONFIG,
11798c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMD,
11808c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENT,
11818c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BPF_SET_VDEV_ACTIVE_MODE_CMD,
11828c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HW_DATA_FILTER_CMD,
11838c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CONNECTED_NLO_BSS_BAND_RSSI_PREF,
11848c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PEER_OPER_MODE_CHANGE_EVENT,
11858c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CHIP_POWER_SAVE_FAILURE_DETECTED,
11868c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMD,
11878c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT,
11888c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_UPDATE_PKT_ROUTING_CMD,
11898c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CHECK_CAL_VERSION_CMD,
11908c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CHECK_CAL_VERSION_EVENT,
11918c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_SET_DIVERSITY_GAIN_CMD,
11928c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MAC_PHY_CHAINMASK_COMBO,
11938c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_MAC_PHY_CHAINMASK_CAPABILITY,
11948c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_SET_ARP_STATS_CMD,
11958c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_GET_ARP_STATS_CMD,
11968c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_GET_ARP_STATS_EVENT,
11978c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_IFACE_OFFLOAD_STATS,
11988c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_REQUEST_STATS_CMD_SUB_STRUCT_PARAM,
11998c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_RSSI_CTL_EXT,
12008c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SINGLE_PHYERR_EXT_RX_HDR,
12018c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_COEX_BT_ACTIVITY_EVENT,
12028c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_GET_TX_POWER_CMD,
12038c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_TX_POWER_EVENT,
12048c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OFFCHAN_DATA_TX_COMPL_EVENT,
12058c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OFFCHAN_DATA_TX_SEND_CMD,
12068c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_TX_SEND_PARAMS,
12078c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HE_RATE_SET,
12088c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_CONGESTION_STATS,
12098c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SET_INIT_COUNTRY_CMD,
12108c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_DBS_DUTY_CYCLE,
12118c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_SCAN_DBS_DUTY_CYCLE_PARAM_TLV,
12128c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DIV_GET_RSSI_ANTID,
12138c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERM_THROT_CONFIG_REQUEST,
12148c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERM_THROT_LEVEL_CONFIG_INFO,
12158c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERM_THROT_STATS_EVENT,
12168c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_THERM_THROT_LEVEL_STATS_INFO,
12178c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_DIV_RSSI_ANTID_EVENT,
12188c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_DMA_RING_CAPABILITIES,
12198c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_DMA_RING_CFG_REQ,
12208c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_DMA_RING_CFG_RSP,
12218c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_INDIRECT_DATA,
12228c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_DMA_BUF_RELEASE,
12238c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OEM_DMA_BUF_RELEASE_ENTRY,
12248c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_BSS_CHAN_INFO_REQUEST,
12258c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_BSS_CHAN_INFO_EVENT,
12268c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_LCA_DISALLOW_CONFIG_TLV_PARAM,
12278c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VDEV_LIMIT_OFFCHAN_CMD,
12288c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_RSSI_REJECTION_OCE_CONFIG_PARAM,
12298c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_UNIT_TEST_EVENT,
12308c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_FILS_OFFLOAD_TLV_PARAM,
12318c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_UPDATE_PMK_CACHE_CMD,
12328c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PMK_CACHE,
12338c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_UPDATE_FILS_HLP_PKT_CMD,
12348c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_FILS_SYNCH_TLV_PARAM,
12358c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_GTK_OFFLOAD_EXTENDED_TLV_PARAM,
12368c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_BG_SCAN_ROAMING_PARAM,
12378c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OIC_PING_OFFLOAD_PARAMS_CMD,
12388c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OIC_PING_OFFLOAD_SET_ENABLE_CMD,
12398c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_OIC_PING_HANDOFF_EVENT,
12408c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DHCP_LEASE_RENEW_OFFLOAD_CMD,
12418c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DHCP_LEASE_RENEW_EVENT,
12428c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_BTM_CONFIG,
12438c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_DEBUG_MESG_FW_DATA_STALL_PARAM,
12448c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_WLM_CONFIG_CMD,
12458c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_UPDATE_CTLTABLE_REQUEST,
12468c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_UPDATE_CTLTABLE_EVENT,
12478c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_CND_SCORING_PARAM,
12488c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_PDEV_CONFIG_VENDOR_OUI_ACTION,
12498c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_VENDOR_OUI_EXT,
12508c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ROAM_SYNCH_FRAME_EVENT,
12518c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_FD_SEND_FROM_HOST_CMD,
12528c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_ENABLE_FILS_CMD,
12538c2ecf20Sopenharmony_ci	WMI_TLV_TAG_STRUCT_HOST_SWFDA_EVENT,
12548c2ecf20Sopenharmony_ci
12558c2ecf20Sopenharmony_ci	WMI_TLV_TAG_MAX
12568c2ecf20Sopenharmony_ci};
12578c2ecf20Sopenharmony_ci
12588c2ecf20Sopenharmony_cienum wmi_tlv_service {
12598c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BEACON_OFFLOAD = 0,
12608c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_OFFLOAD,
12618c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ROAM_SCAN_OFFLOAD,
12628c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_MISS_OFFLOAD,
12638c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_PWRSAVE,
12648c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_ADVANCED_PWRSAVE,
12658c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_UAPSD,
12668c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_DFS,
12678c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11AC,
12688c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BLOCKACK,
12698c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PHYERR,
12708c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_FILTER,
12718c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RTT,
12728c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WOW,
12738c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RATECTRL_CACHE,
12748c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_IRAM_TIDS,
12758c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ARPNS_OFFLOAD,
12768c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NLO,
12778c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GTK_OFFLOAD,
12788c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_SCH,
12798c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CSA_OFFLOAD,
12808c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHATTER,
12818c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_FREQAVOID,
12828c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PACKET_POWER_SAVE,
12838c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FORCE_FW_HANG,
12848c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GPIO,
12858c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_DTIM_PS_MODULATED_DTIM,
12868c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_UAPSD_BASIC_AUTO_TRIG,
12878c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_UAPSD_VAR_AUTO_TRIG,
12888c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_KEEP_ALIVE,
12898c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_ENCAP,
12908c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_PS_DETECT_OUT_OF_SYNC,
12918c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EARLY_RX,
12928c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_SMPS,
12938c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FWTEST,
12948c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_WMMAC,
12958c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS,
12968c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BURST,
12978c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MCC_BCN_INTERVAL_CHANGE,
12988c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ADAPTIVE_OCS,
12998c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BA_SSN_SUPPORT,
13008c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FILTER_IPSEC_NATKEEPALIVE,
13018c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_HB,
13028c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LTE_ANT_SHARE_SUPPORT,
13038c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BATCH_SCAN,
13048c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_QPOWER,
13058c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PLMREQ,
13068c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THERMAL_MGMT,
13078c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RMC,
13088c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MHF_OFFLOAD,
13098c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_SAR,
13108c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_TXRATE_OVERRIDE,
13118c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN,
13128c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_L1SS_STAT,
13138c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ESTIMATE_LINKSPEED,
13148c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OBSS_SCAN,
13158c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_OFFCHAN,
13168c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_UAPSD_BUFFER_STA,
13178c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_UAPSD_SLEEP_STA,
13188c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_IBSS_PWRSAVE,
13198c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LPASS,
13208c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXTSCAN,
13218c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_D0WOW,
13228c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HSOFFLOAD,
13238c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ROAM_HO_OFFLOAD,
13248c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RX_FULL_REORDER,
13258c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DHCP_OFFLOAD,
13268c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_RX_IPA_OFFLOAD_SUPPORT,
13278c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MDNS_OFFLOAD,
13288c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SAP_AUTH_OFFLOAD,
13298c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BAND_SIMULTANEOUS_SUPPORT,
13308c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OCB,
13318c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_ARPNS_OFFLOAD,
13328c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PER_BAND_CHAINMASK_SUPPORT,
13338c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PACKET_FILTER_OFFLOAD,
13348c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MGMT_TX_HTT,
13358c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MGMT_TX_WMI,
13368c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXT_MSG,
13378c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MAWC,
13388c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_ASSOC_CONF,
13398c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EGAP,
13408c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_PMF_OFFLOAD,
13418c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_UNIFIED_WOW_CAPABILITY,
13428c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENHANCED_PROXY_STA,
13438c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ATF,
13448c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_GPIO,
13458c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AUX_SPECTRAL_INTF,
13468c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AUX_CHAN_LOAD_INTF,
13478c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BSS_CHANNEL_INFO_64,
13488c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENTERPRISE_MESH,
13498c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RESTRT_CHNL_SUPPORT,
13508c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BPF_OFFLOAD,
13518c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SYNC_DELETE_CMDS,
13528c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SMART_ANTENNA_SW_SUPPORT,
13538c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SMART_ANTENNA_HW_SUPPORT,
13548c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RATECTRL_LIMIT_MAX_MIN_RATES,
13558c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DATA,
13568c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_RTT,
13578c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11AX,
13588c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DEPRECATED_REPLACE,
13598c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_CONN_TRACKER_IN_HOST_MODE,
13608c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENHANCED_MCAST_FILTER,
13618c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PERIODIC_CHAN_STAT_SUPPORT,
13628c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MESH_11S,
13638c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HALF_RATE_QUARTER_RATE_SUPPORT,
13648c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_RX_FILTER,
13658c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_P2P_LISTEN_OFFLOAD_SUPPORT,
13668c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MARK_FIRST_WAKEUP_PACKET,
13678c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MULTIPLE_MCAST_FILTER_SET,
13688c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HOST_MANAGED_RX_REORDER,
13698c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FLASH_RDWR_SUPPORT,
13708c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_STATS_REPORT,
13718c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_MSDU_ID_NEW_PARTITION_SUPPORT,
13728c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DFS_PHYERR_OFFLOAD,
13738c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RCPI_SUPPORT,
13748c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FW_MEM_DUMP_SUPPORT,
13758c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_STATS_INFO,
13768c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_REGULATORY_DB,
13778c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11D_OFFLOAD,
13788c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HW_DATA_FILTERING,
13798c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MULTIPLE_VDEV_RESTART,
13808c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PKT_ROUTING,
13818c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHECK_CAL_VERSION,
13828c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OFFCHAN_TX_WMI,
13838c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_8SS_TX_BFEE,
13848c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXTENDED_NSS_SUPPORT,
13858c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ACK_TIMEOUT,
13868c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PDEV_BSS_CHANNEL_INFO_64,
13878c2ecf20Sopenharmony_ci	WMI_TLV_MAX_SERVICE = 128,
13888c2ecf20Sopenharmony_ci
13898c2ecf20Sopenharmony_ci/* NOTE:
13908c2ecf20Sopenharmony_ci * The above service flags are delivered in the wmi_service_bitmap field
13918c2ecf20Sopenharmony_ci * of the WMI_TLV_SERVICE_READY_EVENT message.
13928c2ecf20Sopenharmony_ci * The below service flags are delivered in a WMI_TLV_SERVICE_AVAILABLE_EVENT
13938c2ecf20Sopenharmony_ci * message rather than in the WMI_TLV_SERVICE_READY_EVENT message's
13948c2ecf20Sopenharmony_ci * wmi_service_bitmap field.
13958c2ecf20Sopenharmony_ci * The WMI_TLV_SERVICE_AVAILABLE_EVENT message immediately precedes the
13968c2ecf20Sopenharmony_ci * WMI_TLV_SERVICE_READY_EVENT message.
13978c2ecf20Sopenharmony_ci */
13988c2ecf20Sopenharmony_ci
13998c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHAN_LOAD_INFO = 128,
14008c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_PPDU_INFO_STATS_SUPPORT,
14018c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_LIMIT_OFFCHAN_SUPPORT,
14028c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FILS_SUPPORT,
14038c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_OIC_PING_OFFLOAD,
14048c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_DHCP_RENEW,
14058c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MAWC_SUPPORT,
14068c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_LATENCY_CONFIG,
14078c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PDEV_UPDATE_CTLTABLE_SUPPORT,
14088c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PKTLOG_SUPPORT_OVER_HTT,
14098c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_MULTI_GROUP_KEY_SUPPORT,
14108c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_PHYMODE_SUPPORT,
14118c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THERM_THROT,
14128c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_OFFLOAD_START_STOP_SUPPORT,
14138c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WOW_WAKEUP_BY_TIMER_PATTERN,
14148c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_MAP_UNMAP_V2_SUPPORT = 143,
14158c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OFFCHAN_DATA_TID_SUPPORT = 144,
14168c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RX_PROMISC_ENABLE_SUPPORT = 145,
14178c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SUPPORT_DIRECT_DMA = 146,
14188c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_OBSS_DETECTION_OFFLOAD = 147,
14198c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11K_NEIGHBOUR_REPORT_SUPPORT = 148,
14208c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LISTEN_INTERVAL_OFFLOAD_SUPPORT = 149,
14218c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BSS_COLOR_OFFLOAD = 150,
14228c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RUNTIME_DPD_RECAL = 151,
14238c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_TWT = 152,
14248c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_TWT = 153,
14258c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GMAC_OFFLOAD_SUPPORT = 154,
14268c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT = 155,
14278c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_TID_CONFIGS_SUPPORT = 156,
14288c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_SWRETRY_PER_AC_CONFIG_SUPPORT = 157,
14298c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BEACON_ON_SINGLE_MAC_SCC_SUPPORT = 158,
14308c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BEACON_ON_SINGLE_MAC_MCC_SUPPORT = 159,
14318c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MOTION_DET = 160,
14328c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_INFRA_MBSSID = 161,
14338c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OBSS_SPATIAL_REUSE = 162,
14348c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_DIFFERENT_BEACON_INTERVAL_SUPPORT = 163,
14358c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DBS_SUPPORT = 164,
14368c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NDI_DBS_SUPPORT = 165,
14378c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_SAP_SUPPORT = 166,
14388c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NDI_SAP_SUPPORT = 167,
14398c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CFR_CAPTURE_SUPPORT = 168,
14408c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CFR_CAPTURE_IND_MSG_TYPE_1 = 169,
14418c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ESP_SUPPORT = 170,
14428c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_CHWIDTH_CHANGE = 171,
14438c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_HPCS_PULSE = 172,
14448c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PER_VDEV_CHAINMASK_CONFIG_SUPPORT = 173,
14458c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_DATA_MGMT_ACK_RSSI = 174,
14468c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DISABLE_SUPPORT = 175,
14478c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN = 176,
14488c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_SUPPORT_UNEQUAL_ISOLATION = 177,
14498c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT = 178,
14508c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SUPPORT_EXTEND_ADDRESS = 179,
14518c2ecf20Sopenharmony_ci
14528c2ecf20Sopenharmony_ci	WMI_TLV_MAX_EXT_SERVICE = 256,
14538c2ecf20Sopenharmony_ci};
14548c2ecf20Sopenharmony_ci
14558c2ecf20Sopenharmony_ci#define WMI_TLV_EXT_SERVICE_IS_ENABLED(wmi_svc_bmap, svc_id, len) \
14568c2ecf20Sopenharmony_ci	((svc_id) < (WMI_TLV_MAX_EXT_SERVICE) && \
14578c2ecf20Sopenharmony_ci	 (svc_id) >= (len) && \
14588c2ecf20Sopenharmony_ci	__le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 32]) & \
14598c2ecf20Sopenharmony_ci	BIT(((((svc_id) - (len)) % 32) & 0x1f)))
14608c2ecf20Sopenharmony_ci
14618c2ecf20Sopenharmony_ci#define SVCMAP(x, y, len) \
14628c2ecf20Sopenharmony_ci	do { \
14638c2ecf20Sopenharmony_ci		if ((WMI_SERVICE_IS_ENABLED((in), (x), (len))) || \
14648c2ecf20Sopenharmony_ci			(WMI_TLV_EXT_SERVICE_IS_ENABLED((in), (x), (len)))) \
14658c2ecf20Sopenharmony_ci			__set_bit(y, out); \
14668c2ecf20Sopenharmony_ci	} while (0)
14678c2ecf20Sopenharmony_ci
14688c2ecf20Sopenharmony_cistatic inline void
14698c2ecf20Sopenharmony_ciwmi_tlv_svc_map(const __le32 *in, unsigned long *out, size_t len)
14708c2ecf20Sopenharmony_ci{
14718c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BEACON_OFFLOAD,
14728c2ecf20Sopenharmony_ci	       WMI_SERVICE_BEACON_OFFLOAD, len);
14738c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SCAN_OFFLOAD,
14748c2ecf20Sopenharmony_ci	       WMI_SERVICE_SCAN_OFFLOAD, len);
14758c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_ROAM_SCAN_OFFLOAD,
14768c2ecf20Sopenharmony_ci	       WMI_SERVICE_ROAM_SCAN_OFFLOAD, len);
14778c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BCN_MISS_OFFLOAD,
14788c2ecf20Sopenharmony_ci	       WMI_SERVICE_BCN_MISS_OFFLOAD, len);
14798c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_PWRSAVE,
14808c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_PWRSAVE, len);
14818c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_ADVANCED_PWRSAVE,
14828c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_ADVANCED_PWRSAVE, len);
14838c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_AP_UAPSD,
14848c2ecf20Sopenharmony_ci	       WMI_SERVICE_AP_UAPSD, len);
14858c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_AP_DFS,
14868c2ecf20Sopenharmony_ci	       WMI_SERVICE_AP_DFS, len);
14878c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_11AC,
14888c2ecf20Sopenharmony_ci	       WMI_SERVICE_11AC, len);
14898c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BLOCKACK,
14908c2ecf20Sopenharmony_ci	       WMI_SERVICE_BLOCKACK, len);
14918c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_PHYERR,
14928c2ecf20Sopenharmony_ci	       WMI_SERVICE_PHYERR, len);
14938c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BCN_FILTER,
14948c2ecf20Sopenharmony_ci	       WMI_SERVICE_BCN_FILTER, len);
14958c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_RTT,
14968c2ecf20Sopenharmony_ci	       WMI_SERVICE_RTT, len);
14978c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_WOW,
14988c2ecf20Sopenharmony_ci	       WMI_SERVICE_WOW, len);
14998c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_RATECTRL_CACHE,
15008c2ecf20Sopenharmony_ci	       WMI_SERVICE_RATECTRL_CACHE, len);
15018c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_IRAM_TIDS,
15028c2ecf20Sopenharmony_ci	       WMI_SERVICE_IRAM_TIDS, len);
15038c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_ARPNS_OFFLOAD,
15048c2ecf20Sopenharmony_ci	       WMI_SERVICE_ARPNS_OFFLOAD, len);
15058c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_NLO,
15068c2ecf20Sopenharmony_ci	       WMI_SERVICE_NLO, len);
15078c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_GTK_OFFLOAD,
15088c2ecf20Sopenharmony_ci	       WMI_SERVICE_GTK_OFFLOAD, len);
15098c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SCAN_SCH,
15108c2ecf20Sopenharmony_ci	       WMI_SERVICE_SCAN_SCH, len);
15118c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_CSA_OFFLOAD,
15128c2ecf20Sopenharmony_ci	       WMI_SERVICE_CSA_OFFLOAD, len);
15138c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_CHATTER,
15148c2ecf20Sopenharmony_ci	       WMI_SERVICE_CHATTER, len);
15158c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_COEX_FREQAVOID,
15168c2ecf20Sopenharmony_ci	       WMI_SERVICE_COEX_FREQAVOID, len);
15178c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_PACKET_POWER_SAVE,
15188c2ecf20Sopenharmony_ci	       WMI_SERVICE_PACKET_POWER_SAVE, len);
15198c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_FORCE_FW_HANG,
15208c2ecf20Sopenharmony_ci	       WMI_SERVICE_FORCE_FW_HANG, len);
15218c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_GPIO,
15228c2ecf20Sopenharmony_ci	       WMI_SERVICE_GPIO, len);
15238c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_DTIM_PS_MODULATED_DTIM,
15248c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_DTIM_PS_MODULATED_DTIM, len);
15258c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_UAPSD_BASIC_AUTO_TRIG,
15268c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_UAPSD_BASIC_AUTO_TRIG, len);
15278c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_UAPSD_VAR_AUTO_TRIG,
15288c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_UAPSD_VAR_AUTO_TRIG, len);
15298c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_KEEP_ALIVE,
15308c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_KEEP_ALIVE, len);
15318c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TX_ENCAP,
15328c2ecf20Sopenharmony_ci	       WMI_SERVICE_TX_ENCAP, len);
15338c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_AP_PS_DETECT_OUT_OF_SYNC,
15348c2ecf20Sopenharmony_ci	       WMI_SERVICE_AP_PS_DETECT_OUT_OF_SYNC, len);
15358c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_EARLY_RX,
15368c2ecf20Sopenharmony_ci	       WMI_SERVICE_EARLY_RX, len);
15378c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_SMPS,
15388c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_SMPS, len);
15398c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_FWTEST,
15408c2ecf20Sopenharmony_ci	       WMI_SERVICE_FWTEST, len);
15418c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_WMMAC,
15428c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_WMMAC, len);
15438c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TDLS,
15448c2ecf20Sopenharmony_ci	       WMI_SERVICE_TDLS, len);
15458c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BURST,
15468c2ecf20Sopenharmony_ci	       WMI_SERVICE_BURST, len);
15478c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_MCC_BCN_INTERVAL_CHANGE,
15488c2ecf20Sopenharmony_ci	       WMI_SERVICE_MCC_BCN_INTERVAL_CHANGE, len);
15498c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_ADAPTIVE_OCS,
15508c2ecf20Sopenharmony_ci	       WMI_SERVICE_ADAPTIVE_OCS, len);
15518c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BA_SSN_SUPPORT,
15528c2ecf20Sopenharmony_ci	       WMI_SERVICE_BA_SSN_SUPPORT, len);
15538c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_FILTER_IPSEC_NATKEEPALIVE,
15548c2ecf20Sopenharmony_ci	       WMI_SERVICE_FILTER_IPSEC_NATKEEPALIVE, len);
15558c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_WLAN_HB,
15568c2ecf20Sopenharmony_ci	       WMI_SERVICE_WLAN_HB, len);
15578c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_LTE_ANT_SHARE_SUPPORT,
15588c2ecf20Sopenharmony_ci	       WMI_SERVICE_LTE_ANT_SHARE_SUPPORT, len);
15598c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BATCH_SCAN,
15608c2ecf20Sopenharmony_ci	       WMI_SERVICE_BATCH_SCAN, len);
15618c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_QPOWER,
15628c2ecf20Sopenharmony_ci	       WMI_SERVICE_QPOWER, len);
15638c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_PLMREQ,
15648c2ecf20Sopenharmony_ci	       WMI_SERVICE_PLMREQ, len);
15658c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_THERMAL_MGMT,
15668c2ecf20Sopenharmony_ci	       WMI_SERVICE_THERMAL_MGMT, len);
15678c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_RMC,
15688c2ecf20Sopenharmony_ci	       WMI_SERVICE_RMC, len);
15698c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_MHF_OFFLOAD,
15708c2ecf20Sopenharmony_ci	       WMI_SERVICE_MHF_OFFLOAD, len);
15718c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_COEX_SAR,
15728c2ecf20Sopenharmony_ci	       WMI_SERVICE_COEX_SAR, len);
15738c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_BCN_TXRATE_OVERRIDE,
15748c2ecf20Sopenharmony_ci	       WMI_SERVICE_BCN_TXRATE_OVERRIDE, len);
15758c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_NAN,
15768c2ecf20Sopenharmony_ci	       WMI_SERVICE_NAN, len);
15778c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_L1SS_STAT,
15788c2ecf20Sopenharmony_ci	       WMI_SERVICE_L1SS_STAT, len);
15798c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_ESTIMATE_LINKSPEED,
15808c2ecf20Sopenharmony_ci	       WMI_SERVICE_ESTIMATE_LINKSPEED, len);
15818c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_OBSS_SCAN,
15828c2ecf20Sopenharmony_ci	       WMI_SERVICE_OBSS_SCAN, len);
15838c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TDLS_OFFCHAN,
15848c2ecf20Sopenharmony_ci	       WMI_SERVICE_TDLS_OFFCHAN, len);
15858c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TDLS_UAPSD_BUFFER_STA,
15868c2ecf20Sopenharmony_ci	       WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, len);
15878c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TDLS_UAPSD_SLEEP_STA,
15888c2ecf20Sopenharmony_ci	       WMI_SERVICE_TDLS_UAPSD_SLEEP_STA, len);
15898c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_IBSS_PWRSAVE,
15908c2ecf20Sopenharmony_ci	       WMI_SERVICE_IBSS_PWRSAVE, len);
15918c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_LPASS,
15928c2ecf20Sopenharmony_ci	       WMI_SERVICE_LPASS, len);
15938c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_EXTSCAN,
15948c2ecf20Sopenharmony_ci	       WMI_SERVICE_EXTSCAN, len);
15958c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_D0WOW,
15968c2ecf20Sopenharmony_ci	       WMI_SERVICE_D0WOW, len);
15978c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_HSOFFLOAD,
15988c2ecf20Sopenharmony_ci	       WMI_SERVICE_HSOFFLOAD, len);
15998c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_ROAM_HO_OFFLOAD,
16008c2ecf20Sopenharmony_ci	       WMI_SERVICE_ROAM_HO_OFFLOAD, len);
16018c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_RX_FULL_REORDER,
16028c2ecf20Sopenharmony_ci	       WMI_SERVICE_RX_FULL_REORDER, len);
16038c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_DHCP_OFFLOAD,
16048c2ecf20Sopenharmony_ci	       WMI_SERVICE_DHCP_OFFLOAD, len);
16058c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_STA_RX_IPA_OFFLOAD_SUPPORT,
16068c2ecf20Sopenharmony_ci	       WMI_SERVICE_STA_RX_IPA_OFFLOAD_SUPPORT, len);
16078c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_MDNS_OFFLOAD,
16088c2ecf20Sopenharmony_ci	       WMI_SERVICE_MDNS_OFFLOAD, len);
16098c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SAP_AUTH_OFFLOAD,
16108c2ecf20Sopenharmony_ci	       WMI_SERVICE_SAP_AUTH_OFFLOAD, len);
16118c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_MGMT_TX_WMI,
16128c2ecf20Sopenharmony_ci	       WMI_SERVICE_MGMT_TX_WMI, len);
16138c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_MESH_11S,
16148c2ecf20Sopenharmony_ci	       WMI_SERVICE_MESH_11S, len);
16158c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SYNC_DELETE_CMDS,
16168c2ecf20Sopenharmony_ci	       WMI_SERVICE_SYNC_DELETE_CMDS, len);
16178c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_PEER_STATS_INFO,
16188c2ecf20Sopenharmony_ci	       WMI_SERVICE_PEER_STATS, len);
16198c2ecf20Sopenharmony_ci}
16208c2ecf20Sopenharmony_ci
16218c2ecf20Sopenharmony_cistatic inline void
16228c2ecf20Sopenharmony_ciwmi_tlv_svc_map_ext(const __le32 *in, unsigned long *out, size_t len)
16238c2ecf20Sopenharmony_ci{
16248c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT,
16258c2ecf20Sopenharmony_ci	       WMI_SERVICE_SPOOF_MAC_SUPPORT,
16268c2ecf20Sopenharmony_ci	       WMI_TLV_MAX_SERVICE);
16278c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_THERM_THROT,
16288c2ecf20Sopenharmony_ci	       WMI_SERVICE_THERM_THROT,
16298c2ecf20Sopenharmony_ci	       WMI_TLV_MAX_SERVICE);
16308c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_TX_DATA_MGMT_ACK_RSSI,
16318c2ecf20Sopenharmony_ci	       WMI_SERVICE_TX_DATA_ACK_RSSI, WMI_TLV_MAX_SERVICE);
16328c2ecf20Sopenharmony_ci	SVCMAP(WMI_TLV_SERVICE_SUPPORT_EXTEND_ADDRESS,
16338c2ecf20Sopenharmony_ci	       WMI_SERVICE_SUPPORT_EXTEND_ADDRESS,
16348c2ecf20Sopenharmony_ci	       WMI_TLV_MAX_SERVICE);
16358c2ecf20Sopenharmony_ci}
16368c2ecf20Sopenharmony_ci
16378c2ecf20Sopenharmony_ci#undef SVCMAP
16388c2ecf20Sopenharmony_ci
16398c2ecf20Sopenharmony_cistruct wmi_tlv {
16408c2ecf20Sopenharmony_ci	__le16 len;
16418c2ecf20Sopenharmony_ci	__le16 tag;
16428c2ecf20Sopenharmony_ci	u8 value[];
16438c2ecf20Sopenharmony_ci} __packed;
16448c2ecf20Sopenharmony_ci
16458c2ecf20Sopenharmony_cistruct ath10k_mgmt_tx_pkt_addr {
16468c2ecf20Sopenharmony_ci	void *vaddr;
16478c2ecf20Sopenharmony_ci	dma_addr_t paddr;
16488c2ecf20Sopenharmony_ci};
16498c2ecf20Sopenharmony_ci
16508c2ecf20Sopenharmony_cistruct chan_info_params {
16518c2ecf20Sopenharmony_ci	u32 err_code;
16528c2ecf20Sopenharmony_ci	u32 freq;
16538c2ecf20Sopenharmony_ci	u32 cmd_flags;
16548c2ecf20Sopenharmony_ci	u32 noise_floor;
16558c2ecf20Sopenharmony_ci	u32 rx_clear_count;
16568c2ecf20Sopenharmony_ci	u32 cycle_count;
16578c2ecf20Sopenharmony_ci	u32 mac_clk_mhz;
16588c2ecf20Sopenharmony_ci};
16598c2ecf20Sopenharmony_ci
16608c2ecf20Sopenharmony_ci#define WMI_TLV_FLAG_MGMT_BUNDLE_TX_COMPL	BIT(9)
16618c2ecf20Sopenharmony_ci
16628c2ecf20Sopenharmony_cistruct wmi_tlv_chan_info_event {
16638c2ecf20Sopenharmony_ci	__le32 err_code;
16648c2ecf20Sopenharmony_ci	__le32 freq;
16658c2ecf20Sopenharmony_ci	__le32 cmd_flags;
16668c2ecf20Sopenharmony_ci	__le32 noise_floor;
16678c2ecf20Sopenharmony_ci	__le32 rx_clear_count;
16688c2ecf20Sopenharmony_ci	__le32 cycle_count;
16698c2ecf20Sopenharmony_ci	__le32 chan_tx_pwr_range;
16708c2ecf20Sopenharmony_ci	__le32 chan_tx_pwr_tp;
16718c2ecf20Sopenharmony_ci	__le32 rx_frame_count;
16728c2ecf20Sopenharmony_ci	__le32 my_bss_rx_cycle_count;
16738c2ecf20Sopenharmony_ci	__le32 rx_11b_mode_data_duration;
16748c2ecf20Sopenharmony_ci	__le32 tx_frame_cnt;
16758c2ecf20Sopenharmony_ci	__le32 mac_clk_mhz;
16768c2ecf20Sopenharmony_ci} __packed;
16778c2ecf20Sopenharmony_ci
16788c2ecf20Sopenharmony_cistruct wmi_tlv_mgmt_tx_compl_ev {
16798c2ecf20Sopenharmony_ci	__le32 desc_id;
16808c2ecf20Sopenharmony_ci	__le32 status;
16818c2ecf20Sopenharmony_ci	__le32 pdev_id;
16828c2ecf20Sopenharmony_ci	__le32 ppdu_id;
16838c2ecf20Sopenharmony_ci	__le32 ack_rssi;
16848c2ecf20Sopenharmony_ci};
16858c2ecf20Sopenharmony_ci
16868c2ecf20Sopenharmony_ci#define WMI_TLV_MGMT_RX_NUM_RSSI 4
16878c2ecf20Sopenharmony_ci
16888c2ecf20Sopenharmony_cistruct wmi_tlv_mgmt_rx_ev {
16898c2ecf20Sopenharmony_ci	__le32 channel;
16908c2ecf20Sopenharmony_ci	__le32 snr;
16918c2ecf20Sopenharmony_ci	__le32 rate;
16928c2ecf20Sopenharmony_ci	__le32 phy_mode;
16938c2ecf20Sopenharmony_ci	__le32 buf_len;
16948c2ecf20Sopenharmony_ci	__le32 status;
16958c2ecf20Sopenharmony_ci	__le32 rssi[WMI_TLV_MGMT_RX_NUM_RSSI];
16968c2ecf20Sopenharmony_ci} __packed;
16978c2ecf20Sopenharmony_ci
16988c2ecf20Sopenharmony_cistruct wmi_tlv_abi_version {
16998c2ecf20Sopenharmony_ci	__le32 abi_ver0;
17008c2ecf20Sopenharmony_ci	__le32 abi_ver1;
17018c2ecf20Sopenharmony_ci	__le32 abi_ver_ns0;
17028c2ecf20Sopenharmony_ci	__le32 abi_ver_ns1;
17038c2ecf20Sopenharmony_ci	__le32 abi_ver_ns2;
17048c2ecf20Sopenharmony_ci	__le32 abi_ver_ns3;
17058c2ecf20Sopenharmony_ci} __packed;
17068c2ecf20Sopenharmony_ci
17078c2ecf20Sopenharmony_cienum wmi_tlv_hw_bd_id {
17088c2ecf20Sopenharmony_ci	WMI_TLV_HW_BD_LEGACY = 0,
17098c2ecf20Sopenharmony_ci	WMI_TLV_HW_BD_QCA6174 = 1,
17108c2ecf20Sopenharmony_ci	WMI_TLV_HW_BD_QCA2582 = 2,
17118c2ecf20Sopenharmony_ci};
17128c2ecf20Sopenharmony_ci
17138c2ecf20Sopenharmony_cistruct wmi_tlv_hw_bd_info {
17148c2ecf20Sopenharmony_ci	u8 rev;
17158c2ecf20Sopenharmony_ci	u8 project_id;
17168c2ecf20Sopenharmony_ci	u8 custom_id;
17178c2ecf20Sopenharmony_ci	u8 reference_design_id;
17188c2ecf20Sopenharmony_ci} __packed;
17198c2ecf20Sopenharmony_ci
17208c2ecf20Sopenharmony_cistruct wmi_tlv_svc_rdy_ev {
17218c2ecf20Sopenharmony_ci	__le32 fw_build_vers;
17228c2ecf20Sopenharmony_ci	struct wmi_tlv_abi_version abi;
17238c2ecf20Sopenharmony_ci	__le32 phy_capability;
17248c2ecf20Sopenharmony_ci	__le32 max_frag_entry;
17258c2ecf20Sopenharmony_ci	__le32 num_rf_chains;
17268c2ecf20Sopenharmony_ci	__le32 ht_cap_info;
17278c2ecf20Sopenharmony_ci	__le32 vht_cap_info;
17288c2ecf20Sopenharmony_ci	__le32 vht_supp_mcs;
17298c2ecf20Sopenharmony_ci	__le32 hw_min_tx_power;
17308c2ecf20Sopenharmony_ci	__le32 hw_max_tx_power;
17318c2ecf20Sopenharmony_ci	__le32 sys_cap_info;
17328c2ecf20Sopenharmony_ci	__le32 min_pkt_size_enable;
17338c2ecf20Sopenharmony_ci	__le32 max_bcn_ie_size;
17348c2ecf20Sopenharmony_ci	__le32 num_mem_reqs;
17358c2ecf20Sopenharmony_ci	__le32 max_num_scan_chans;
17368c2ecf20Sopenharmony_ci	__le32 hw_bd_id; /* 0 means hw_bd_info is invalid */
17378c2ecf20Sopenharmony_ci	struct wmi_tlv_hw_bd_info hw_bd_info[5];
17388c2ecf20Sopenharmony_ci} __packed;
17398c2ecf20Sopenharmony_ci
17408c2ecf20Sopenharmony_cistruct wmi_tlv_rdy_ev {
17418c2ecf20Sopenharmony_ci	struct wmi_tlv_abi_version abi;
17428c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
17438c2ecf20Sopenharmony_ci	__le32 status;
17448c2ecf20Sopenharmony_ci} __packed;
17458c2ecf20Sopenharmony_ci
17468c2ecf20Sopenharmony_cistruct wmi_tlv_resource_config {
17478c2ecf20Sopenharmony_ci	__le32 num_vdevs;
17488c2ecf20Sopenharmony_ci	__le32 num_peers;
17498c2ecf20Sopenharmony_ci	__le32 num_offload_peers;
17508c2ecf20Sopenharmony_ci	__le32 num_offload_reorder_bufs;
17518c2ecf20Sopenharmony_ci	__le32 num_peer_keys;
17528c2ecf20Sopenharmony_ci	__le32 num_tids;
17538c2ecf20Sopenharmony_ci	__le32 ast_skid_limit;
17548c2ecf20Sopenharmony_ci	__le32 tx_chain_mask;
17558c2ecf20Sopenharmony_ci	__le32 rx_chain_mask;
17568c2ecf20Sopenharmony_ci	__le32 rx_timeout_pri[4];
17578c2ecf20Sopenharmony_ci	__le32 rx_decap_mode;
17588c2ecf20Sopenharmony_ci	__le32 scan_max_pending_reqs;
17598c2ecf20Sopenharmony_ci	__le32 bmiss_offload_max_vdev;
17608c2ecf20Sopenharmony_ci	__le32 roam_offload_max_vdev;
17618c2ecf20Sopenharmony_ci	__le32 roam_offload_max_ap_profiles;
17628c2ecf20Sopenharmony_ci	__le32 num_mcast_groups;
17638c2ecf20Sopenharmony_ci	__le32 num_mcast_table_elems;
17648c2ecf20Sopenharmony_ci	__le32 mcast2ucast_mode;
17658c2ecf20Sopenharmony_ci	__le32 tx_dbg_log_size;
17668c2ecf20Sopenharmony_ci	__le32 num_wds_entries;
17678c2ecf20Sopenharmony_ci	__le32 dma_burst_size;
17688c2ecf20Sopenharmony_ci	__le32 mac_aggr_delim;
17698c2ecf20Sopenharmony_ci	__le32 rx_skip_defrag_timeout_dup_detection_check;
17708c2ecf20Sopenharmony_ci	__le32 vow_config;
17718c2ecf20Sopenharmony_ci	__le32 gtk_offload_max_vdev;
17728c2ecf20Sopenharmony_ci	__le32 num_msdu_desc;
17738c2ecf20Sopenharmony_ci	__le32 max_frag_entries;
17748c2ecf20Sopenharmony_ci	__le32 num_tdls_vdevs;
17758c2ecf20Sopenharmony_ci	__le32 num_tdls_conn_table_entries;
17768c2ecf20Sopenharmony_ci	__le32 beacon_tx_offload_max_vdev;
17778c2ecf20Sopenharmony_ci	__le32 num_multicast_filter_entries;
17788c2ecf20Sopenharmony_ci	__le32 num_wow_filters;
17798c2ecf20Sopenharmony_ci	__le32 num_keep_alive_pattern;
17808c2ecf20Sopenharmony_ci	__le32 keep_alive_pattern_size;
17818c2ecf20Sopenharmony_ci	__le32 max_tdls_concurrent_sleep_sta;
17828c2ecf20Sopenharmony_ci	__le32 max_tdls_concurrent_buffer_sta;
17838c2ecf20Sopenharmony_ci	__le32 wmi_send_separate;
17848c2ecf20Sopenharmony_ci	__le32 num_ocb_vdevs;
17858c2ecf20Sopenharmony_ci	__le32 num_ocb_channels;
17868c2ecf20Sopenharmony_ci	__le32 num_ocb_schedules;
17878c2ecf20Sopenharmony_ci	__le32 host_capab;
17888c2ecf20Sopenharmony_ci} __packed;
17898c2ecf20Sopenharmony_ci
17908c2ecf20Sopenharmony_ci/* structure describing host memory chunk. */
17918c2ecf20Sopenharmony_cistruct host_memory_chunk_tlv {
17928c2ecf20Sopenharmony_ci	/* id of the request that is passed up in service ready */
17938c2ecf20Sopenharmony_ci	__le32 req_id;
17948c2ecf20Sopenharmony_ci
17958c2ecf20Sopenharmony_ci	/* the physical address the memory chunk */
17968c2ecf20Sopenharmony_ci	__le32 ptr;
17978c2ecf20Sopenharmony_ci
17988c2ecf20Sopenharmony_ci	/* size of the chunk */
17998c2ecf20Sopenharmony_ci	__le32 size;
18008c2ecf20Sopenharmony_ci
18018c2ecf20Sopenharmony_ci	/* the upper 32 bit address valid only for more than 32 bit target */
18028c2ecf20Sopenharmony_ci	__le32 ptr_high;
18038c2ecf20Sopenharmony_ci} __packed;
18048c2ecf20Sopenharmony_ci
18058c2ecf20Sopenharmony_cistruct wmi_tlv_init_cmd {
18068c2ecf20Sopenharmony_ci	struct wmi_tlv_abi_version abi;
18078c2ecf20Sopenharmony_ci	__le32 num_host_mem_chunks;
18088c2ecf20Sopenharmony_ci} __packed;
18098c2ecf20Sopenharmony_ci
18108c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_get_temp_cmd {
18118c2ecf20Sopenharmony_ci	__le32 pdev_id; /* not used */
18128c2ecf20Sopenharmony_ci} __packed;
18138c2ecf20Sopenharmony_ci
18148c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_temperature_event {
18158c2ecf20Sopenharmony_ci	__le32 tlv_hdr;
18168c2ecf20Sopenharmony_ci	/* temperature value in Celcius degree */
18178c2ecf20Sopenharmony_ci	__le32 temperature;
18188c2ecf20Sopenharmony_ci	__le32 pdev_id;
18198c2ecf20Sopenharmony_ci} __packed;
18208c2ecf20Sopenharmony_ci
18218c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_set_param_cmd {
18228c2ecf20Sopenharmony_ci	__le32 pdev_id; /* not used yet */
18238c2ecf20Sopenharmony_ci	__le32 param_id;
18248c2ecf20Sopenharmony_ci	__le32 param_value;
18258c2ecf20Sopenharmony_ci} __packed;
18268c2ecf20Sopenharmony_ci
18278c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_set_rd_cmd {
18288c2ecf20Sopenharmony_ci	__le32 pdev_id; /* not used yet */
18298c2ecf20Sopenharmony_ci	__le32 regd;
18308c2ecf20Sopenharmony_ci	__le32 regd_2ghz;
18318c2ecf20Sopenharmony_ci	__le32 regd_5ghz;
18328c2ecf20Sopenharmony_ci	__le32 conform_limit_2ghz;
18338c2ecf20Sopenharmony_ci	__le32 conform_limit_5ghz;
18348c2ecf20Sopenharmony_ci} __packed;
18358c2ecf20Sopenharmony_ci
18368c2ecf20Sopenharmony_cistruct wmi_tlv_scan_chan_list_cmd {
18378c2ecf20Sopenharmony_ci	__le32 num_scan_chans;
18388c2ecf20Sopenharmony_ci} __packed;
18398c2ecf20Sopenharmony_ci
18408c2ecf20Sopenharmony_cistruct wmi_scan_prob_req_oui_cmd {
18418c2ecf20Sopenharmony_ci/* OUI to be used in Probe Request frame when random MAC address is
18428c2ecf20Sopenharmony_ci * requested part of scan parameters. This is applied to both FW internal
18438c2ecf20Sopenharmony_ci * scans and host initiated scans. Host can request for random MAC address
18448c2ecf20Sopenharmony_ci * with WMI_SCAN_ADD_SPOOFED_MAC_IN_PROBE_REQ flag.
18458c2ecf20Sopenharmony_ci */
18468c2ecf20Sopenharmony_ci	__le32 prob_req_oui;
18478c2ecf20Sopenharmony_ci}  __packed;
18488c2ecf20Sopenharmony_ci
18498c2ecf20Sopenharmony_cistruct wmi_tlv_start_scan_cmd {
18508c2ecf20Sopenharmony_ci	struct wmi_start_scan_common common;
18518c2ecf20Sopenharmony_ci	__le32 burst_duration_ms;
18528c2ecf20Sopenharmony_ci	__le32 num_channels;
18538c2ecf20Sopenharmony_ci	__le32 num_bssids;
18548c2ecf20Sopenharmony_ci	__le32 num_ssids;
18558c2ecf20Sopenharmony_ci	__le32 ie_len;
18568c2ecf20Sopenharmony_ci	__le32 num_probes;
18578c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
18588c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_mask;
18598c2ecf20Sopenharmony_ci} __packed;
18608c2ecf20Sopenharmony_ci
18618c2ecf20Sopenharmony_cienum wmi_tlv_vdev_subtype {
18628c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_NONE	= 0,
18638c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_P2P_DEV	= 1,
18648c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_P2P_CLI	= 2,
18658c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_P2P_GO	= 3,
18668c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_PROXY_STA	= 4,
18678c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_MESH	= 5,
18688c2ecf20Sopenharmony_ci	WMI_TLV_VDEV_SUBTYPE_MESH_11S	= 6,
18698c2ecf20Sopenharmony_ci};
18708c2ecf20Sopenharmony_ci
18718c2ecf20Sopenharmony_cistruct wmi_tlv_vdev_start_cmd {
18728c2ecf20Sopenharmony_ci	__le32 vdev_id;
18738c2ecf20Sopenharmony_ci	__le32 requestor_id;
18748c2ecf20Sopenharmony_ci	__le32 bcn_intval;
18758c2ecf20Sopenharmony_ci	__le32 dtim_period;
18768c2ecf20Sopenharmony_ci	__le32 flags;
18778c2ecf20Sopenharmony_ci	struct wmi_ssid ssid;
18788c2ecf20Sopenharmony_ci	__le32 bcn_tx_rate;
18798c2ecf20Sopenharmony_ci	__le32 bcn_tx_power;
18808c2ecf20Sopenharmony_ci	__le32 num_noa_descr;
18818c2ecf20Sopenharmony_ci	__le32 disable_hw_ack;
18828c2ecf20Sopenharmony_ci} __packed;
18838c2ecf20Sopenharmony_ci
18848c2ecf20Sopenharmony_cienum {
18858c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TYPE_DEFAULT = 0, /* generic / non-BSS / self-peer */
18868c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TYPE_BSS = 1,
18878c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TYPE_TDLS = 2,
18888c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TYPE_HOST_MAX = 127,
18898c2ecf20Sopenharmony_ci	WMI_TLV_PEER_TYPE_ROAMOFFLOAD_TMP = 128,
18908c2ecf20Sopenharmony_ci};
18918c2ecf20Sopenharmony_ci
18928c2ecf20Sopenharmony_cistruct wmi_tlv_peer_create_cmd {
18938c2ecf20Sopenharmony_ci	__le32 vdev_id;
18948c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_addr;
18958c2ecf20Sopenharmony_ci	__le32 peer_type;
18968c2ecf20Sopenharmony_ci} __packed;
18978c2ecf20Sopenharmony_ci
18988c2ecf20Sopenharmony_cistruct wmi_tlv_peer_assoc_cmd {
18998c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
19008c2ecf20Sopenharmony_ci	__le32 vdev_id;
19018c2ecf20Sopenharmony_ci	__le32 new_assoc;
19028c2ecf20Sopenharmony_ci	__le32 assoc_id;
19038c2ecf20Sopenharmony_ci	__le32 flags;
19048c2ecf20Sopenharmony_ci	__le32 caps;
19058c2ecf20Sopenharmony_ci	__le32 listen_intval;
19068c2ecf20Sopenharmony_ci	__le32 ht_caps;
19078c2ecf20Sopenharmony_ci	__le32 max_mpdu;
19088c2ecf20Sopenharmony_ci	__le32 mpdu_density;
19098c2ecf20Sopenharmony_ci	__le32 rate_caps;
19108c2ecf20Sopenharmony_ci	__le32 nss;
19118c2ecf20Sopenharmony_ci	__le32 vht_caps;
19128c2ecf20Sopenharmony_ci	__le32 phy_mode;
19138c2ecf20Sopenharmony_ci	__le32 ht_info[2];
19148c2ecf20Sopenharmony_ci	__le32 num_legacy_rates;
19158c2ecf20Sopenharmony_ci	__le32 num_ht_rates;
19168c2ecf20Sopenharmony_ci} __packed;
19178c2ecf20Sopenharmony_ci
19188c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_suspend {
19198c2ecf20Sopenharmony_ci	__le32 pdev_id; /* not used yet */
19208c2ecf20Sopenharmony_ci	__le32 opt;
19218c2ecf20Sopenharmony_ci} __packed;
19228c2ecf20Sopenharmony_ci
19238c2ecf20Sopenharmony_cistruct wmi_tlv_pdev_set_wmm_cmd {
19248c2ecf20Sopenharmony_ci	__le32 pdev_id; /* not used yet */
19258c2ecf20Sopenharmony_ci	__le32 dg_type; /* no idea.. */
19268c2ecf20Sopenharmony_ci} __packed;
19278c2ecf20Sopenharmony_ci
19288c2ecf20Sopenharmony_cistruct wmi_tlv_vdev_wmm_params {
19298c2ecf20Sopenharmony_ci	__le32 dummy;
19308c2ecf20Sopenharmony_ci	struct wmi_wmm_params params;
19318c2ecf20Sopenharmony_ci} __packed;
19328c2ecf20Sopenharmony_ci
19338c2ecf20Sopenharmony_cistruct wmi_tlv_vdev_set_wmm_cmd {
19348c2ecf20Sopenharmony_ci	__le32 vdev_id;
19358c2ecf20Sopenharmony_ci	struct wmi_tlv_vdev_wmm_params vdev_wmm_params[4];
19368c2ecf20Sopenharmony_ci} __packed;
19378c2ecf20Sopenharmony_ci
19388c2ecf20Sopenharmony_cistruct wmi_tlv_phyerr_ev {
19398c2ecf20Sopenharmony_ci	__le32 num_phyerrs;
19408c2ecf20Sopenharmony_ci	__le32 tsf_l32;
19418c2ecf20Sopenharmony_ci	__le32 tsf_u32;
19428c2ecf20Sopenharmony_ci	__le32 buf_len;
19438c2ecf20Sopenharmony_ci} __packed;
19448c2ecf20Sopenharmony_ci
19458c2ecf20Sopenharmony_cienum wmi_tlv_dbglog_param {
19468c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_PARAM_LOG_LEVEL = 1,
19478c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_PARAM_VDEV_ENABLE,
19488c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_PARAM_VDEV_DISABLE,
19498c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_PARAM_VDEV_ENABLE_BITMAP,
19508c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_PARAM_VDEV_DISABLE_BITMAP,
19518c2ecf20Sopenharmony_ci};
19528c2ecf20Sopenharmony_ci
19538c2ecf20Sopenharmony_cienum wmi_tlv_dbglog_log_level {
19548c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_VERBOSE = 0,
19558c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_INFO,
19568c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_INFO_LVL_1,
19578c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_INFO_LVL_2,
19588c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_WARN,
19598c2ecf20Sopenharmony_ci	WMI_TLV_DBGLOG_LOG_LEVEL_ERR,
19608c2ecf20Sopenharmony_ci};
19618c2ecf20Sopenharmony_ci
19628c2ecf20Sopenharmony_ci#define WMI_TLV_DBGLOG_BITMAP_MAX_IDS 512
19638c2ecf20Sopenharmony_ci#define WMI_TLV_DBGLOG_BITMAP_MAX_WORDS (WMI_TLV_DBGLOG_BITMAP_MAX_IDS / \
19648c2ecf20Sopenharmony_ci					 sizeof(__le32))
19658c2ecf20Sopenharmony_ci#define WMI_TLV_DBGLOG_ALL_MODULES 0xffff
19668c2ecf20Sopenharmony_ci#define WMI_TLV_DBGLOG_LOG_LEVEL_VALUE(module_id, log_level) \
19678c2ecf20Sopenharmony_ci		(((module_id << 16) & 0xffff0000) | \
19688c2ecf20Sopenharmony_ci		 ((log_level <<  0) & 0x000000ff))
19698c2ecf20Sopenharmony_ci
19708c2ecf20Sopenharmony_cistruct wmi_tlv_dbglog_cmd {
19718c2ecf20Sopenharmony_ci	__le32 param;
19728c2ecf20Sopenharmony_ci	__le32 value;
19738c2ecf20Sopenharmony_ci} __packed;
19748c2ecf20Sopenharmony_ci
19758c2ecf20Sopenharmony_cistruct wmi_tlv_resume_cmd {
19768c2ecf20Sopenharmony_ci	__le32 reserved;
19778c2ecf20Sopenharmony_ci} __packed;
19788c2ecf20Sopenharmony_ci
19798c2ecf20Sopenharmony_cistruct wmi_tlv_req_stats_cmd {
19808c2ecf20Sopenharmony_ci	__le32 stats_id; /* wmi_stats_id */
19818c2ecf20Sopenharmony_ci	__le32 vdev_id;
19828c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
19838c2ecf20Sopenharmony_ci} __packed;
19848c2ecf20Sopenharmony_ci
19858c2ecf20Sopenharmony_ci#define WMI_TLV_PEER_RX_DURATION_HIGH_VALID_BIT	31
19868c2ecf20Sopenharmony_ci#define WMI_TLV_PEER_RX_DURATION_HIGH_MASK	GENMASK(30, 0)
19878c2ecf20Sopenharmony_ci#define WMI_TLV_PEER_RX_DURATION_SHIFT		32
19888c2ecf20Sopenharmony_ci
19898c2ecf20Sopenharmony_cistruct wmi_tlv_peer_stats_extd {
19908c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
19918c2ecf20Sopenharmony_ci	__le32 rx_duration;
19928c2ecf20Sopenharmony_ci	__le32 peer_tx_bytes;
19938c2ecf20Sopenharmony_ci	__le32 peer_rx_bytes;
19948c2ecf20Sopenharmony_ci	__le32 last_tx_rate_code;
19958c2ecf20Sopenharmony_ci	__le32 last_tx_power;
19968c2ecf20Sopenharmony_ci	__le32 rx_mc_bc_cnt;
19978c2ecf20Sopenharmony_ci	__le32 rx_duration_high;
19988c2ecf20Sopenharmony_ci	__le32 reserved[2];
19998c2ecf20Sopenharmony_ci} __packed;
20008c2ecf20Sopenharmony_ci
20018c2ecf20Sopenharmony_cistruct wmi_tlv_vdev_stats {
20028c2ecf20Sopenharmony_ci	__le32 vdev_id;
20038c2ecf20Sopenharmony_ci	__le32 beacon_snr;
20048c2ecf20Sopenharmony_ci	__le32 data_snr;
20058c2ecf20Sopenharmony_ci	__le32 num_tx_frames[4]; /* per-AC */
20068c2ecf20Sopenharmony_ci	__le32 num_rx_frames;
20078c2ecf20Sopenharmony_ci	__le32 num_tx_frames_retries[4];
20088c2ecf20Sopenharmony_ci	__le32 num_tx_frames_failures[4];
20098c2ecf20Sopenharmony_ci	__le32 num_rts_fail;
20108c2ecf20Sopenharmony_ci	__le32 num_rts_success;
20118c2ecf20Sopenharmony_ci	__le32 num_rx_err;
20128c2ecf20Sopenharmony_ci	__le32 num_rx_discard;
20138c2ecf20Sopenharmony_ci	__le32 num_tx_not_acked;
20148c2ecf20Sopenharmony_ci	__le32 tx_rate_history[10];
20158c2ecf20Sopenharmony_ci	__le32 beacon_rssi_history[10];
20168c2ecf20Sopenharmony_ci} __packed;
20178c2ecf20Sopenharmony_ci
20188c2ecf20Sopenharmony_cistruct wmi_tlv_pktlog_enable {
20198c2ecf20Sopenharmony_ci	__le32 reserved;
20208c2ecf20Sopenharmony_ci	__le32 filter;
20218c2ecf20Sopenharmony_ci} __packed;
20228c2ecf20Sopenharmony_ci
20238c2ecf20Sopenharmony_cistruct wmi_tlv_pktlog_disable {
20248c2ecf20Sopenharmony_ci	__le32 reserved;
20258c2ecf20Sopenharmony_ci} __packed;
20268c2ecf20Sopenharmony_ci
20278c2ecf20Sopenharmony_cienum wmi_tlv_bcn_tx_status {
20288c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TX_STATUS_OK,
20298c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TX_STATUS_XRETRY,
20308c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TX_STATUS_DROP,
20318c2ecf20Sopenharmony_ci	WMI_TLV_BCN_TX_STATUS_FILTERED,
20328c2ecf20Sopenharmony_ci};
20338c2ecf20Sopenharmony_ci
20348c2ecf20Sopenharmony_cistruct wmi_tlv_bcn_tx_status_ev {
20358c2ecf20Sopenharmony_ci	__le32 vdev_id;
20368c2ecf20Sopenharmony_ci	__le32 tx_status;
20378c2ecf20Sopenharmony_ci} __packed;
20388c2ecf20Sopenharmony_ci
20398c2ecf20Sopenharmony_cistruct wmi_tlv_bcn_prb_info {
20408c2ecf20Sopenharmony_ci	__le32 caps;
20418c2ecf20Sopenharmony_ci	__le32 erp;
20428c2ecf20Sopenharmony_ci	u8 ies[];
20438c2ecf20Sopenharmony_ci} __packed;
20448c2ecf20Sopenharmony_ci
20458c2ecf20Sopenharmony_cistruct wmi_tlv_bcn_tmpl_cmd {
20468c2ecf20Sopenharmony_ci	__le32 vdev_id;
20478c2ecf20Sopenharmony_ci	__le32 tim_ie_offset;
20488c2ecf20Sopenharmony_ci	__le32 buf_len;
20498c2ecf20Sopenharmony_ci} __packed;
20508c2ecf20Sopenharmony_ci
20518c2ecf20Sopenharmony_cistruct wmi_tlv_prb_tmpl_cmd {
20528c2ecf20Sopenharmony_ci	__le32 vdev_id;
20538c2ecf20Sopenharmony_ci	__le32 buf_len;
20548c2ecf20Sopenharmony_ci} __packed;
20558c2ecf20Sopenharmony_ci
20568c2ecf20Sopenharmony_cistruct wmi_tlv_p2p_go_bcn_ie {
20578c2ecf20Sopenharmony_ci	__le32 vdev_id;
20588c2ecf20Sopenharmony_ci	__le32 ie_len;
20598c2ecf20Sopenharmony_ci} __packed;
20608c2ecf20Sopenharmony_ci
20618c2ecf20Sopenharmony_cienum wmi_tlv_diag_item_type {
20628c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_ITEM_TYPE_FW_EVENT,
20638c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_ITEM_TYPE_FW_LOG,
20648c2ecf20Sopenharmony_ci	WMI_TLV_DIAG_ITEM_TYPE_FW_DEBUG_MSG,
20658c2ecf20Sopenharmony_ci};
20668c2ecf20Sopenharmony_ci
20678c2ecf20Sopenharmony_cistruct wmi_tlv_diag_item {
20688c2ecf20Sopenharmony_ci	u8 type;
20698c2ecf20Sopenharmony_ci	u8 reserved;
20708c2ecf20Sopenharmony_ci	__le16 len;
20718c2ecf20Sopenharmony_ci	__le32 timestamp;
20728c2ecf20Sopenharmony_ci	__le32 code;
20738c2ecf20Sopenharmony_ci	u8 payload[];
20748c2ecf20Sopenharmony_ci} __packed;
20758c2ecf20Sopenharmony_ci
20768c2ecf20Sopenharmony_cistruct wmi_tlv_diag_data_ev {
20778c2ecf20Sopenharmony_ci	__le32 num_items;
20788c2ecf20Sopenharmony_ci} __packed;
20798c2ecf20Sopenharmony_ci
20808c2ecf20Sopenharmony_cistruct wmi_tlv_sta_keepalive_cmd {
20818c2ecf20Sopenharmony_ci	__le32 vdev_id;
20828c2ecf20Sopenharmony_ci	__le32 enabled;
20838c2ecf20Sopenharmony_ci	__le32 method; /* WMI_STA_KEEPALIVE_METHOD_ */
20848c2ecf20Sopenharmony_ci	__le32 interval; /* in seconds */
20858c2ecf20Sopenharmony_ci} __packed;
20868c2ecf20Sopenharmony_ci
20878c2ecf20Sopenharmony_cistruct wmi_tlv_stats_ev {
20888c2ecf20Sopenharmony_ci	__le32 stats_id; /* WMI_STAT_ */
20898c2ecf20Sopenharmony_ci	__le32 num_pdev_stats;
20908c2ecf20Sopenharmony_ci	__le32 num_vdev_stats;
20918c2ecf20Sopenharmony_ci	__le32 num_peer_stats;
20928c2ecf20Sopenharmony_ci	__le32 num_bcnflt_stats;
20938c2ecf20Sopenharmony_ci	__le32 num_chan_stats;
20948c2ecf20Sopenharmony_ci	__le32 num_mib_stats;
20958c2ecf20Sopenharmony_ci	__le32 pdev_id;
20968c2ecf20Sopenharmony_ci	__le32 num_bcn_stats;
20978c2ecf20Sopenharmony_ci	__le32 num_peer_stats_extd;
20988c2ecf20Sopenharmony_ci} __packed;
20998c2ecf20Sopenharmony_ci
21008c2ecf20Sopenharmony_cistruct wmi_tlv_peer_stats_info_ev {
21018c2ecf20Sopenharmony_ci	__le32 vdev_id;
21028c2ecf20Sopenharmony_ci	__le32 num_peers;
21038c2ecf20Sopenharmony_ci	__le32 more_data;
21048c2ecf20Sopenharmony_ci} __packed;
21058c2ecf20Sopenharmony_ci
21068c2ecf20Sopenharmony_ci#define WMI_TLV_MAX_CHAINS 8
21078c2ecf20Sopenharmony_ci
21088c2ecf20Sopenharmony_cistruct wmi_tlv_peer_stats_info {
21098c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
21108c2ecf20Sopenharmony_ci	struct {
21118c2ecf20Sopenharmony_ci		/* lower 32 bits of the tx_bytes value */
21128c2ecf20Sopenharmony_ci		__le32 low_32;
21138c2ecf20Sopenharmony_ci		/* upper 32 bits of the tx_bytes value */
21148c2ecf20Sopenharmony_ci		__le32 high_32;
21158c2ecf20Sopenharmony_ci	} __packed tx_bytes;
21168c2ecf20Sopenharmony_ci	struct {
21178c2ecf20Sopenharmony_ci		/* lower 32 bits of the tx_packets value */
21188c2ecf20Sopenharmony_ci		__le32 low_32;
21198c2ecf20Sopenharmony_ci		/* upper 32 bits of the tx_packets value */
21208c2ecf20Sopenharmony_ci		__le32 high_32;
21218c2ecf20Sopenharmony_ci	} __packed tx_packets;
21228c2ecf20Sopenharmony_ci	struct {
21238c2ecf20Sopenharmony_ci		/* lower 32 bits of the rx_bytes value */
21248c2ecf20Sopenharmony_ci		__le32 low_32;
21258c2ecf20Sopenharmony_ci		/* upper 32 bits of the rx_bytes value */
21268c2ecf20Sopenharmony_ci		__le32 high_32;
21278c2ecf20Sopenharmony_ci	} __packed rx_bytes;
21288c2ecf20Sopenharmony_ci	struct {
21298c2ecf20Sopenharmony_ci		/* lower 32 bits of the rx_packets value */
21308c2ecf20Sopenharmony_ci		__le32 low_32;
21318c2ecf20Sopenharmony_ci		/* upper 32 bits of the rx_packets value */
21328c2ecf20Sopenharmony_ci		__le32 high_32;
21338c2ecf20Sopenharmony_ci	} __packed rx_packets;
21348c2ecf20Sopenharmony_ci	__le32 tx_retries;
21358c2ecf20Sopenharmony_ci	__le32 tx_failed;
21368c2ecf20Sopenharmony_ci
21378c2ecf20Sopenharmony_ci	/* rate information, it is output of WMI_ASSEMBLE_RATECODE_V1
21388c2ecf20Sopenharmony_ci	 *  (in format of 0x1000RRRR)
21398c2ecf20Sopenharmony_ci	 * The rate-code is a 4-bytes field in which,
21408c2ecf20Sopenharmony_ci	 * for given rate, nss and preamble
21418c2ecf20Sopenharmony_ci	 *
21428c2ecf20Sopenharmony_ci	 * b'31-b'29 unused / reserved
21438c2ecf20Sopenharmony_ci	 * b'28      indicate the version of rate-code (1 = RATECODE_V1)
21448c2ecf20Sopenharmony_ci	 * b'27-b'11 unused / reserved
21458c2ecf20Sopenharmony_ci	 * b'10-b'8  indicate the preamble (0 OFDM, 1 CCK, 2 HT, 3 VHT)
21468c2ecf20Sopenharmony_ci	 * b'7-b'5   indicate the NSS (0 - 1x1, 1 - 2x2, 2 - 3x3, 3 - 4x4)
21478c2ecf20Sopenharmony_ci	 * b'4-b'0   indicate the rate, which is indicated as follows:
21488c2ecf20Sopenharmony_ci	 *	    OFDM :     0: OFDM 48 Mbps
21498c2ecf20Sopenharmony_ci	 *		       1: OFDM 24 Mbps
21508c2ecf20Sopenharmony_ci	 *		       2: OFDM 12 Mbps
21518c2ecf20Sopenharmony_ci	 *		       3: OFDM 6 Mbps
21528c2ecf20Sopenharmony_ci	 *		       4: OFDM 54 Mbps
21538c2ecf20Sopenharmony_ci	 *		       5: OFDM 36 Mbps
21548c2ecf20Sopenharmony_ci	 *		       6: OFDM 18 Mbps
21558c2ecf20Sopenharmony_ci	 *		       7: OFDM 9 Mbps
21568c2ecf20Sopenharmony_ci	 *	   CCK (pream == 1)
21578c2ecf20Sopenharmony_ci	 *		       0: CCK 11 Mbps Long
21588c2ecf20Sopenharmony_ci	 *		       1: CCK 5.5 Mbps Long
21598c2ecf20Sopenharmony_ci	 *		       2: CCK 2 Mbps Long
21608c2ecf20Sopenharmony_ci	 *		       3: CCK 1 Mbps Long
21618c2ecf20Sopenharmony_ci	 *		       4: CCK 11 Mbps Short
21628c2ecf20Sopenharmony_ci	 *		       5: CCK 5.5 Mbps Short
21638c2ecf20Sopenharmony_ci	 *		       6: CCK 2 Mbps Short
21648c2ecf20Sopenharmony_ci	 *	   HT/VHT (pream == 2/3)
21658c2ecf20Sopenharmony_ci	 *		       0..7: MCS0..MCS7 (HT)
21668c2ecf20Sopenharmony_ci	 *		       0..9: MCS0..MCS9 (11AC VHT)
21678c2ecf20Sopenharmony_ci	 *		       0..11: MCS0..MCS11 (11AX VHT)
21688c2ecf20Sopenharmony_ci	 * rate-code of the last transmission
21698c2ecf20Sopenharmony_ci	 */
21708c2ecf20Sopenharmony_ci	__le32 last_tx_rate_code;
21718c2ecf20Sopenharmony_ci	__le32 last_rx_rate_code;
21728c2ecf20Sopenharmony_ci	__le32 last_tx_bitrate_kbps;
21738c2ecf20Sopenharmony_ci	__le32 last_rx_bitrate_kbps;
21748c2ecf20Sopenharmony_ci	__le32 peer_rssi;
21758c2ecf20Sopenharmony_ci	__le32 tx_succeed;
21768c2ecf20Sopenharmony_ci	__le32 peer_rssi_per_chain[WMI_TLV_MAX_CHAINS];
21778c2ecf20Sopenharmony_ci} __packed;
21788c2ecf20Sopenharmony_ci
21798c2ecf20Sopenharmony_ci#define HW_RATECODE_PREAM_V1_MASK GENMASK(10, 8)
21808c2ecf20Sopenharmony_ci#define WMI_TLV_GET_HW_RC_PREAM_V1(rc) FIELD_GET(HW_RATECODE_PREAM_V1_MASK, rc)
21818c2ecf20Sopenharmony_ci
21828c2ecf20Sopenharmony_ci#define HW_RATECODE_NSS_V1_MASK GENMASK(7, 5)
21838c2ecf20Sopenharmony_ci#define WMI_TLV_GET_HW_RC_NSS_V1(rc) FIELD_GET(HW_RATECODE_NSS_V1_MASK, rc)
21848c2ecf20Sopenharmony_ci
21858c2ecf20Sopenharmony_ci#define HW_RATECODE_RATE_V1_MASK GENMASK(4, 0)
21868c2ecf20Sopenharmony_ci#define WMI_TLV_GET_HW_RC_RATE_V1(rc) FIELD_GET(HW_RATECODE_RATE_V1_MASK, rc)
21878c2ecf20Sopenharmony_ci
21888c2ecf20Sopenharmony_cistruct wmi_tlv_p2p_noa_ev {
21898c2ecf20Sopenharmony_ci	__le32 vdev_id;
21908c2ecf20Sopenharmony_ci} __packed;
21918c2ecf20Sopenharmony_ci
21928c2ecf20Sopenharmony_cistruct wmi_tlv_roam_ev {
21938c2ecf20Sopenharmony_ci	__le32 vdev_id;
21948c2ecf20Sopenharmony_ci	__le32 reason;
21958c2ecf20Sopenharmony_ci	__le32 rssi;
21968c2ecf20Sopenharmony_ci} __packed;
21978c2ecf20Sopenharmony_ci
21988c2ecf20Sopenharmony_cistruct wmi_tlv_wow_add_del_event_cmd {
21998c2ecf20Sopenharmony_ci	__le32 vdev_id;
22008c2ecf20Sopenharmony_ci	__le32 is_add;
22018c2ecf20Sopenharmony_ci	__le32 event_bitmap;
22028c2ecf20Sopenharmony_ci} __packed;
22038c2ecf20Sopenharmony_ci
22048c2ecf20Sopenharmony_cistruct wmi_tlv_request_peer_stats_info {
22058c2ecf20Sopenharmony_ci	__le32 request_type;
22068c2ecf20Sopenharmony_ci	__le32 vdev_id;
22078c2ecf20Sopenharmony_ci	/* peer MAC address */
22088c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
22098c2ecf20Sopenharmony_ci	__le32 reset_after_request;
22108c2ecf20Sopenharmony_ci} __packed;
22118c2ecf20Sopenharmony_ci
22128c2ecf20Sopenharmony_ci/* Command to set/unset chip in quiet mode */
22138c2ecf20Sopenharmony_cistruct wmi_tlv_set_quiet_cmd {
22148c2ecf20Sopenharmony_ci	__le32 vdev_id;
22158c2ecf20Sopenharmony_ci
22168c2ecf20Sopenharmony_ci	/* in TUs */
22178c2ecf20Sopenharmony_ci	__le32 period;
22188c2ecf20Sopenharmony_ci
22198c2ecf20Sopenharmony_ci	/* in TUs */
22208c2ecf20Sopenharmony_ci	__le32 duration;
22218c2ecf20Sopenharmony_ci
22228c2ecf20Sopenharmony_ci	/* offset in TUs */
22238c2ecf20Sopenharmony_ci	__le32 next_start;
22248c2ecf20Sopenharmony_ci	__le32 enabled;
22258c2ecf20Sopenharmony_ci} __packed;
22268c2ecf20Sopenharmony_ci
22278c2ecf20Sopenharmony_cienum wmi_tlv_wow_interface_cfg {
22288c2ecf20Sopenharmony_ci	WOW_IFACE_PAUSE_ENABLED,
22298c2ecf20Sopenharmony_ci	WOW_IFACE_PAUSE_DISABLED
22308c2ecf20Sopenharmony_ci};
22318c2ecf20Sopenharmony_ci
22328c2ecf20Sopenharmony_cistruct wmi_tlv_wow_enable_cmd {
22338c2ecf20Sopenharmony_ci	__le32 enable;
22348c2ecf20Sopenharmony_ci	__le32 pause_iface_config;
22358c2ecf20Sopenharmony_ci	__le32 flags;
22368c2ecf20Sopenharmony_ci} __packed;
22378c2ecf20Sopenharmony_ci
22388c2ecf20Sopenharmony_cistruct wmi_tlv_wow_host_wakeup_ind {
22398c2ecf20Sopenharmony_ci	__le32 reserved;
22408c2ecf20Sopenharmony_ci} __packed;
22418c2ecf20Sopenharmony_ci
22428c2ecf20Sopenharmony_cistruct wmi_tlv_wow_event_info {
22438c2ecf20Sopenharmony_ci	__le32 vdev_id;
22448c2ecf20Sopenharmony_ci	__le32 flag;
22458c2ecf20Sopenharmony_ci	__le32 wake_reason;
22468c2ecf20Sopenharmony_ci	__le32 data_len;
22478c2ecf20Sopenharmony_ci} __packed;
22488c2ecf20Sopenharmony_ci
22498c2ecf20Sopenharmony_cienum wmi_tlv_pattern_type {
22508c2ecf20Sopenharmony_ci	WOW_PATTERN_MIN = 0,
22518c2ecf20Sopenharmony_ci	WOW_BITMAP_PATTERN = WOW_PATTERN_MIN,
22528c2ecf20Sopenharmony_ci	WOW_IPV4_SYNC_PATTERN,
22538c2ecf20Sopenharmony_ci	WOW_IPV6_SYNC_PATTERN,
22548c2ecf20Sopenharmony_ci	WOW_WILD_CARD_PATTERN,
22558c2ecf20Sopenharmony_ci	WOW_TIMER_PATTERN,
22568c2ecf20Sopenharmony_ci	WOW_MAGIC_PATTERN,
22578c2ecf20Sopenharmony_ci	WOW_IPV6_RA_PATTERN,
22588c2ecf20Sopenharmony_ci	WOW_IOAC_PKT_PATTERN,
22598c2ecf20Sopenharmony_ci	WOW_IOAC_TMR_PATTERN,
22608c2ecf20Sopenharmony_ci	WOW_PATTERN_MAX
22618c2ecf20Sopenharmony_ci};
22628c2ecf20Sopenharmony_ci
22638c2ecf20Sopenharmony_ci#define WOW_DEFAULT_BITMAP_PATTERN_SIZE		148
22648c2ecf20Sopenharmony_ci#define WOW_DEFAULT_BITMASK_SIZE		148
22658c2ecf20Sopenharmony_ci
22668c2ecf20Sopenharmony_cistruct wmi_tlv_wow_bitmap_pattern {
22678c2ecf20Sopenharmony_ci	u8 patternbuf[WOW_DEFAULT_BITMAP_PATTERN_SIZE];
22688c2ecf20Sopenharmony_ci	u8 bitmaskbuf[WOW_DEFAULT_BITMASK_SIZE];
22698c2ecf20Sopenharmony_ci	__le32 pattern_offset;
22708c2ecf20Sopenharmony_ci	__le32 pattern_len;
22718c2ecf20Sopenharmony_ci	__le32 bitmask_len;
22728c2ecf20Sopenharmony_ci	__le32 pattern_id;
22738c2ecf20Sopenharmony_ci} __packed;
22748c2ecf20Sopenharmony_ci
22758c2ecf20Sopenharmony_cistruct wmi_tlv_wow_add_pattern_cmd {
22768c2ecf20Sopenharmony_ci	__le32 vdev_id;
22778c2ecf20Sopenharmony_ci	__le32 pattern_id;
22788c2ecf20Sopenharmony_ci	__le32 pattern_type;
22798c2ecf20Sopenharmony_ci} __packed;
22808c2ecf20Sopenharmony_ci
22818c2ecf20Sopenharmony_cistruct wmi_tlv_wow_del_pattern_cmd {
22828c2ecf20Sopenharmony_ci	__le32 vdev_id;
22838c2ecf20Sopenharmony_ci	__le32 pattern_id;
22848c2ecf20Sopenharmony_ci	__le32 pattern_type;
22858c2ecf20Sopenharmony_ci} __packed;
22868c2ecf20Sopenharmony_ci
22878c2ecf20Sopenharmony_ci/* TDLS Options */
22888c2ecf20Sopenharmony_cienum wmi_tlv_tdls_options {
22898c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_OFFCHAN_EN = BIT(0),
22908c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_BUFFER_STA_EN = BIT(1),
22918c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_SLEEP_STA_EN = BIT(2),
22928c2ecf20Sopenharmony_ci};
22938c2ecf20Sopenharmony_ci
22948c2ecf20Sopenharmony_cistruct wmi_tdls_set_state_cmd {
22958c2ecf20Sopenharmony_ci	__le32 vdev_id;
22968c2ecf20Sopenharmony_ci	__le32 state;
22978c2ecf20Sopenharmony_ci	__le32 notification_interval_ms;
22988c2ecf20Sopenharmony_ci	__le32 tx_discovery_threshold;
22998c2ecf20Sopenharmony_ci	__le32 tx_teardown_threshold;
23008c2ecf20Sopenharmony_ci	__le32 rssi_teardown_threshold;
23018c2ecf20Sopenharmony_ci	__le32 rssi_delta;
23028c2ecf20Sopenharmony_ci	__le32 tdls_options;
23038c2ecf20Sopenharmony_ci	__le32 tdls_peer_traffic_ind_window;
23048c2ecf20Sopenharmony_ci	__le32 tdls_peer_traffic_response_timeout_ms;
23058c2ecf20Sopenharmony_ci	__le32 tdls_puapsd_mask;
23068c2ecf20Sopenharmony_ci	__le32 tdls_puapsd_inactivity_time_ms;
23078c2ecf20Sopenharmony_ci	__le32 tdls_puapsd_rx_frame_threshold;
23088c2ecf20Sopenharmony_ci} __packed;
23098c2ecf20Sopenharmony_ci
23108c2ecf20Sopenharmony_cistruct wmi_tdls_peer_update_cmd {
23118c2ecf20Sopenharmony_ci	__le32 vdev_id;
23128c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
23138c2ecf20Sopenharmony_ci	__le32 peer_state;
23148c2ecf20Sopenharmony_ci} __packed;
23158c2ecf20Sopenharmony_ci
23168c2ecf20Sopenharmony_cienum {
23178c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_QOS_AC_VO = BIT(0),
23188c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_QOS_AC_VI = BIT(1),
23198c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_QOS_AC_BK = BIT(2),
23208c2ecf20Sopenharmony_ci	WMI_TLV_TDLS_PEER_QOS_AC_BE = BIT(3),
23218c2ecf20Sopenharmony_ci};
23228c2ecf20Sopenharmony_ci
23238c2ecf20Sopenharmony_ci#define WMI_TLV_TDLS_PEER_SP_MASK	0x60
23248c2ecf20Sopenharmony_ci#define WMI_TLV_TDLS_PEER_SP_LSB	5
23258c2ecf20Sopenharmony_ci
23268c2ecf20Sopenharmony_cistruct wmi_tdls_peer_capab {
23278c2ecf20Sopenharmony_ci	__le32 peer_qos;
23288c2ecf20Sopenharmony_ci	__le32 buff_sta_support;
23298c2ecf20Sopenharmony_ci	__le32 off_chan_support;
23308c2ecf20Sopenharmony_ci	__le32 peer_curr_operclass;
23318c2ecf20Sopenharmony_ci	__le32 self_curr_operclass;
23328c2ecf20Sopenharmony_ci	__le32 peer_chan_len;
23338c2ecf20Sopenharmony_ci	__le32 peer_operclass_len;
23348c2ecf20Sopenharmony_ci	u8 peer_operclass[WMI_TDLS_MAX_SUPP_OPER_CLASSES];
23358c2ecf20Sopenharmony_ci	__le32 is_peer_responder;
23368c2ecf20Sopenharmony_ci	__le32 pref_offchan_num;
23378c2ecf20Sopenharmony_ci	__le32 pref_offchan_bw;
23388c2ecf20Sopenharmony_ci} __packed;
23398c2ecf20Sopenharmony_ci
23408c2ecf20Sopenharmony_cistruct wmi_tlv_adaptive_qcs {
23418c2ecf20Sopenharmony_ci	__le32 enable;
23428c2ecf20Sopenharmony_ci} __packed;
23438c2ecf20Sopenharmony_ci
23448c2ecf20Sopenharmony_ci/**
23458c2ecf20Sopenharmony_ci * wmi_tlv_tx_pause_id - firmware tx queue pause reason types
23468c2ecf20Sopenharmony_ci *
23478c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_MCC: used for by multi-channel firmware scheduler.
23488c2ecf20Sopenharmony_ci *		Only vdev_map is valid.
23498c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_AP_PEER_PS: peer in AP mode is asleep.
23508c2ecf20Sopenharmony_ci *		Only peer_id is valid.
23518c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_AP_PEER_UAPSD: Only peer_id and tid_map are valid.
23528c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_P2P_CLI_NOA: Only vdev_map is valid.
23538c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_P2P_GO_PS: Only vdev_map is valid.
23548c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_STA_ADD_BA: Only peer_id and tid_map are valid.
23558c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_AP_PS: When all peers are asleep in AP mode. Only
23568c2ecf20Sopenharmony_ci *		vdev_map is valid.
23578c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_IBSS_PS: When all peers are asleep in IBSS mode. Only
23588c2ecf20Sopenharmony_ci *		vdev_map is valid.
23598c2ecf20Sopenharmony_ci * @WMI_TLV_TX_PAUSE_ID_HOST: Host itself requested tx pause.
23608c2ecf20Sopenharmony_ci */
23618c2ecf20Sopenharmony_cienum wmi_tlv_tx_pause_id {
23628c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_MCC = 1,
23638c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_AP_PEER_PS = 2,
23648c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_AP_PEER_UAPSD = 3,
23658c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_P2P_CLI_NOA = 4,
23668c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_P2P_GO_PS = 5,
23678c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_STA_ADD_BA = 6,
23688c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_AP_PS = 7,
23698c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_IBSS_PS = 8,
23708c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ID_HOST = 21,
23718c2ecf20Sopenharmony_ci};
23728c2ecf20Sopenharmony_ci
23738c2ecf20Sopenharmony_cienum wmi_tlv_tx_pause_action {
23748c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ACTION_STOP,
23758c2ecf20Sopenharmony_ci	WMI_TLV_TX_PAUSE_ACTION_WAKE,
23768c2ecf20Sopenharmony_ci};
23778c2ecf20Sopenharmony_ci
23788c2ecf20Sopenharmony_cistruct wmi_tlv_tx_pause_ev {
23798c2ecf20Sopenharmony_ci	__le32 pause_id;
23808c2ecf20Sopenharmony_ci	__le32 action;
23818c2ecf20Sopenharmony_ci	__le32 vdev_map;
23828c2ecf20Sopenharmony_ci	__le32 peer_id;
23838c2ecf20Sopenharmony_ci	__le32 tid_map;
23848c2ecf20Sopenharmony_ci} __packed;
23858c2ecf20Sopenharmony_ci
23868c2ecf20Sopenharmony_cistruct wmi_tlv_tdls_peer_event {
23878c2ecf20Sopenharmony_ci	struct wmi_mac_addr    peer_macaddr;
23888c2ecf20Sopenharmony_ci	__le32 peer_status;
23898c2ecf20Sopenharmony_ci	__le32 peer_reason;
23908c2ecf20Sopenharmony_ci	__le32 vdev_id;
23918c2ecf20Sopenharmony_ci} __packed;
23928c2ecf20Sopenharmony_ci
23938c2ecf20Sopenharmony_cienum wmi_tlv_sys_cap_info_flags {
23948c2ecf20Sopenharmony_ci	WMI_TLV_SYS_CAP_INFO_RXTX_LED	= BIT(0),
23958c2ecf20Sopenharmony_ci	WMI_TLV_SYS_CAP_INFO_RFKILL	= BIT(1),
23968c2ecf20Sopenharmony_ci};
23978c2ecf20Sopenharmony_ci
23988c2ecf20Sopenharmony_ci#define WMI_TLV_RFKILL_CFG_GPIO_PIN_NUM		GENMASK(5, 0)
23998c2ecf20Sopenharmony_ci#define WMI_TLV_RFKILL_CFG_RADIO_LEVEL		BIT(6)
24008c2ecf20Sopenharmony_ci#define WMI_TLV_RFKILL_CFG_PIN_AS_GPIO		GENMASK(10, 7)
24018c2ecf20Sopenharmony_ci
24028c2ecf20Sopenharmony_cienum wmi_tlv_rfkill_enable_radio {
24038c2ecf20Sopenharmony_ci	WMI_TLV_RFKILL_ENABLE_RADIO_ON	= 0,
24048c2ecf20Sopenharmony_ci	WMI_TLV_RFKILL_ENABLE_RADIO_OFF	= 1,
24058c2ecf20Sopenharmony_ci};
24068c2ecf20Sopenharmony_ci
24078c2ecf20Sopenharmony_cienum wmi_tlv_rfkill_radio_state {
24088c2ecf20Sopenharmony_ci	WMI_TLV_RFKILL_RADIO_STATE_OFF	= 1,
24098c2ecf20Sopenharmony_ci	WMI_TLV_RFKILL_RADIO_STATE_ON	= 2,
24108c2ecf20Sopenharmony_ci};
24118c2ecf20Sopenharmony_ci
24128c2ecf20Sopenharmony_cistruct wmi_tlv_rfkill_state_change_ev {
24138c2ecf20Sopenharmony_ci	__le32 gpio_pin_num;
24148c2ecf20Sopenharmony_ci	__le32 int_type;
24158c2ecf20Sopenharmony_ci	__le32 radio_state;
24168c2ecf20Sopenharmony_ci};
24178c2ecf20Sopenharmony_ci
24188c2ecf20Sopenharmony_civoid ath10k_wmi_tlv_attach(struct ath10k *ar);
24198c2ecf20Sopenharmony_ci
24208c2ecf20Sopenharmony_cienum wmi_nlo_auth_algorithm {
24218c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_80211_OPEN        = 1,
24228c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_80211_SHARED_KEY  = 2,
24238c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_WPA               = 3,
24248c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_WPA_PSK           = 4,
24258c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_WPA_NONE          = 5,
24268c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_RSNA              = 6,
24278c2ecf20Sopenharmony_ci	WMI_NLO_AUTH_ALGO_RSNA_PSK          = 7,
24288c2ecf20Sopenharmony_ci};
24298c2ecf20Sopenharmony_ci
24308c2ecf20Sopenharmony_cienum wmi_nlo_cipher_algorithm {
24318c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_NONE           = 0x00,
24328c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_WEP40          = 0x01,
24338c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_TKIP           = 0x02,
24348c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_CCMP           = 0x04,
24358c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_WEP104         = 0x05,
24368c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_BIP            = 0x06,
24378c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_RSN_USE_GROUP  = 0x100,
24388c2ecf20Sopenharmony_ci	WMI_NLO_CIPHER_ALGO_WEP            = 0x101,
24398c2ecf20Sopenharmony_ci};
24408c2ecf20Sopenharmony_ci
24418c2ecf20Sopenharmony_ci/* SSID broadcast  type passed in NLO params */
24428c2ecf20Sopenharmony_cienum wmi_nlo_ssid_bcastnwtype {
24438c2ecf20Sopenharmony_ci	WMI_NLO_BCAST_UNKNOWN      = 0,
24448c2ecf20Sopenharmony_ci	WMI_NLO_BCAST_NORMAL       = 1,
24458c2ecf20Sopenharmony_ci	WMI_NLO_BCAST_HIDDEN       = 2,
24468c2ecf20Sopenharmony_ci};
24478c2ecf20Sopenharmony_ci
24488c2ecf20Sopenharmony_ci#define WMI_NLO_MAX_SSIDS    16
24498c2ecf20Sopenharmony_ci#define WMI_NLO_MAX_CHAN     48
24508c2ecf20Sopenharmony_ci
24518c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_STOP                             (0x1 << 0)
24528c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_START                            (0x1 << 1)
24538c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_RESET                            (0x1 << 2)
24548c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_SLOW_SCAN                        (0x1 << 4)
24558c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_FAST_SCAN                        (0x1 << 5)
24568c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_SSID_HIDE_EN                     (0x1 << 6)
24578c2ecf20Sopenharmony_ci
24588c2ecf20Sopenharmony_ci/* This bit is used to indicate if EPNO or supplicant PNO is enabled.
24598c2ecf20Sopenharmony_ci * Only one of them can be enabled at a given time
24608c2ecf20Sopenharmony_ci */
24618c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_ENLO                             (0x1 << 7)
24628c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_SCAN_PASSIVE                     (0x1 << 8)
24638c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_ENLO_RESET                       (0x1 << 9)
24648c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_SPOOFED_MAC_IN_PROBE_REQ         (0x1 << 10)
24658c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_RANDOM_SEQ_NO_IN_PROBE_REQ       (0x1 << 11)
24668c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_ENABLE_IE_WHITELIST_IN_PROBE_REQ (0x1 << 12)
24678c2ecf20Sopenharmony_ci#define WMI_NLO_CONFIG_ENABLE_CNLO_RSSI_CONFIG          (0x1 << 13)
24688c2ecf20Sopenharmony_ci
24698c2ecf20Sopenharmony_ci/* Whether directed scan needs to be performed (for hidden SSIDs) */
24708c2ecf20Sopenharmony_ci#define WMI_ENLO_FLAG_DIRECTED_SCAN      1
24718c2ecf20Sopenharmony_ci
24728c2ecf20Sopenharmony_ci/* Whether PNO event shall be triggered if the network is found on A band */
24738c2ecf20Sopenharmony_ci#define WMI_ENLO_FLAG_A_BAND             2
24748c2ecf20Sopenharmony_ci
24758c2ecf20Sopenharmony_ci/* Whether PNO event shall be triggered if the network is found on G band */
24768c2ecf20Sopenharmony_ci#define WMI_ENLO_FLAG_G_BAND             4
24778c2ecf20Sopenharmony_ci
24788c2ecf20Sopenharmony_ci/* Whether strict matching is required (i.e. firmware shall not
24798c2ecf20Sopenharmony_ci * match on the entire SSID)
24808c2ecf20Sopenharmony_ci */
24818c2ecf20Sopenharmony_ci#define WMI_ENLO_FLAG_STRICT_MATCH       8
24828c2ecf20Sopenharmony_ci
24838c2ecf20Sopenharmony_ci/* Code for matching the beacon AUTH IE - additional codes TBD */
24848c2ecf20Sopenharmony_ci/* open */
24858c2ecf20Sopenharmony_ci#define WMI_ENLO_AUTH_CODE_OPEN  1
24868c2ecf20Sopenharmony_ci
24878c2ecf20Sopenharmony_ci/* WPA_PSK or WPA2PSK */
24888c2ecf20Sopenharmony_ci#define WMI_ENLO_AUTH_CODE_PSK   2
24898c2ecf20Sopenharmony_ci
24908c2ecf20Sopenharmony_ci/* any EAPOL */
24918c2ecf20Sopenharmony_ci#define WMI_ENLO_AUTH_CODE_EAPOL 4
24928c2ecf20Sopenharmony_ci
24938c2ecf20Sopenharmony_cistruct wmi_nlo_ssid_param {
24948c2ecf20Sopenharmony_ci	__le32 valid;
24958c2ecf20Sopenharmony_ci	struct wmi_ssid ssid;
24968c2ecf20Sopenharmony_ci} __packed;
24978c2ecf20Sopenharmony_ci
24988c2ecf20Sopenharmony_cistruct wmi_nlo_enc_param {
24998c2ecf20Sopenharmony_ci	__le32 valid;
25008c2ecf20Sopenharmony_ci	__le32 enc_type;
25018c2ecf20Sopenharmony_ci} __packed;
25028c2ecf20Sopenharmony_ci
25038c2ecf20Sopenharmony_cistruct wmi_nlo_auth_param {
25048c2ecf20Sopenharmony_ci	__le32 valid;
25058c2ecf20Sopenharmony_ci	__le32 auth_type;
25068c2ecf20Sopenharmony_ci} __packed;
25078c2ecf20Sopenharmony_ci
25088c2ecf20Sopenharmony_cistruct wmi_nlo_bcast_nw_param {
25098c2ecf20Sopenharmony_ci	__le32 valid;
25108c2ecf20Sopenharmony_ci
25118c2ecf20Sopenharmony_ci	/* If WMI_NLO_CONFIG_EPNO is not set. Supplicant PNO is enabled.
25128c2ecf20Sopenharmony_ci	 * The value should be true/false. Otherwise EPNO is enabled.
25138c2ecf20Sopenharmony_ci	 * bcast_nw_type would be used as a bit flag contains WMI_ENLO_FLAG_XXX
25148c2ecf20Sopenharmony_ci	 */
25158c2ecf20Sopenharmony_ci	__le32 bcast_nw_type;
25168c2ecf20Sopenharmony_ci} __packed;
25178c2ecf20Sopenharmony_ci
25188c2ecf20Sopenharmony_cistruct wmi_nlo_rssi_param {
25198c2ecf20Sopenharmony_ci	__le32 valid;
25208c2ecf20Sopenharmony_ci	__le32 rssi;
25218c2ecf20Sopenharmony_ci} __packed;
25228c2ecf20Sopenharmony_ci
25238c2ecf20Sopenharmony_cistruct nlo_configured_parameters {
25248c2ecf20Sopenharmony_ci	/* TLV tag and len;*/
25258c2ecf20Sopenharmony_ci	__le32 tlv_header;
25268c2ecf20Sopenharmony_ci	struct wmi_nlo_ssid_param ssid;
25278c2ecf20Sopenharmony_ci	struct wmi_nlo_enc_param enc_type;
25288c2ecf20Sopenharmony_ci	struct wmi_nlo_auth_param auth_type;
25298c2ecf20Sopenharmony_ci	struct wmi_nlo_rssi_param rssi_cond;
25308c2ecf20Sopenharmony_ci
25318c2ecf20Sopenharmony_ci	/* indicates if the SSID is hidden or not */
25328c2ecf20Sopenharmony_ci	struct wmi_nlo_bcast_nw_param bcast_nw_type;
25338c2ecf20Sopenharmony_ci} __packed;
25348c2ecf20Sopenharmony_ci
25358c2ecf20Sopenharmony_ci/* Support channel prediction for PNO scan after scanning top_k_num channels
25368c2ecf20Sopenharmony_ci * if stationary_threshold is met.
25378c2ecf20Sopenharmony_ci */
25388c2ecf20Sopenharmony_cistruct nlo_channel_prediction_cfg {
25398c2ecf20Sopenharmony_ci	__le32 tlv_header;
25408c2ecf20Sopenharmony_ci
25418c2ecf20Sopenharmony_ci	/* Enable or disable this feature. */
25428c2ecf20Sopenharmony_ci	__le32 enable;
25438c2ecf20Sopenharmony_ci
25448c2ecf20Sopenharmony_ci	/* Top K channels will be scanned before deciding whether to further scan
25458c2ecf20Sopenharmony_ci	 * or stop. Minimum value is 3 and maximum is 5.
25468c2ecf20Sopenharmony_ci	 */
25478c2ecf20Sopenharmony_ci	__le32 top_k_num;
25488c2ecf20Sopenharmony_ci
25498c2ecf20Sopenharmony_ci	/* Preconfigured stationary threshold.
25508c2ecf20Sopenharmony_ci	 * Lesser value means more conservative. Bigger value means more aggressive.
25518c2ecf20Sopenharmony_ci	 * Maximum is 100 and mininum is 0.
25528c2ecf20Sopenharmony_ci	 */
25538c2ecf20Sopenharmony_ci	__le32 stationary_threshold;
25548c2ecf20Sopenharmony_ci
25558c2ecf20Sopenharmony_ci	/* Periodic full channel scan in milliseconds unit.
25568c2ecf20Sopenharmony_ci	 * After full_scan_period_ms since last full scan, channel prediction
25578c2ecf20Sopenharmony_ci	 * scan is suppressed and will do full scan.
25588c2ecf20Sopenharmony_ci	 * This is to help detecting sudden AP power-on or -off. Value 0 means no
25598c2ecf20Sopenharmony_ci	 * full scan at all (not recommended).
25608c2ecf20Sopenharmony_ci	 */
25618c2ecf20Sopenharmony_ci	__le32 full_scan_period_ms;
25628c2ecf20Sopenharmony_ci} __packed;
25638c2ecf20Sopenharmony_ci
25648c2ecf20Sopenharmony_cistruct enlo_candidate_score_params_t {
25658c2ecf20Sopenharmony_ci	__le32 tlv_header;   /* TLV tag and len; */
25668c2ecf20Sopenharmony_ci
25678c2ecf20Sopenharmony_ci	/* minimum 5GHz RSSI for a BSSID to be considered (units = dBm) */
25688c2ecf20Sopenharmony_ci	__le32 min_5ghz_rssi;
25698c2ecf20Sopenharmony_ci
25708c2ecf20Sopenharmony_ci	/* minimum 2.4GHz RSSI for a BSSID to be considered (units = dBm) */
25718c2ecf20Sopenharmony_ci	__le32 min_24ghz_rssi;
25728c2ecf20Sopenharmony_ci
25738c2ecf20Sopenharmony_ci	/* the maximum score that a network can have before bonuses */
25748c2ecf20Sopenharmony_ci	__le32 initial_score_max;
25758c2ecf20Sopenharmony_ci
25768c2ecf20Sopenharmony_ci	/* current_connection_bonus:
25778c2ecf20Sopenharmony_ci	 * only report when there is a network's score this much higher
25788c2ecf20Sopenharmony_ci	 * than the current connection
25798c2ecf20Sopenharmony_ci	 */
25808c2ecf20Sopenharmony_ci	__le32 current_connection_bonus;
25818c2ecf20Sopenharmony_ci
25828c2ecf20Sopenharmony_ci	/* score bonus for all networks with the same network flag */
25838c2ecf20Sopenharmony_ci	__le32 same_network_bonus;
25848c2ecf20Sopenharmony_ci
25858c2ecf20Sopenharmony_ci	/* score bonus for networks that are not open */
25868c2ecf20Sopenharmony_ci	__le32 secure_bonus;
25878c2ecf20Sopenharmony_ci
25888c2ecf20Sopenharmony_ci	/* 5GHz RSSI score bonus (applied to all 5GHz networks) */
25898c2ecf20Sopenharmony_ci	__le32 band_5ghz_bonus;
25908c2ecf20Sopenharmony_ci} __packed;
25918c2ecf20Sopenharmony_ci
25928c2ecf20Sopenharmony_cistruct connected_nlo_bss_band_rssi_pref_t {
25938c2ecf20Sopenharmony_ci	__le32 tlv_header; /* TLV tag and len;*/
25948c2ecf20Sopenharmony_ci
25958c2ecf20Sopenharmony_ci	/* band which needs to get preference over other band
25968c2ecf20Sopenharmony_ci	 * - see wmi_set_vdev_ie_band enum
25978c2ecf20Sopenharmony_ci	 */
25988c2ecf20Sopenharmony_ci	__le32 band;
25998c2ecf20Sopenharmony_ci
26008c2ecf20Sopenharmony_ci	/* Amount of RSSI preference (in dB) that can be given to a band */
26018c2ecf20Sopenharmony_ci	__le32 rssi_pref;
26028c2ecf20Sopenharmony_ci} __packed;
26038c2ecf20Sopenharmony_ci
26048c2ecf20Sopenharmony_cistruct connected_nlo_rssi_params_t {
26058c2ecf20Sopenharmony_ci	__le32 tlv_header; /* TLV tag and len;*/
26068c2ecf20Sopenharmony_ci
26078c2ecf20Sopenharmony_ci	/* Relative rssi threshold (in dB) by which new BSS should have
26088c2ecf20Sopenharmony_ci	 * better rssi than the current connected BSS.
26098c2ecf20Sopenharmony_ci	 */
26108c2ecf20Sopenharmony_ci	__le32 relative_rssi;
26118c2ecf20Sopenharmony_ci
26128c2ecf20Sopenharmony_ci	/* The amount of rssi preference (in dB) that can be given
26138c2ecf20Sopenharmony_ci	 * to a 5G BSS over 2.4G BSS.
26148c2ecf20Sopenharmony_ci	 */
26158c2ecf20Sopenharmony_ci	__le32 relative_rssi_5g_pref;
26168c2ecf20Sopenharmony_ci} __packed;
26178c2ecf20Sopenharmony_ci
26188c2ecf20Sopenharmony_cistruct wmi_tlv_wow_nlo_config_cmd {
26198c2ecf20Sopenharmony_ci	__le32 flags;
26208c2ecf20Sopenharmony_ci	__le32 vdev_id;
26218c2ecf20Sopenharmony_ci	__le32 fast_scan_max_cycles;
26228c2ecf20Sopenharmony_ci	__le32 active_dwell_time;
26238c2ecf20Sopenharmony_ci	__le32 passive_dwell_time; /* PDT in msecs */
26248c2ecf20Sopenharmony_ci	__le32 probe_bundle_size;
26258c2ecf20Sopenharmony_ci
26268c2ecf20Sopenharmony_ci	/* ART = IRT */
26278c2ecf20Sopenharmony_ci	__le32 rest_time;
26288c2ecf20Sopenharmony_ci
26298c2ecf20Sopenharmony_ci	/* Max value that can be reached after SBM */
26308c2ecf20Sopenharmony_ci	__le32 max_rest_time;
26318c2ecf20Sopenharmony_ci
26328c2ecf20Sopenharmony_ci	/* SBM */
26338c2ecf20Sopenharmony_ci	__le32 scan_backoff_multiplier;
26348c2ecf20Sopenharmony_ci
26358c2ecf20Sopenharmony_ci	/* SCBM */
26368c2ecf20Sopenharmony_ci	__le32 fast_scan_period;
26378c2ecf20Sopenharmony_ci
26388c2ecf20Sopenharmony_ci	/* specific to windows */
26398c2ecf20Sopenharmony_ci	__le32 slow_scan_period;
26408c2ecf20Sopenharmony_ci
26418c2ecf20Sopenharmony_ci	__le32 no_of_ssids;
26428c2ecf20Sopenharmony_ci
26438c2ecf20Sopenharmony_ci	__le32 num_of_channels;
26448c2ecf20Sopenharmony_ci
26458c2ecf20Sopenharmony_ci	/* NLO scan start delay time in milliseconds */
26468c2ecf20Sopenharmony_ci	__le32 delay_start_time;
26478c2ecf20Sopenharmony_ci
26488c2ecf20Sopenharmony_ci	/** MAC Address to use in Probe Req as SA **/
26498c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
26508c2ecf20Sopenharmony_ci
26518c2ecf20Sopenharmony_ci	/** Mask on which MAC has to be randomized **/
26528c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_mask;
26538c2ecf20Sopenharmony_ci
26548c2ecf20Sopenharmony_ci	/** IE bitmap to use in Probe Req **/
26558c2ecf20Sopenharmony_ci	__le32 ie_bitmap[8];
26568c2ecf20Sopenharmony_ci
26578c2ecf20Sopenharmony_ci	/** Number of vendor OUIs. In the TLV vendor_oui[] **/
26588c2ecf20Sopenharmony_ci	__le32 num_vendor_oui;
26598c2ecf20Sopenharmony_ci
26608c2ecf20Sopenharmony_ci	/** Number of connected NLO band preferences **/
26618c2ecf20Sopenharmony_ci	__le32 num_cnlo_band_pref;
26628c2ecf20Sopenharmony_ci
26638c2ecf20Sopenharmony_ci	/* The TLVs will follow.
26648c2ecf20Sopenharmony_ci	 * nlo_configured_parameters nlo_list[];
26658c2ecf20Sopenharmony_ci	 * A_UINT32 channel_list[num_of_channels];
26668c2ecf20Sopenharmony_ci	 * nlo_channel_prediction_cfg ch_prediction_cfg;
26678c2ecf20Sopenharmony_ci	 * enlo_candidate_score_params candidate_score_params;
26688c2ecf20Sopenharmony_ci	 * wmi_vendor_oui vendor_oui[num_vendor_oui];
26698c2ecf20Sopenharmony_ci	 * connected_nlo_rssi_params cnlo_rssi_params;
26708c2ecf20Sopenharmony_ci	 * connected_nlo_bss_band_rssi_pref cnlo_bss_band_rssi_pref[num_cnlo_band_pref];
26718c2ecf20Sopenharmony_ci	 */
26728c2ecf20Sopenharmony_ci} __packed;
26738c2ecf20Sopenharmony_ci
26748c2ecf20Sopenharmony_cistruct wmi_tlv_mgmt_tx_cmd {
26758c2ecf20Sopenharmony_ci	__le32 vdev_id;
26768c2ecf20Sopenharmony_ci	__le32 desc_id;
26778c2ecf20Sopenharmony_ci	__le32 chanfreq;
26788c2ecf20Sopenharmony_ci	__le64 paddr;
26798c2ecf20Sopenharmony_ci	__le32 frame_len;
26808c2ecf20Sopenharmony_ci	__le32 buf_len;
26818c2ecf20Sopenharmony_ci} __packed;
26828c2ecf20Sopenharmony_ci#endif
2683