18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: BSD-3-Clause-Clear */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef ATH11K_WMI_H
78c2ecf20Sopenharmony_ci#define ATH11K_WMI_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <net/mac80211.h>
108c2ecf20Sopenharmony_ci#include "htc.h"
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cistruct ath11k_base;
138c2ecf20Sopenharmony_cistruct ath11k;
148c2ecf20Sopenharmony_cistruct ath11k_fw_stats;
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#define PSOC_HOST_MAX_NUM_SS (8)
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci/* defines to set Packet extension values whic can be 0 us, 8 usec or 16 usec */
198c2ecf20Sopenharmony_ci#define MAX_HE_NSS               8
208c2ecf20Sopenharmony_ci#define MAX_HE_MODULATION        8
218c2ecf20Sopenharmony_ci#define MAX_HE_RU                4
228c2ecf20Sopenharmony_ci#define HE_MODULATION_NONE       7
238c2ecf20Sopenharmony_ci#define HE_PET_0_USEC            0
248c2ecf20Sopenharmony_ci#define HE_PET_8_USEC            1
258c2ecf20Sopenharmony_ci#define HE_PET_16_USEC           2
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#define WMI_MAX_CHAINS		 8
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#define WMI_MAX_NUM_SS                    MAX_HE_NSS
308c2ecf20Sopenharmony_ci#define WMI_MAX_NUM_RU                    MAX_HE_RU
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#define WMI_TLV_CMD(grp_id) (((grp_id) << 12) | 0x1)
338c2ecf20Sopenharmony_ci#define WMI_TLV_EV(grp_id) (((grp_id) << 12) | 0x1)
348c2ecf20Sopenharmony_ci#define WMI_TLV_CMD_UNSUPPORTED 0
358c2ecf20Sopenharmony_ci#define WMI_TLV_PDEV_PARAM_UNSUPPORTED 0
368c2ecf20Sopenharmony_ci#define WMI_TLV_VDEV_PARAM_UNSUPPORTED 0
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_cistruct wmi_cmd_hdr {
398c2ecf20Sopenharmony_ci	u32 cmd_id;
408c2ecf20Sopenharmony_ci} __packed;
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_cistruct wmi_tlv {
438c2ecf20Sopenharmony_ci	u32 header;
448c2ecf20Sopenharmony_ci	u8 value[];
458c2ecf20Sopenharmony_ci} __packed;
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci#define WMI_TLV_LEN	GENMASK(15, 0)
488c2ecf20Sopenharmony_ci#define WMI_TLV_TAG	GENMASK(31, 16)
498c2ecf20Sopenharmony_ci#define TLV_HDR_SIZE	sizeof_field(struct wmi_tlv, header)
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#define WMI_CMD_HDR_CMD_ID      GENMASK(23, 0)
528c2ecf20Sopenharmony_ci#define WMI_MAX_MEM_REQS        32
538c2ecf20Sopenharmony_ci#define ATH11K_MAX_HW_LISTEN_INTERVAL 5
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_HINT_S_SSID        10
568c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_HINT_BSSID         10
578c2ecf20Sopenharmony_ci#define MAX_RNR_BSS                    5
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_HINT_S_SSID        10
608c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_HINT_BSSID         10
618c2ecf20Sopenharmony_ci#define MAX_RNR_BSS                    5
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_SSID    16
648c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_BSSID   4
658c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_IE_LEN  256
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci#define WMI_APPEND_TO_EXISTING_CHAN_LIST_FLAG 1
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci#define WMI_BA_MODE_BUFFER_SIZE_256  3
708c2ecf20Sopenharmony_ci/*
718c2ecf20Sopenharmony_ci * HW mode config type replicated from FW header
728c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_SINGLE: Only one PHY is active.
738c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_DBS: Both PHYs are active in different bands,
748c2ecf20Sopenharmony_ci *                        one in 2G and another in 5G.
758c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_SBS_PASSIVE: Both PHYs are in passive mode (only rx) in
768c2ecf20Sopenharmony_ci *                        same band; no tx allowed.
778c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_SBS: Both PHYs are active in the same band.
788c2ecf20Sopenharmony_ci *                        Support for both PHYs within one band is planned
798c2ecf20Sopenharmony_ci *                        for 5G only(as indicated in WMI_MAC_PHY_CAPABILITIES),
808c2ecf20Sopenharmony_ci *                        but could be extended to other bands in the future.
818c2ecf20Sopenharmony_ci *                        The separation of the band between the two PHYs needs
828c2ecf20Sopenharmony_ci *                        to be communicated separately.
838c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_DBS_SBS: 3 PHYs, with 2 on the same band doing SBS
848c2ecf20Sopenharmony_ci *                           as in WMI_HW_MODE_SBS, and 3rd on the other band
858c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capabale of both 2G and
868c2ecf20Sopenharmony_ci *                        5G. It can support SBS (5G + 5G) OR DBS (5G + 2G).
878c2ecf20Sopenharmony_ci * @WMI_HOST_HW_MODE_MAX: Max hw_mode_id. Used to indicate invalid mode.
888c2ecf20Sopenharmony_ci */
898c2ecf20Sopenharmony_cienum wmi_host_hw_mode_config_type {
908c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SINGLE       = 0,
918c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS          = 1,
928c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SBS_PASSIVE  = 2,
938c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SBS          = 3,
948c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS_SBS      = 4,
958c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS_OR_SBS   = 5,
968c2ecf20Sopenharmony_ci
978c2ecf20Sopenharmony_ci	/* keep last */
988c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_MAX
998c2ecf20Sopenharmony_ci};
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci/* HW mode priority values used to detect the preferred HW mode
1028c2ecf20Sopenharmony_ci * on the available modes.
1038c2ecf20Sopenharmony_ci */
1048c2ecf20Sopenharmony_cienum wmi_host_hw_mode_priority {
1058c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS_SBS_PRI,
1068c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS_PRI,
1078c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_DBS_OR_SBS_PRI,
1088c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SBS_PRI,
1098c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SBS_PASSIVE_PRI,
1108c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_SINGLE_PRI,
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci	/* keep last the lowest priority */
1138c2ecf20Sopenharmony_ci	WMI_HOST_HW_MODE_MAX_PRI
1148c2ecf20Sopenharmony_ci};
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_cienum {
1178c2ecf20Sopenharmony_ci	WMI_HOST_WLAN_2G_CAP	= 0x1,
1188c2ecf20Sopenharmony_ci	WMI_HOST_WLAN_5G_CAP	= 0x2,
1198c2ecf20Sopenharmony_ci	WMI_HOST_WLAN_2G_5G_CAP	= 0x3,
1208c2ecf20Sopenharmony_ci};
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci/*
1238c2ecf20Sopenharmony_ci * wmi command groups.
1248c2ecf20Sopenharmony_ci */
1258c2ecf20Sopenharmony_cienum wmi_cmd_group {
1268c2ecf20Sopenharmony_ci	/* 0 to 2 are reserved */
1278c2ecf20Sopenharmony_ci	WMI_GRP_START = 0x3,
1288c2ecf20Sopenharmony_ci	WMI_GRP_SCAN = WMI_GRP_START,
1298c2ecf20Sopenharmony_ci	WMI_GRP_PDEV		= 0x4,
1308c2ecf20Sopenharmony_ci	WMI_GRP_VDEV           = 0x5,
1318c2ecf20Sopenharmony_ci	WMI_GRP_PEER           = 0x6,
1328c2ecf20Sopenharmony_ci	WMI_GRP_MGMT           = 0x7,
1338c2ecf20Sopenharmony_ci	WMI_GRP_BA_NEG         = 0x8,
1348c2ecf20Sopenharmony_ci	WMI_GRP_STA_PS         = 0x9,
1358c2ecf20Sopenharmony_ci	WMI_GRP_DFS            = 0xa,
1368c2ecf20Sopenharmony_ci	WMI_GRP_ROAM           = 0xb,
1378c2ecf20Sopenharmony_ci	WMI_GRP_OFL_SCAN       = 0xc,
1388c2ecf20Sopenharmony_ci	WMI_GRP_P2P            = 0xd,
1398c2ecf20Sopenharmony_ci	WMI_GRP_AP_PS          = 0xe,
1408c2ecf20Sopenharmony_ci	WMI_GRP_RATE_CTRL      = 0xf,
1418c2ecf20Sopenharmony_ci	WMI_GRP_PROFILE        = 0x10,
1428c2ecf20Sopenharmony_ci	WMI_GRP_SUSPEND        = 0x11,
1438c2ecf20Sopenharmony_ci	WMI_GRP_BCN_FILTER     = 0x12,
1448c2ecf20Sopenharmony_ci	WMI_GRP_WOW            = 0x13,
1458c2ecf20Sopenharmony_ci	WMI_GRP_RTT            = 0x14,
1468c2ecf20Sopenharmony_ci	WMI_GRP_SPECTRAL       = 0x15,
1478c2ecf20Sopenharmony_ci	WMI_GRP_STATS          = 0x16,
1488c2ecf20Sopenharmony_ci	WMI_GRP_ARP_NS_OFL     = 0x17,
1498c2ecf20Sopenharmony_ci	WMI_GRP_NLO_OFL        = 0x18,
1508c2ecf20Sopenharmony_ci	WMI_GRP_GTK_OFL        = 0x19,
1518c2ecf20Sopenharmony_ci	WMI_GRP_CSA_OFL        = 0x1a,
1528c2ecf20Sopenharmony_ci	WMI_GRP_CHATTER        = 0x1b,
1538c2ecf20Sopenharmony_ci	WMI_GRP_TID_ADDBA      = 0x1c,
1548c2ecf20Sopenharmony_ci	WMI_GRP_MISC           = 0x1d,
1558c2ecf20Sopenharmony_ci	WMI_GRP_GPIO           = 0x1e,
1568c2ecf20Sopenharmony_ci	WMI_GRP_FWTEST         = 0x1f,
1578c2ecf20Sopenharmony_ci	WMI_GRP_TDLS           = 0x20,
1588c2ecf20Sopenharmony_ci	WMI_GRP_RESMGR         = 0x21,
1598c2ecf20Sopenharmony_ci	WMI_GRP_STA_SMPS       = 0x22,
1608c2ecf20Sopenharmony_ci	WMI_GRP_WLAN_HB        = 0x23,
1618c2ecf20Sopenharmony_ci	WMI_GRP_RMC            = 0x24,
1628c2ecf20Sopenharmony_ci	WMI_GRP_MHF_OFL        = 0x25,
1638c2ecf20Sopenharmony_ci	WMI_GRP_LOCATION_SCAN  = 0x26,
1648c2ecf20Sopenharmony_ci	WMI_GRP_OEM            = 0x27,
1658c2ecf20Sopenharmony_ci	WMI_GRP_NAN            = 0x28,
1668c2ecf20Sopenharmony_ci	WMI_GRP_COEX           = 0x29,
1678c2ecf20Sopenharmony_ci	WMI_GRP_OBSS_OFL       = 0x2a,
1688c2ecf20Sopenharmony_ci	WMI_GRP_LPI            = 0x2b,
1698c2ecf20Sopenharmony_ci	WMI_GRP_EXTSCAN        = 0x2c,
1708c2ecf20Sopenharmony_ci	WMI_GRP_DHCP_OFL       = 0x2d,
1718c2ecf20Sopenharmony_ci	WMI_GRP_IPA            = 0x2e,
1728c2ecf20Sopenharmony_ci	WMI_GRP_MDNS_OFL       = 0x2f,
1738c2ecf20Sopenharmony_ci	WMI_GRP_SAP_OFL        = 0x30,
1748c2ecf20Sopenharmony_ci	WMI_GRP_OCB            = 0x31,
1758c2ecf20Sopenharmony_ci	WMI_GRP_SOC            = 0x32,
1768c2ecf20Sopenharmony_ci	WMI_GRP_PKT_FILTER     = 0x33,
1778c2ecf20Sopenharmony_ci	WMI_GRP_MAWC           = 0x34,
1788c2ecf20Sopenharmony_ci	WMI_GRP_PMF_OFFLOAD    = 0x35,
1798c2ecf20Sopenharmony_ci	WMI_GRP_BPF_OFFLOAD    = 0x36,
1808c2ecf20Sopenharmony_ci	WMI_GRP_NAN_DATA       = 0x37,
1818c2ecf20Sopenharmony_ci	WMI_GRP_PROTOTYPE      = 0x38,
1828c2ecf20Sopenharmony_ci	WMI_GRP_MONITOR        = 0x39,
1838c2ecf20Sopenharmony_ci	WMI_GRP_REGULATORY     = 0x3a,
1848c2ecf20Sopenharmony_ci	WMI_GRP_HW_DATA_FILTER = 0x3b,
1858c2ecf20Sopenharmony_ci	WMI_GRP_WLM            = 0x3c,
1868c2ecf20Sopenharmony_ci	WMI_GRP_11K_OFFLOAD    = 0x3d,
1878c2ecf20Sopenharmony_ci	WMI_GRP_TWT            = 0x3e,
1888c2ecf20Sopenharmony_ci	WMI_GRP_MOTION_DET     = 0x3f,
1898c2ecf20Sopenharmony_ci	WMI_GRP_SPATIAL_REUSE  = 0x40,
1908c2ecf20Sopenharmony_ci};
1918c2ecf20Sopenharmony_ci
1928c2ecf20Sopenharmony_ci#define WMI_CMD_GRP(grp_id) (((grp_id) << 12) | 0x1)
1938c2ecf20Sopenharmony_ci#define WMI_EVT_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
1948c2ecf20Sopenharmony_ci
1958c2ecf20Sopenharmony_ci#define WMI_CMD_UNSUPPORTED 0
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_cienum wmi_tlv_cmd_id {
1988c2ecf20Sopenharmony_ci	WMI_INIT_CMDID = 0x1,
1998c2ecf20Sopenharmony_ci	WMI_START_SCAN_CMDID = WMI_TLV_CMD(WMI_GRP_SCAN),
2008c2ecf20Sopenharmony_ci	WMI_STOP_SCAN_CMDID,
2018c2ecf20Sopenharmony_ci	WMI_SCAN_CHAN_LIST_CMDID,
2028c2ecf20Sopenharmony_ci	WMI_SCAN_SCH_PRIO_TBL_CMDID,
2038c2ecf20Sopenharmony_ci	WMI_SCAN_UPDATE_REQUEST_CMDID,
2048c2ecf20Sopenharmony_ci	WMI_SCAN_PROB_REQ_OUI_CMDID,
2058c2ecf20Sopenharmony_ci	WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID,
2068c2ecf20Sopenharmony_ci	WMI_PDEV_SET_REGDOMAIN_CMDID = WMI_TLV_CMD(WMI_GRP_PDEV),
2078c2ecf20Sopenharmony_ci	WMI_PDEV_SET_CHANNEL_CMDID,
2088c2ecf20Sopenharmony_ci	WMI_PDEV_SET_PARAM_CMDID,
2098c2ecf20Sopenharmony_ci	WMI_PDEV_PKTLOG_ENABLE_CMDID,
2108c2ecf20Sopenharmony_ci	WMI_PDEV_PKTLOG_DISABLE_CMDID,
2118c2ecf20Sopenharmony_ci	WMI_PDEV_SET_WMM_PARAMS_CMDID,
2128c2ecf20Sopenharmony_ci	WMI_PDEV_SET_HT_CAP_IE_CMDID,
2138c2ecf20Sopenharmony_ci	WMI_PDEV_SET_VHT_CAP_IE_CMDID,
2148c2ecf20Sopenharmony_ci	WMI_PDEV_SET_DSCP_TID_MAP_CMDID,
2158c2ecf20Sopenharmony_ci	WMI_PDEV_SET_QUIET_MODE_CMDID,
2168c2ecf20Sopenharmony_ci	WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID,
2178c2ecf20Sopenharmony_ci	WMI_PDEV_GET_TPC_CONFIG_CMDID,
2188c2ecf20Sopenharmony_ci	WMI_PDEV_SET_BASE_MACADDR_CMDID,
2198c2ecf20Sopenharmony_ci	WMI_PDEV_DUMP_CMDID,
2208c2ecf20Sopenharmony_ci	WMI_PDEV_SET_LED_CONFIG_CMDID,
2218c2ecf20Sopenharmony_ci	WMI_PDEV_GET_TEMPERATURE_CMDID,
2228c2ecf20Sopenharmony_ci	WMI_PDEV_SET_LED_FLASHING_CMDID,
2238c2ecf20Sopenharmony_ci	WMI_PDEV_SMART_ANT_ENABLE_CMDID,
2248c2ecf20Sopenharmony_ci	WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID,
2258c2ecf20Sopenharmony_ci	WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID,
2268c2ecf20Sopenharmony_ci	WMI_PDEV_SET_CTL_TABLE_CMDID,
2278c2ecf20Sopenharmony_ci	WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID,
2288c2ecf20Sopenharmony_ci	WMI_PDEV_FIPS_CMDID,
2298c2ecf20Sopenharmony_ci	WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID,
2308c2ecf20Sopenharmony_ci	WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID,
2318c2ecf20Sopenharmony_ci	WMI_PDEV_GET_NFCAL_POWER_CMDID,
2328c2ecf20Sopenharmony_ci	WMI_PDEV_GET_TPC_CMDID,
2338c2ecf20Sopenharmony_ci	WMI_MIB_STATS_ENABLE_CMDID,
2348c2ecf20Sopenharmony_ci	WMI_PDEV_SET_PCL_CMDID,
2358c2ecf20Sopenharmony_ci	WMI_PDEV_SET_HW_MODE_CMDID,
2368c2ecf20Sopenharmony_ci	WMI_PDEV_SET_MAC_CONFIG_CMDID,
2378c2ecf20Sopenharmony_ci	WMI_PDEV_SET_ANTENNA_MODE_CMDID,
2388c2ecf20Sopenharmony_ci	WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID,
2398c2ecf20Sopenharmony_ci	WMI_PDEV_WAL_POWER_DEBUG_CMDID,
2408c2ecf20Sopenharmony_ci	WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID,
2418c2ecf20Sopenharmony_ci	WMI_PDEV_SET_WAKEUP_CONFIG_CMDID,
2428c2ecf20Sopenharmony_ci	WMI_PDEV_GET_ANTDIV_STATUS_CMDID,
2438c2ecf20Sopenharmony_ci	WMI_PDEV_GET_CHIP_POWER_STATS_CMDID,
2448c2ecf20Sopenharmony_ci	WMI_PDEV_SET_STATS_THRESHOLD_CMDID,
2458c2ecf20Sopenharmony_ci	WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID,
2468c2ecf20Sopenharmony_ci	WMI_PDEV_UPDATE_PKT_ROUTING_CMDID,
2478c2ecf20Sopenharmony_ci	WMI_PDEV_CHECK_CAL_VERSION_CMDID,
2488c2ecf20Sopenharmony_ci	WMI_PDEV_SET_DIVERSITY_GAIN_CMDID,
2498c2ecf20Sopenharmony_ci	WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID,
2508c2ecf20Sopenharmony_ci	WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID,
2518c2ecf20Sopenharmony_ci	WMI_PDEV_UPDATE_PMK_CACHE_CMDID,
2528c2ecf20Sopenharmony_ci	WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID,
2538c2ecf20Sopenharmony_ci	WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID,
2548c2ecf20Sopenharmony_ci	WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID,
2558c2ecf20Sopenharmony_ci	WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID,
2568c2ecf20Sopenharmony_ci	WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID,
2578c2ecf20Sopenharmony_ci	WMI_PDEV_DMA_RING_CFG_REQ_CMDID,
2588c2ecf20Sopenharmony_ci	WMI_PDEV_HE_TB_ACTION_FRM_CMDID,
2598c2ecf20Sopenharmony_ci	WMI_PDEV_PKTLOG_FILTER_CMDID,
2608c2ecf20Sopenharmony_ci	WMI_VDEV_CREATE_CMDID = WMI_TLV_CMD(WMI_GRP_VDEV),
2618c2ecf20Sopenharmony_ci	WMI_VDEV_DELETE_CMDID,
2628c2ecf20Sopenharmony_ci	WMI_VDEV_START_REQUEST_CMDID,
2638c2ecf20Sopenharmony_ci	WMI_VDEV_RESTART_REQUEST_CMDID,
2648c2ecf20Sopenharmony_ci	WMI_VDEV_UP_CMDID,
2658c2ecf20Sopenharmony_ci	WMI_VDEV_STOP_CMDID,
2668c2ecf20Sopenharmony_ci	WMI_VDEV_DOWN_CMDID,
2678c2ecf20Sopenharmony_ci	WMI_VDEV_SET_PARAM_CMDID,
2688c2ecf20Sopenharmony_ci	WMI_VDEV_INSTALL_KEY_CMDID,
2698c2ecf20Sopenharmony_ci	WMI_VDEV_WNM_SLEEPMODE_CMDID,
2708c2ecf20Sopenharmony_ci	WMI_VDEV_WMM_ADDTS_CMDID,
2718c2ecf20Sopenharmony_ci	WMI_VDEV_WMM_DELTS_CMDID,
2728c2ecf20Sopenharmony_ci	WMI_VDEV_SET_WMM_PARAMS_CMDID,
2738c2ecf20Sopenharmony_ci	WMI_VDEV_SET_GTX_PARAMS_CMDID,
2748c2ecf20Sopenharmony_ci	WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID,
2758c2ecf20Sopenharmony_ci	WMI_VDEV_PLMREQ_START_CMDID,
2768c2ecf20Sopenharmony_ci	WMI_VDEV_PLMREQ_STOP_CMDID,
2778c2ecf20Sopenharmony_ci	WMI_VDEV_TSF_TSTAMP_ACTION_CMDID,
2788c2ecf20Sopenharmony_ci	WMI_VDEV_SET_IE_CMDID,
2798c2ecf20Sopenharmony_ci	WMI_VDEV_RATEMASK_CMDID,
2808c2ecf20Sopenharmony_ci	WMI_VDEV_ATF_REQUEST_CMDID,
2818c2ecf20Sopenharmony_ci	WMI_VDEV_SET_DSCP_TID_MAP_CMDID,
2828c2ecf20Sopenharmony_ci	WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID,
2838c2ecf20Sopenharmony_ci	WMI_VDEV_SET_QUIET_MODE_CMDID,
2848c2ecf20Sopenharmony_ci	WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID,
2858c2ecf20Sopenharmony_ci	WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID,
2868c2ecf20Sopenharmony_ci	WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID,
2878c2ecf20Sopenharmony_ci	WMI_PEER_CREATE_CMDID = WMI_TLV_CMD(WMI_GRP_PEER),
2888c2ecf20Sopenharmony_ci	WMI_PEER_DELETE_CMDID,
2898c2ecf20Sopenharmony_ci	WMI_PEER_FLUSH_TIDS_CMDID,
2908c2ecf20Sopenharmony_ci	WMI_PEER_SET_PARAM_CMDID,
2918c2ecf20Sopenharmony_ci	WMI_PEER_ASSOC_CMDID,
2928c2ecf20Sopenharmony_ci	WMI_PEER_ADD_WDS_ENTRY_CMDID,
2938c2ecf20Sopenharmony_ci	WMI_PEER_REMOVE_WDS_ENTRY_CMDID,
2948c2ecf20Sopenharmony_ci	WMI_PEER_MCAST_GROUP_CMDID,
2958c2ecf20Sopenharmony_ci	WMI_PEER_INFO_REQ_CMDID,
2968c2ecf20Sopenharmony_ci	WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID,
2978c2ecf20Sopenharmony_ci	WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID,
2988c2ecf20Sopenharmony_ci	WMI_PEER_UPDATE_WDS_ENTRY_CMDID,
2998c2ecf20Sopenharmony_ci	WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID,
3008c2ecf20Sopenharmony_ci	WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID,
3018c2ecf20Sopenharmony_ci	WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID,
3028c2ecf20Sopenharmony_ci	WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID,
3038c2ecf20Sopenharmony_ci	WMI_PEER_ATF_REQUEST_CMDID,
3048c2ecf20Sopenharmony_ci	WMI_PEER_BWF_REQUEST_CMDID,
3058c2ecf20Sopenharmony_ci	WMI_PEER_REORDER_QUEUE_SETUP_CMDID,
3068c2ecf20Sopenharmony_ci	WMI_PEER_REORDER_QUEUE_REMOVE_CMDID,
3078c2ecf20Sopenharmony_ci	WMI_PEER_SET_RX_BLOCKSIZE_CMDID,
3088c2ecf20Sopenharmony_ci	WMI_PEER_ANTDIV_INFO_REQ_CMDID,
3098c2ecf20Sopenharmony_ci	WMI_BCN_TX_CMDID = WMI_TLV_CMD(WMI_GRP_MGMT),
3108c2ecf20Sopenharmony_ci	WMI_PDEV_SEND_BCN_CMDID,
3118c2ecf20Sopenharmony_ci	WMI_BCN_TMPL_CMDID,
3128c2ecf20Sopenharmony_ci	WMI_BCN_FILTER_RX_CMDID,
3138c2ecf20Sopenharmony_ci	WMI_PRB_REQ_FILTER_RX_CMDID,
3148c2ecf20Sopenharmony_ci	WMI_MGMT_TX_CMDID,
3158c2ecf20Sopenharmony_ci	WMI_PRB_TMPL_CMDID,
3168c2ecf20Sopenharmony_ci	WMI_MGMT_TX_SEND_CMDID,
3178c2ecf20Sopenharmony_ci	WMI_OFFCHAN_DATA_TX_SEND_CMDID,
3188c2ecf20Sopenharmony_ci	WMI_PDEV_SEND_FD_CMDID,
3198c2ecf20Sopenharmony_ci	WMI_BCN_OFFLOAD_CTRL_CMDID,
3208c2ecf20Sopenharmony_ci	WMI_BSS_COLOR_CHANGE_ENABLE_CMDID,
3218c2ecf20Sopenharmony_ci	WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID,
3228c2ecf20Sopenharmony_ci	WMI_ADDBA_CLEAR_RESP_CMDID = WMI_TLV_CMD(WMI_GRP_BA_NEG),
3238c2ecf20Sopenharmony_ci	WMI_ADDBA_SEND_CMDID,
3248c2ecf20Sopenharmony_ci	WMI_ADDBA_STATUS_CMDID,
3258c2ecf20Sopenharmony_ci	WMI_DELBA_SEND_CMDID,
3268c2ecf20Sopenharmony_ci	WMI_ADDBA_SET_RESP_CMDID,
3278c2ecf20Sopenharmony_ci	WMI_SEND_SINGLEAMSDU_CMDID,
3288c2ecf20Sopenharmony_ci	WMI_STA_POWERSAVE_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_STA_PS),
3298c2ecf20Sopenharmony_ci	WMI_STA_POWERSAVE_PARAM_CMDID,
3308c2ecf20Sopenharmony_ci	WMI_STA_MIMO_PS_MODE_CMDID,
3318c2ecf20Sopenharmony_ci	WMI_PDEV_DFS_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_DFS),
3328c2ecf20Sopenharmony_ci	WMI_PDEV_DFS_DISABLE_CMDID,
3338c2ecf20Sopenharmony_ci	WMI_DFS_PHYERR_FILTER_ENA_CMDID,
3348c2ecf20Sopenharmony_ci	WMI_DFS_PHYERR_FILTER_DIS_CMDID,
3358c2ecf20Sopenharmony_ci	WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID,
3368c2ecf20Sopenharmony_ci	WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID,
3378c2ecf20Sopenharmony_ci	WMI_VDEV_ADFS_CH_CFG_CMDID,
3388c2ecf20Sopenharmony_ci	WMI_VDEV_ADFS_OCAC_ABORT_CMDID,
3398c2ecf20Sopenharmony_ci	WMI_ROAM_SCAN_MODE = WMI_TLV_CMD(WMI_GRP_ROAM),
3408c2ecf20Sopenharmony_ci	WMI_ROAM_SCAN_RSSI_THRESHOLD,
3418c2ecf20Sopenharmony_ci	WMI_ROAM_SCAN_PERIOD,
3428c2ecf20Sopenharmony_ci	WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD,
3438c2ecf20Sopenharmony_ci	WMI_ROAM_AP_PROFILE,
3448c2ecf20Sopenharmony_ci	WMI_ROAM_CHAN_LIST,
3458c2ecf20Sopenharmony_ci	WMI_ROAM_SCAN_CMD,
3468c2ecf20Sopenharmony_ci	WMI_ROAM_SYNCH_COMPLETE,
3478c2ecf20Sopenharmony_ci	WMI_ROAM_SET_RIC_REQUEST_CMDID,
3488c2ecf20Sopenharmony_ci	WMI_ROAM_INVOKE_CMDID,
3498c2ecf20Sopenharmony_ci	WMI_ROAM_FILTER_CMDID,
3508c2ecf20Sopenharmony_ci	WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID,
3518c2ecf20Sopenharmony_ci	WMI_ROAM_CONFIGURE_MAWC_CMDID,
3528c2ecf20Sopenharmony_ci	WMI_ROAM_SET_MBO_PARAM_CMDID,
3538c2ecf20Sopenharmony_ci	WMI_ROAM_PER_CONFIG_CMDID,
3548c2ecf20Sopenharmony_ci	WMI_OFL_SCAN_ADD_AP_PROFILE = WMI_TLV_CMD(WMI_GRP_OFL_SCAN),
3558c2ecf20Sopenharmony_ci	WMI_OFL_SCAN_REMOVE_AP_PROFILE,
3568c2ecf20Sopenharmony_ci	WMI_OFL_SCAN_PERIOD,
3578c2ecf20Sopenharmony_ci	WMI_P2P_DEV_SET_DEVICE_INFO = WMI_TLV_CMD(WMI_GRP_P2P),
3588c2ecf20Sopenharmony_ci	WMI_P2P_DEV_SET_DISCOVERABILITY,
3598c2ecf20Sopenharmony_ci	WMI_P2P_GO_SET_BEACON_IE,
3608c2ecf20Sopenharmony_ci	WMI_P2P_GO_SET_PROBE_RESP_IE,
3618c2ecf20Sopenharmony_ci	WMI_P2P_SET_VENDOR_IE_DATA_CMDID,
3628c2ecf20Sopenharmony_ci	WMI_P2P_DISC_OFFLOAD_CONFIG_CMDID,
3638c2ecf20Sopenharmony_ci	WMI_P2P_DISC_OFFLOAD_APPIE_CMDID,
3648c2ecf20Sopenharmony_ci	WMI_P2P_DISC_OFFLOAD_PATTERN_CMDID,
3658c2ecf20Sopenharmony_ci	WMI_P2P_SET_OPPPS_PARAM_CMDID,
3668c2ecf20Sopenharmony_ci	WMI_P2P_LISTEN_OFFLOAD_START_CMDID,
3678c2ecf20Sopenharmony_ci	WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID,
3688c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_CMDID = WMI_TLV_CMD(WMI_GRP_AP_PS),
3698c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_UAPSD_COEX_CMDID,
3708c2ecf20Sopenharmony_ci	WMI_AP_PS_EGAP_PARAM_CMDID,
3718c2ecf20Sopenharmony_ci	WMI_PEER_RATE_RETRY_SCHED_CMDID = WMI_TLV_CMD(WMI_GRP_RATE_CTRL),
3728c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_TRIGGER_CMDID = WMI_TLV_CMD(WMI_GRP_PROFILE),
3738c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID,
3748c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID,
3758c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID,
3768c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_LIST_PROFILE_ID_CMDID,
3778c2ecf20Sopenharmony_ci	WMI_PDEV_SUSPEND_CMDID = WMI_TLV_CMD(WMI_GRP_SUSPEND),
3788c2ecf20Sopenharmony_ci	WMI_PDEV_RESUME_CMDID,
3798c2ecf20Sopenharmony_ci	WMI_ADD_BCN_FILTER_CMDID = WMI_TLV_CMD(WMI_GRP_BCN_FILTER),
3808c2ecf20Sopenharmony_ci	WMI_RMV_BCN_FILTER_CMDID,
3818c2ecf20Sopenharmony_ci	WMI_WOW_ADD_WAKE_PATTERN_CMDID = WMI_TLV_CMD(WMI_GRP_WOW),
3828c2ecf20Sopenharmony_ci	WMI_WOW_DEL_WAKE_PATTERN_CMDID,
3838c2ecf20Sopenharmony_ci	WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID,
3848c2ecf20Sopenharmony_ci	WMI_WOW_ENABLE_CMDID,
3858c2ecf20Sopenharmony_ci	WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID,
3868c2ecf20Sopenharmony_ci	WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID,
3878c2ecf20Sopenharmony_ci	WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID,
3888c2ecf20Sopenharmony_ci	WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID,
3898c2ecf20Sopenharmony_ci	WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID,
3908c2ecf20Sopenharmony_ci	WMI_D0_WOW_ENABLE_DISABLE_CMDID,
3918c2ecf20Sopenharmony_ci	WMI_EXTWOW_ENABLE_CMDID,
3928c2ecf20Sopenharmony_ci	WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID,
3938c2ecf20Sopenharmony_ci	WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID,
3948c2ecf20Sopenharmony_ci	WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID,
3958c2ecf20Sopenharmony_ci	WMI_WOW_UDP_SVC_OFLD_CMDID,
3968c2ecf20Sopenharmony_ci	WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID,
3978c2ecf20Sopenharmony_ci	WMI_WOW_SET_ACTION_WAKE_UP_CMDID,
3988c2ecf20Sopenharmony_ci	WMI_RTT_MEASREQ_CMDID = WMI_TLV_CMD(WMI_GRP_RTT),
3998c2ecf20Sopenharmony_ci	WMI_RTT_TSF_CMDID,
4008c2ecf20Sopenharmony_ci	WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID = WMI_TLV_CMD(WMI_GRP_SPECTRAL),
4018c2ecf20Sopenharmony_ci	WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID,
4028c2ecf20Sopenharmony_ci	WMI_REQUEST_STATS_CMDID = WMI_TLV_CMD(WMI_GRP_STATS),
4038c2ecf20Sopenharmony_ci	WMI_MCC_SCHED_TRAFFIC_STATS_CMDID,
4048c2ecf20Sopenharmony_ci	WMI_REQUEST_STATS_EXT_CMDID,
4058c2ecf20Sopenharmony_ci	WMI_REQUEST_LINK_STATS_CMDID,
4068c2ecf20Sopenharmony_ci	WMI_START_LINK_STATS_CMDID,
4078c2ecf20Sopenharmony_ci	WMI_CLEAR_LINK_STATS_CMDID,
4088c2ecf20Sopenharmony_ci	WMI_GET_FW_MEM_DUMP_CMDID,
4098c2ecf20Sopenharmony_ci	WMI_DEBUG_MESG_FLUSH_CMDID,
4108c2ecf20Sopenharmony_ci	WMI_DIAG_EVENT_LOG_CONFIG_CMDID,
4118c2ecf20Sopenharmony_ci	WMI_REQUEST_WLAN_STATS_CMDID,
4128c2ecf20Sopenharmony_ci	WMI_REQUEST_RCPI_CMDID,
4138c2ecf20Sopenharmony_ci	WMI_REQUEST_PEER_STATS_INFO_CMDID,
4148c2ecf20Sopenharmony_ci	WMI_REQUEST_RADIO_CHAN_STATS_CMDID,
4158c2ecf20Sopenharmony_ci	WMI_SET_ARP_NS_OFFLOAD_CMDID = WMI_TLV_CMD(WMI_GRP_ARP_NS_OFL),
4168c2ecf20Sopenharmony_ci	WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID,
4178c2ecf20Sopenharmony_ci	WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID,
4188c2ecf20Sopenharmony_ci	WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID = WMI_TLV_CMD(WMI_GRP_NLO_OFL),
4198c2ecf20Sopenharmony_ci	WMI_APFIND_CMDID,
4208c2ecf20Sopenharmony_ci	WMI_PASSPOINT_LIST_CONFIG_CMDID,
4218c2ecf20Sopenharmony_ci	WMI_NLO_CONFIGURE_MAWC_CMDID,
4228c2ecf20Sopenharmony_ci	WMI_GTK_OFFLOAD_CMDID = WMI_TLV_CMD(WMI_GRP_GTK_OFL),
4238c2ecf20Sopenharmony_ci	WMI_CSA_OFFLOAD_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_CSA_OFL),
4248c2ecf20Sopenharmony_ci	WMI_CSA_OFFLOAD_CHANSWITCH_CMDID,
4258c2ecf20Sopenharmony_ci	WMI_CHATTER_SET_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_CHATTER),
4268c2ecf20Sopenharmony_ci	WMI_CHATTER_ADD_COALESCING_FILTER_CMDID,
4278c2ecf20Sopenharmony_ci	WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID,
4288c2ecf20Sopenharmony_ci	WMI_CHATTER_COALESCING_QUERY_CMDID,
4298c2ecf20Sopenharmony_ci	WMI_PEER_TID_ADDBA_CMDID = WMI_TLV_CMD(WMI_GRP_TID_ADDBA),
4308c2ecf20Sopenharmony_ci	WMI_PEER_TID_DELBA_CMDID,
4318c2ecf20Sopenharmony_ci	WMI_STA_DTIM_PS_METHOD_CMDID,
4328c2ecf20Sopenharmony_ci	WMI_STA_UAPSD_AUTO_TRIG_CMDID,
4338c2ecf20Sopenharmony_ci	WMI_STA_KEEPALIVE_CMDID,
4348c2ecf20Sopenharmony_ci	WMI_BA_REQ_SSN_CMDID,
4358c2ecf20Sopenharmony_ci	WMI_ECHO_CMDID = WMI_TLV_CMD(WMI_GRP_MISC),
4368c2ecf20Sopenharmony_ci	WMI_PDEV_UTF_CMDID,
4378c2ecf20Sopenharmony_ci	WMI_DBGLOG_CFG_CMDID,
4388c2ecf20Sopenharmony_ci	WMI_PDEV_QVIT_CMDID,
4398c2ecf20Sopenharmony_ci	WMI_PDEV_FTM_INTG_CMDID,
4408c2ecf20Sopenharmony_ci	WMI_VDEV_SET_KEEPALIVE_CMDID,
4418c2ecf20Sopenharmony_ci	WMI_VDEV_GET_KEEPALIVE_CMDID,
4428c2ecf20Sopenharmony_ci	WMI_FORCE_FW_HANG_CMDID,
4438c2ecf20Sopenharmony_ci	WMI_SET_MCASTBCAST_FILTER_CMDID,
4448c2ecf20Sopenharmony_ci	WMI_THERMAL_MGMT_CMDID,
4458c2ecf20Sopenharmony_ci	WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID,
4468c2ecf20Sopenharmony_ci	WMI_TPC_CHAINMASK_CONFIG_CMDID,
4478c2ecf20Sopenharmony_ci	WMI_SET_ANTENNA_DIVERSITY_CMDID,
4488c2ecf20Sopenharmony_ci	WMI_OCB_SET_SCHED_CMDID,
4498c2ecf20Sopenharmony_ci	WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID,
4508c2ecf20Sopenharmony_ci	WMI_LRO_CONFIG_CMDID,
4518c2ecf20Sopenharmony_ci	WMI_TRANSFER_DATA_TO_FLASH_CMDID,
4528c2ecf20Sopenharmony_ci	WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID,
4538c2ecf20Sopenharmony_ci	WMI_VDEV_WISA_CMDID,
4548c2ecf20Sopenharmony_ci	WMI_DBGLOG_TIME_STAMP_SYNC_CMDID,
4558c2ecf20Sopenharmony_ci	WMI_SET_MULTIPLE_MCAST_FILTER_CMDID,
4568c2ecf20Sopenharmony_ci	WMI_READ_DATA_FROM_FLASH_CMDID,
4578c2ecf20Sopenharmony_ci	WMI_THERM_THROT_SET_CONF_CMDID,
4588c2ecf20Sopenharmony_ci	WMI_RUNTIME_DPD_RECAL_CMDID,
4598c2ecf20Sopenharmony_ci	WMI_GET_TPC_POWER_CMDID,
4608c2ecf20Sopenharmony_ci	WMI_IDLE_TRIGGER_MONITOR_CMDID,
4618c2ecf20Sopenharmony_ci	WMI_GPIO_CONFIG_CMDID = WMI_TLV_CMD(WMI_GRP_GPIO),
4628c2ecf20Sopenharmony_ci	WMI_GPIO_OUTPUT_CMDID,
4638c2ecf20Sopenharmony_ci	WMI_TXBF_CMDID,
4648c2ecf20Sopenharmony_ci	WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_FWTEST),
4658c2ecf20Sopenharmony_ci	WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID,
4668c2ecf20Sopenharmony_ci	WMI_UNIT_TEST_CMDID,
4678c2ecf20Sopenharmony_ci	WMI_FWTEST_CMDID,
4688c2ecf20Sopenharmony_ci	WMI_QBOOST_CFG_CMDID,
4698c2ecf20Sopenharmony_ci	WMI_TDLS_SET_STATE_CMDID = WMI_TLV_CMD(WMI_GRP_TDLS),
4708c2ecf20Sopenharmony_ci	WMI_TDLS_PEER_UPDATE_CMDID,
4718c2ecf20Sopenharmony_ci	WMI_TDLS_SET_OFFCHAN_MODE_CMDID,
4728c2ecf20Sopenharmony_ci	WMI_RESMGR_ADAPTIVE_OCS_EN_DIS_CMDID = WMI_TLV_CMD(WMI_GRP_RESMGR),
4738c2ecf20Sopenharmony_ci	WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID,
4748c2ecf20Sopenharmony_ci	WMI_RESMGR_SET_CHAN_LATENCY_CMDID,
4758c2ecf20Sopenharmony_ci	WMI_STA_SMPS_FORCE_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_STA_SMPS),
4768c2ecf20Sopenharmony_ci	WMI_STA_SMPS_PARAM_CMDID,
4778c2ecf20Sopenharmony_ci	WMI_HB_SET_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_WLAN_HB),
4788c2ecf20Sopenharmony_ci	WMI_HB_SET_TCP_PARAMS_CMDID,
4798c2ecf20Sopenharmony_ci	WMI_HB_SET_TCP_PKT_FILTER_CMDID,
4808c2ecf20Sopenharmony_ci	WMI_HB_SET_UDP_PARAMS_CMDID,
4818c2ecf20Sopenharmony_ci	WMI_HB_SET_UDP_PKT_FILTER_CMDID,
4828c2ecf20Sopenharmony_ci	WMI_RMC_SET_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_RMC),
4838c2ecf20Sopenharmony_ci	WMI_RMC_SET_ACTION_PERIOD_CMDID,
4848c2ecf20Sopenharmony_ci	WMI_RMC_CONFIG_CMDID,
4858c2ecf20Sopenharmony_ci	WMI_RMC_SET_MANUAL_LEADER_CMDID,
4868c2ecf20Sopenharmony_ci	WMI_MHF_OFFLOAD_SET_MODE_CMDID = WMI_TLV_CMD(WMI_GRP_MHF_OFL),
4878c2ecf20Sopenharmony_ci	WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID,
4888c2ecf20Sopenharmony_ci	WMI_BATCH_SCAN_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_LOCATION_SCAN),
4898c2ecf20Sopenharmony_ci	WMI_BATCH_SCAN_DISABLE_CMDID,
4908c2ecf20Sopenharmony_ci	WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID,
4918c2ecf20Sopenharmony_ci	WMI_OEM_REQ_CMDID = WMI_TLV_CMD(WMI_GRP_OEM),
4928c2ecf20Sopenharmony_ci	WMI_OEM_REQUEST_CMDID,
4938c2ecf20Sopenharmony_ci	WMI_LPI_OEM_REQ_CMDID,
4948c2ecf20Sopenharmony_ci	WMI_NAN_CMDID = WMI_TLV_CMD(WMI_GRP_NAN),
4958c2ecf20Sopenharmony_ci	WMI_MODEM_POWER_STATE_CMDID = WMI_TLV_CMD(WMI_GRP_COEX),
4968c2ecf20Sopenharmony_ci	WMI_CHAN_AVOID_UPDATE_CMDID,
4978c2ecf20Sopenharmony_ci	WMI_COEX_CONFIG_CMDID,
4988c2ecf20Sopenharmony_ci	WMI_CHAN_AVOID_RPT_ALLOW_CMDID,
4998c2ecf20Sopenharmony_ci	WMI_COEX_GET_ANTENNA_ISOLATION_CMDID,
5008c2ecf20Sopenharmony_ci	WMI_SAR_LIMITS_CMDID,
5018c2ecf20Sopenharmony_ci	WMI_OBSS_SCAN_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_OBSS_OFL),
5028c2ecf20Sopenharmony_ci	WMI_OBSS_SCAN_DISABLE_CMDID,
5038c2ecf20Sopenharmony_ci	WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID,
5048c2ecf20Sopenharmony_ci	WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID = WMI_TLV_CMD(WMI_GRP_LPI),
5058c2ecf20Sopenharmony_ci	WMI_LPI_START_SCAN_CMDID,
5068c2ecf20Sopenharmony_ci	WMI_LPI_STOP_SCAN_CMDID,
5078c2ecf20Sopenharmony_ci	WMI_EXTSCAN_START_CMDID = WMI_TLV_CMD(WMI_GRP_EXTSCAN),
5088c2ecf20Sopenharmony_ci	WMI_EXTSCAN_STOP_CMDID,
5098c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID,
5108c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID,
5118c2ecf20Sopenharmony_ci	WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID,
5128c2ecf20Sopenharmony_ci	WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID,
5138c2ecf20Sopenharmony_ci	WMI_EXTSCAN_SET_CAPABILITIES_CMDID,
5148c2ecf20Sopenharmony_ci	WMI_EXTSCAN_GET_CAPABILITIES_CMDID,
5158c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID,
5168c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CONFIGURE_MAWC_CMDID,
5178c2ecf20Sopenharmony_ci	WMI_SET_DHCP_SERVER_OFFLOAD_CMDID = WMI_TLV_CMD(WMI_GRP_DHCP_OFL),
5188c2ecf20Sopenharmony_ci	WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID = WMI_TLV_CMD(WMI_GRP_IPA),
5198c2ecf20Sopenharmony_ci	WMI_MDNS_OFFLOAD_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_MDNS_OFL),
5208c2ecf20Sopenharmony_ci	WMI_MDNS_SET_FQDN_CMDID,
5218c2ecf20Sopenharmony_ci	WMI_MDNS_SET_RESPONSE_CMDID,
5228c2ecf20Sopenharmony_ci	WMI_MDNS_GET_STATS_CMDID,
5238c2ecf20Sopenharmony_ci	WMI_SAP_OFL_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_SAP_OFL),
5248c2ecf20Sopenharmony_ci	WMI_SAP_SET_BLACKLIST_PARAM_CMDID,
5258c2ecf20Sopenharmony_ci	WMI_OCB_SET_CONFIG_CMDID = WMI_TLV_CMD(WMI_GRP_OCB),
5268c2ecf20Sopenharmony_ci	WMI_OCB_SET_UTC_TIME_CMDID,
5278c2ecf20Sopenharmony_ci	WMI_OCB_START_TIMING_ADVERT_CMDID,
5288c2ecf20Sopenharmony_ci	WMI_OCB_STOP_TIMING_ADVERT_CMDID,
5298c2ecf20Sopenharmony_ci	WMI_OCB_GET_TSF_TIMER_CMDID,
5308c2ecf20Sopenharmony_ci	WMI_DCC_GET_STATS_CMDID,
5318c2ecf20Sopenharmony_ci	WMI_DCC_CLEAR_STATS_CMDID,
5328c2ecf20Sopenharmony_ci	WMI_DCC_UPDATE_NDL_CMDID,
5338c2ecf20Sopenharmony_ci	WMI_SOC_SET_PCL_CMDID = WMI_TLV_CMD(WMI_GRP_SOC),
5348c2ecf20Sopenharmony_ci	WMI_SOC_SET_HW_MODE_CMDID,
5358c2ecf20Sopenharmony_ci	WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID,
5368c2ecf20Sopenharmony_ci	WMI_SOC_SET_ANTENNA_MODE_CMDID,
5378c2ecf20Sopenharmony_ci	WMI_PACKET_FILTER_CONFIG_CMDID = WMI_TLV_CMD(WMI_GRP_PKT_FILTER),
5388c2ecf20Sopenharmony_ci	WMI_PACKET_FILTER_ENABLE_CMDID,
5398c2ecf20Sopenharmony_ci	WMI_MAWC_SENSOR_REPORT_IND_CMDID = WMI_TLV_CMD(WMI_GRP_MAWC),
5408c2ecf20Sopenharmony_ci	WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID = WMI_TLV_CMD(WMI_GRP_PMF_OFFLOAD),
5418c2ecf20Sopenharmony_ci	WMI_BPF_GET_CAPABILITY_CMDID = WMI_TLV_CMD(WMI_GRP_BPF_OFFLOAD),
5428c2ecf20Sopenharmony_ci	WMI_BPF_GET_VDEV_STATS_CMDID,
5438c2ecf20Sopenharmony_ci	WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID,
5448c2ecf20Sopenharmony_ci	WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID,
5458c2ecf20Sopenharmony_ci	WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID,
5468c2ecf20Sopenharmony_ci	WMI_MNT_FILTER_CMDID = WMI_TLV_CMD(WMI_GRP_MONITOR),
5478c2ecf20Sopenharmony_ci	WMI_SET_CURRENT_COUNTRY_CMDID = WMI_TLV_CMD(WMI_GRP_REGULATORY),
5488c2ecf20Sopenharmony_ci	WMI_11D_SCAN_START_CMDID,
5498c2ecf20Sopenharmony_ci	WMI_11D_SCAN_STOP_CMDID,
5508c2ecf20Sopenharmony_ci	WMI_SET_INIT_COUNTRY_CMDID,
5518c2ecf20Sopenharmony_ci	WMI_NDI_GET_CAP_REQ_CMDID = WMI_TLV_CMD(WMI_GRP_PROTOTYPE),
5528c2ecf20Sopenharmony_ci	WMI_NDP_INITIATOR_REQ_CMDID,
5538c2ecf20Sopenharmony_ci	WMI_NDP_RESPONDER_REQ_CMDID,
5548c2ecf20Sopenharmony_ci	WMI_NDP_END_REQ_CMDID,
5558c2ecf20Sopenharmony_ci	WMI_HW_DATA_FILTER_CMDID = WMI_TLV_CMD(WMI_GRP_HW_DATA_FILTER),
5568c2ecf20Sopenharmony_ci	WMI_TWT_ENABLE_CMDID = WMI_TLV_CMD(WMI_GRP_TWT),
5578c2ecf20Sopenharmony_ci	WMI_TWT_DISABLE_CMDID,
5588c2ecf20Sopenharmony_ci	WMI_TWT_ADD_DIALOG_CMDID,
5598c2ecf20Sopenharmony_ci	WMI_TWT_DEL_DIALOG_CMDID,
5608c2ecf20Sopenharmony_ci	WMI_TWT_PAUSE_DIALOG_CMDID,
5618c2ecf20Sopenharmony_ci	WMI_TWT_RESUME_DIALOG_CMDID,
5628c2ecf20Sopenharmony_ci	WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID =
5638c2ecf20Sopenharmony_ci				WMI_TLV_CMD(WMI_GRP_SPATIAL_REUSE),
5648c2ecf20Sopenharmony_ci	WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID,
5658c2ecf20Sopenharmony_ci};
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_cienum wmi_tlv_event_id {
5688c2ecf20Sopenharmony_ci	WMI_SERVICE_READY_EVENTID = 0x1,
5698c2ecf20Sopenharmony_ci	WMI_READY_EVENTID,
5708c2ecf20Sopenharmony_ci	WMI_SERVICE_AVAILABLE_EVENTID,
5718c2ecf20Sopenharmony_ci	WMI_SCAN_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SCAN),
5728c2ecf20Sopenharmony_ci	WMI_PDEV_TPC_CONFIG_EVENTID = WMI_TLV_CMD(WMI_GRP_PDEV),
5738c2ecf20Sopenharmony_ci	WMI_CHAN_INFO_EVENTID,
5748c2ecf20Sopenharmony_ci	WMI_PHYERR_EVENTID,
5758c2ecf20Sopenharmony_ci	WMI_PDEV_DUMP_EVENTID,
5768c2ecf20Sopenharmony_ci	WMI_TX_PAUSE_EVENTID,
5778c2ecf20Sopenharmony_ci	WMI_DFS_RADAR_EVENTID,
5788c2ecf20Sopenharmony_ci	WMI_PDEV_L1SS_TRACK_EVENTID,
5798c2ecf20Sopenharmony_ci	WMI_PDEV_TEMPERATURE_EVENTID,
5808c2ecf20Sopenharmony_ci	WMI_SERVICE_READY_EXT_EVENTID,
5818c2ecf20Sopenharmony_ci	WMI_PDEV_FIPS_EVENTID,
5828c2ecf20Sopenharmony_ci	WMI_PDEV_CHANNEL_HOPPING_EVENTID,
5838c2ecf20Sopenharmony_ci	WMI_PDEV_ANI_CCK_LEVEL_EVENTID,
5848c2ecf20Sopenharmony_ci	WMI_PDEV_ANI_OFDM_LEVEL_EVENTID,
5858c2ecf20Sopenharmony_ci	WMI_PDEV_TPC_EVENTID,
5868c2ecf20Sopenharmony_ci	WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID,
5878c2ecf20Sopenharmony_ci	WMI_PDEV_SET_HW_MODE_RESP_EVENTID,
5888c2ecf20Sopenharmony_ci	WMI_PDEV_HW_MODE_TRANSITION_EVENTID,
5898c2ecf20Sopenharmony_ci	WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID,
5908c2ecf20Sopenharmony_ci	WMI_PDEV_ANTDIV_STATUS_EVENTID,
5918c2ecf20Sopenharmony_ci	WMI_PDEV_CHIP_POWER_STATS_EVENTID,
5928c2ecf20Sopenharmony_ci	WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID,
5938c2ecf20Sopenharmony_ci	WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID,
5948c2ecf20Sopenharmony_ci	WMI_PDEV_CHECK_CAL_VERSION_EVENTID,
5958c2ecf20Sopenharmony_ci	WMI_PDEV_DIV_RSSI_ANTID_EVENTID,
5968c2ecf20Sopenharmony_ci	WMI_PDEV_BSS_CHAN_INFO_EVENTID,
5978c2ecf20Sopenharmony_ci	WMI_PDEV_UPDATE_CTLTABLE_EVENTID,
5988c2ecf20Sopenharmony_ci	WMI_PDEV_DMA_RING_CFG_RSP_EVENTID,
5998c2ecf20Sopenharmony_ci	WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID,
6008c2ecf20Sopenharmony_ci	WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID,
6018c2ecf20Sopenharmony_ci	WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID,
6028c2ecf20Sopenharmony_ci	WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID,
6038c2ecf20Sopenharmony_ci	WMI_PDEV_RAP_INFO_EVENTID,
6048c2ecf20Sopenharmony_ci	WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID,
6058c2ecf20Sopenharmony_ci	WMI_SERVICE_READY_EXT2_EVENTID,
6068c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESP_EVENTID = WMI_TLV_CMD(WMI_GRP_VDEV),
6078c2ecf20Sopenharmony_ci	WMI_VDEV_STOPPED_EVENTID,
6088c2ecf20Sopenharmony_ci	WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID,
6098c2ecf20Sopenharmony_ci	WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID,
6108c2ecf20Sopenharmony_ci	WMI_VDEV_TSF_REPORT_EVENTID,
6118c2ecf20Sopenharmony_ci	WMI_VDEV_DELETE_RESP_EVENTID,
6128c2ecf20Sopenharmony_ci	WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID,
6138c2ecf20Sopenharmony_ci	WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID,
6148c2ecf20Sopenharmony_ci	WMI_PEER_STA_KICKOUT_EVENTID = WMI_TLV_CMD(WMI_GRP_PEER),
6158c2ecf20Sopenharmony_ci	WMI_PEER_INFO_EVENTID,
6168c2ecf20Sopenharmony_ci	WMI_PEER_TX_FAIL_CNT_THR_EVENTID,
6178c2ecf20Sopenharmony_ci	WMI_PEER_ESTIMATED_LINKSPEED_EVENTID,
6188c2ecf20Sopenharmony_ci	WMI_PEER_STATE_EVENTID,
6198c2ecf20Sopenharmony_ci	WMI_PEER_ASSOC_CONF_EVENTID,
6208c2ecf20Sopenharmony_ci	WMI_PEER_DELETE_RESP_EVENTID,
6218c2ecf20Sopenharmony_ci	WMI_PEER_RATECODE_LIST_EVENTID,
6228c2ecf20Sopenharmony_ci	WMI_WDS_PEER_EVENTID,
6238c2ecf20Sopenharmony_ci	WMI_PEER_STA_PS_STATECHG_EVENTID,
6248c2ecf20Sopenharmony_ci	WMI_PEER_ANTDIV_INFO_EVENTID,
6258c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED0_EVENTID,
6268c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED1_EVENTID,
6278c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED2_EVENTID,
6288c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED3_EVENTID,
6298c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED4_EVENTID,
6308c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED5_EVENTID,
6318c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED6_EVENTID,
6328c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED7_EVENTID,
6338c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED8_EVENTID,
6348c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED9_EVENTID,
6358c2ecf20Sopenharmony_ci	WMI_PEER_RESERVED10_EVENTID,
6368c2ecf20Sopenharmony_ci	WMI_PEER_OPER_MODE_CHANGE_EVENTID,
6378c2ecf20Sopenharmony_ci	WMI_MGMT_RX_EVENTID = WMI_TLV_CMD(WMI_GRP_MGMT),
6388c2ecf20Sopenharmony_ci	WMI_HOST_SWBA_EVENTID,
6398c2ecf20Sopenharmony_ci	WMI_TBTTOFFSET_UPDATE_EVENTID,
6408c2ecf20Sopenharmony_ci	WMI_OFFLOAD_BCN_TX_STATUS_EVENTID,
6418c2ecf20Sopenharmony_ci	WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID,
6428c2ecf20Sopenharmony_ci	WMI_MGMT_TX_COMPLETION_EVENTID,
6438c2ecf20Sopenharmony_ci	WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID,
6448c2ecf20Sopenharmony_ci	WMI_TBTTOFFSET_EXT_UPDATE_EVENTID,
6458c2ecf20Sopenharmony_ci	WMI_TX_DELBA_COMPLETE_EVENTID = WMI_TLV_CMD(WMI_GRP_BA_NEG),
6468c2ecf20Sopenharmony_ci	WMI_TX_ADDBA_COMPLETE_EVENTID,
6478c2ecf20Sopenharmony_ci	WMI_BA_RSP_SSN_EVENTID,
6488c2ecf20Sopenharmony_ci	WMI_AGGR_STATE_TRIG_EVENTID,
6498c2ecf20Sopenharmony_ci	WMI_ROAM_EVENTID = WMI_TLV_CMD(WMI_GRP_ROAM),
6508c2ecf20Sopenharmony_ci	WMI_PROFILE_MATCH,
6518c2ecf20Sopenharmony_ci	WMI_ROAM_SYNCH_EVENTID,
6528c2ecf20Sopenharmony_ci	WMI_P2P_DISC_EVENTID = WMI_TLV_CMD(WMI_GRP_P2P),
6538c2ecf20Sopenharmony_ci	WMI_P2P_NOA_EVENTID,
6548c2ecf20Sopenharmony_ci	WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID,
6558c2ecf20Sopenharmony_ci	WMI_AP_PS_EGAP_INFO_EVENTID = WMI_TLV_CMD(WMI_GRP_AP_PS),
6568c2ecf20Sopenharmony_ci	WMI_PDEV_RESUME_EVENTID = WMI_TLV_CMD(WMI_GRP_SUSPEND),
6578c2ecf20Sopenharmony_ci	WMI_WOW_WAKEUP_HOST_EVENTID = WMI_TLV_CMD(WMI_GRP_WOW),
6588c2ecf20Sopenharmony_ci	WMI_D0_WOW_DISABLE_ACK_EVENTID,
6598c2ecf20Sopenharmony_ci	WMI_WOW_INITIAL_WAKEUP_EVENTID,
6608c2ecf20Sopenharmony_ci	WMI_RTT_MEASUREMENT_REPORT_EVENTID = WMI_TLV_CMD(WMI_GRP_RTT),
6618c2ecf20Sopenharmony_ci	WMI_TSF_MEASUREMENT_REPORT_EVENTID,
6628c2ecf20Sopenharmony_ci	WMI_RTT_ERROR_REPORT_EVENTID,
6638c2ecf20Sopenharmony_ci	WMI_STATS_EXT_EVENTID = WMI_TLV_CMD(WMI_GRP_STATS),
6648c2ecf20Sopenharmony_ci	WMI_IFACE_LINK_STATS_EVENTID,
6658c2ecf20Sopenharmony_ci	WMI_PEER_LINK_STATS_EVENTID,
6668c2ecf20Sopenharmony_ci	WMI_RADIO_LINK_STATS_EVENTID,
6678c2ecf20Sopenharmony_ci	WMI_UPDATE_FW_MEM_DUMP_EVENTID,
6688c2ecf20Sopenharmony_ci	WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID,
6698c2ecf20Sopenharmony_ci	WMI_INST_RSSI_STATS_EVENTID,
6708c2ecf20Sopenharmony_ci	WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID,
6718c2ecf20Sopenharmony_ci	WMI_REPORT_STATS_EVENTID,
6728c2ecf20Sopenharmony_ci	WMI_UPDATE_RCPI_EVENTID,
6738c2ecf20Sopenharmony_ci	WMI_PEER_STATS_INFO_EVENTID,
6748c2ecf20Sopenharmony_ci	WMI_RADIO_CHAN_STATS_EVENTID,
6758c2ecf20Sopenharmony_ci	WMI_NLO_MATCH_EVENTID = WMI_TLV_CMD(WMI_GRP_NLO_OFL),
6768c2ecf20Sopenharmony_ci	WMI_NLO_SCAN_COMPLETE_EVENTID,
6778c2ecf20Sopenharmony_ci	WMI_APFIND_EVENTID,
6788c2ecf20Sopenharmony_ci	WMI_PASSPOINT_MATCH_EVENTID,
6798c2ecf20Sopenharmony_ci	WMI_GTK_OFFLOAD_STATUS_EVENTID = WMI_TLV_CMD(WMI_GRP_GTK_OFL),
6808c2ecf20Sopenharmony_ci	WMI_GTK_REKEY_FAIL_EVENTID,
6818c2ecf20Sopenharmony_ci	WMI_CSA_HANDLING_EVENTID = WMI_TLV_CMD(WMI_GRP_CSA_OFL),
6828c2ecf20Sopenharmony_ci	WMI_CHATTER_PC_QUERY_EVENTID = WMI_TLV_CMD(WMI_GRP_CHATTER),
6838c2ecf20Sopenharmony_ci	WMI_PDEV_DFS_RADAR_DETECTION_EVENTID = WMI_TLV_CMD(WMI_GRP_DFS),
6848c2ecf20Sopenharmony_ci	WMI_VDEV_DFS_CAC_COMPLETE_EVENTID,
6858c2ecf20Sopenharmony_ci	WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID,
6868c2ecf20Sopenharmony_ci	WMI_ECHO_EVENTID = WMI_TLV_CMD(WMI_GRP_MISC),
6878c2ecf20Sopenharmony_ci	WMI_PDEV_UTF_EVENTID,
6888c2ecf20Sopenharmony_ci	WMI_DEBUG_MESG_EVENTID,
6898c2ecf20Sopenharmony_ci	WMI_UPDATE_STATS_EVENTID,
6908c2ecf20Sopenharmony_ci	WMI_DEBUG_PRINT_EVENTID,
6918c2ecf20Sopenharmony_ci	WMI_DCS_INTERFERENCE_EVENTID,
6928c2ecf20Sopenharmony_ci	WMI_PDEV_QVIT_EVENTID,
6938c2ecf20Sopenharmony_ci	WMI_WLAN_PROFILE_DATA_EVENTID,
6948c2ecf20Sopenharmony_ci	WMI_PDEV_FTM_INTG_EVENTID,
6958c2ecf20Sopenharmony_ci	WMI_WLAN_FREQ_AVOID_EVENTID,
6968c2ecf20Sopenharmony_ci	WMI_VDEV_GET_KEEPALIVE_EVENTID,
6978c2ecf20Sopenharmony_ci	WMI_THERMAL_MGMT_EVENTID,
6988c2ecf20Sopenharmony_ci	WMI_DIAG_DATA_CONTAINER_EVENTID,
6998c2ecf20Sopenharmony_ci	WMI_HOST_AUTO_SHUTDOWN_EVENTID,
7008c2ecf20Sopenharmony_ci	WMI_UPDATE_WHAL_MIB_STATS_EVENTID,
7018c2ecf20Sopenharmony_ci	WMI_UPDATE_VDEV_RATE_STATS_EVENTID,
7028c2ecf20Sopenharmony_ci	WMI_DIAG_EVENTID,
7038c2ecf20Sopenharmony_ci	WMI_OCB_SET_SCHED_EVENTID,
7048c2ecf20Sopenharmony_ci	WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID,
7058c2ecf20Sopenharmony_ci	WMI_RSSI_BREACH_EVENTID,
7068c2ecf20Sopenharmony_ci	WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID,
7078c2ecf20Sopenharmony_ci	WMI_PDEV_UTF_SCPC_EVENTID,
7088c2ecf20Sopenharmony_ci	WMI_READ_DATA_FROM_FLASH_EVENTID,
7098c2ecf20Sopenharmony_ci	WMI_REPORT_RX_AGGR_FAILURE_EVENTID,
7108c2ecf20Sopenharmony_ci	WMI_PKGID_EVENTID,
7118c2ecf20Sopenharmony_ci	WMI_GPIO_INPUT_EVENTID = WMI_TLV_CMD(WMI_GRP_GPIO),
7128c2ecf20Sopenharmony_ci	WMI_UPLOADH_EVENTID,
7138c2ecf20Sopenharmony_ci	WMI_CAPTUREH_EVENTID,
7148c2ecf20Sopenharmony_ci	WMI_RFKILL_STATE_CHANGE_EVENTID,
7158c2ecf20Sopenharmony_ci	WMI_TDLS_PEER_EVENTID = WMI_TLV_CMD(WMI_GRP_TDLS),
7168c2ecf20Sopenharmony_ci	WMI_STA_SMPS_FORCE_MODE_COMPL_EVENTID = WMI_TLV_CMD(WMI_GRP_STA_SMPS),
7178c2ecf20Sopenharmony_ci	WMI_BATCH_SCAN_ENABLED_EVENTID = WMI_TLV_CMD(WMI_GRP_LOCATION_SCAN),
7188c2ecf20Sopenharmony_ci	WMI_BATCH_SCAN_RESULT_EVENTID,
7198c2ecf20Sopenharmony_ci	WMI_OEM_CAPABILITY_EVENTID = WMI_TLV_CMD(WMI_GRP_OEM),
7208c2ecf20Sopenharmony_ci	WMI_OEM_MEASUREMENT_REPORT_EVENTID,
7218c2ecf20Sopenharmony_ci	WMI_OEM_ERROR_REPORT_EVENTID,
7228c2ecf20Sopenharmony_ci	WMI_OEM_RESPONSE_EVENTID,
7238c2ecf20Sopenharmony_ci	WMI_NAN_EVENTID = WMI_TLV_CMD(WMI_GRP_NAN),
7248c2ecf20Sopenharmony_ci	WMI_NAN_DISC_IFACE_CREATED_EVENTID,
7258c2ecf20Sopenharmony_ci	WMI_NAN_DISC_IFACE_DELETED_EVENTID,
7268c2ecf20Sopenharmony_ci	WMI_NAN_STARTED_CLUSTER_EVENTID,
7278c2ecf20Sopenharmony_ci	WMI_NAN_JOINED_CLUSTER_EVENTID,
7288c2ecf20Sopenharmony_ci	WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID = WMI_TLV_CMD(WMI_GRP_COEX),
7298c2ecf20Sopenharmony_ci	WMI_LPI_RESULT_EVENTID = WMI_TLV_CMD(WMI_GRP_LPI),
7308c2ecf20Sopenharmony_ci	WMI_LPI_STATUS_EVENTID,
7318c2ecf20Sopenharmony_ci	WMI_LPI_HANDOFF_EVENTID,
7328c2ecf20Sopenharmony_ci	WMI_EXTSCAN_START_STOP_EVENTID = WMI_TLV_CMD(WMI_GRP_EXTSCAN),
7338c2ecf20Sopenharmony_ci	WMI_EXTSCAN_OPERATION_EVENTID,
7348c2ecf20Sopenharmony_ci	WMI_EXTSCAN_TABLE_USAGE_EVENTID,
7358c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CACHED_RESULTS_EVENTID,
7368c2ecf20Sopenharmony_ci	WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID,
7378c2ecf20Sopenharmony_ci	WMI_EXTSCAN_HOTLIST_MATCH_EVENTID,
7388c2ecf20Sopenharmony_ci	WMI_EXTSCAN_CAPABILITIES_EVENTID,
7398c2ecf20Sopenharmony_ci	WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID,
7408c2ecf20Sopenharmony_ci	WMI_MDNS_STATS_EVENTID = WMI_TLV_CMD(WMI_GRP_MDNS_OFL),
7418c2ecf20Sopenharmony_ci	WMI_SAP_OFL_ADD_STA_EVENTID = WMI_TLV_CMD(WMI_GRP_SAP_OFL),
7428c2ecf20Sopenharmony_ci	WMI_SAP_OFL_DEL_STA_EVENTID,
7438c2ecf20Sopenharmony_ci	WMI_OCB_SET_CONFIG_RESP_EVENTID = WMI_TLV_CMD(WMI_GRP_OCB),
7448c2ecf20Sopenharmony_ci	WMI_OCB_GET_TSF_TIMER_RESP_EVENTID,
7458c2ecf20Sopenharmony_ci	WMI_DCC_GET_STATS_RESP_EVENTID,
7468c2ecf20Sopenharmony_ci	WMI_DCC_UPDATE_NDL_RESP_EVENTID,
7478c2ecf20Sopenharmony_ci	WMI_DCC_STATS_EVENTID,
7488c2ecf20Sopenharmony_ci	WMI_SOC_SET_HW_MODE_RESP_EVENTID = WMI_TLV_CMD(WMI_GRP_SOC),
7498c2ecf20Sopenharmony_ci	WMI_SOC_HW_MODE_TRANSITION_EVENTID,
7508c2ecf20Sopenharmony_ci	WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID,
7518c2ecf20Sopenharmony_ci	WMI_MAWC_ENABLE_SENSOR_EVENTID = WMI_TLV_CMD(WMI_GRP_MAWC),
7528c2ecf20Sopenharmony_ci	WMI_BPF_CAPABILIY_INFO_EVENTID = WMI_TLV_CMD(WMI_GRP_BPF_OFFLOAD),
7538c2ecf20Sopenharmony_ci	WMI_BPF_VDEV_STATS_INFO_EVENTID,
7548c2ecf20Sopenharmony_ci	WMI_RMC_NEW_LEADER_EVENTID = WMI_TLV_CMD(WMI_GRP_RMC),
7558c2ecf20Sopenharmony_ci	WMI_REG_CHAN_LIST_CC_EVENTID = WMI_TLV_CMD(WMI_GRP_REGULATORY),
7568c2ecf20Sopenharmony_ci	WMI_11D_NEW_COUNTRY_EVENTID,
7578c2ecf20Sopenharmony_ci	WMI_NDI_CAP_RSP_EVENTID = WMI_TLV_CMD(WMI_GRP_PROTOTYPE),
7588c2ecf20Sopenharmony_ci	WMI_NDP_INITIATOR_RSP_EVENTID,
7598c2ecf20Sopenharmony_ci	WMI_NDP_RESPONDER_RSP_EVENTID,
7608c2ecf20Sopenharmony_ci	WMI_NDP_END_RSP_EVENTID,
7618c2ecf20Sopenharmony_ci	WMI_NDP_INDICATION_EVENTID,
7628c2ecf20Sopenharmony_ci	WMI_NDP_CONFIRM_EVENTID,
7638c2ecf20Sopenharmony_ci	WMI_NDP_END_INDICATION_EVENTID,
7648c2ecf20Sopenharmony_ci
7658c2ecf20Sopenharmony_ci	WMI_TWT_ENABLE_EVENTID = WMI_TLV_CMD(WMI_GRP_TWT),
7668c2ecf20Sopenharmony_ci	WMI_TWT_DISABLE_EVENTID,
7678c2ecf20Sopenharmony_ci	WMI_TWT_ADD_DIALOG_EVENTID,
7688c2ecf20Sopenharmony_ci	WMI_TWT_DEL_DIALOG_EVENTID,
7698c2ecf20Sopenharmony_ci	WMI_TWT_PAUSE_DIALOG_EVENTID,
7708c2ecf20Sopenharmony_ci	WMI_TWT_RESUME_DIALOG_EVENTID,
7718c2ecf20Sopenharmony_ci};
7728c2ecf20Sopenharmony_ci
7738c2ecf20Sopenharmony_cienum wmi_tlv_pdev_param {
7748c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_CHAIN_MASK = 0x1,
7758c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_CHAIN_MASK,
7768c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TXPOWER_LIMIT2G,
7778c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TXPOWER_LIMIT5G,
7788c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TXPOWER_SCALE,
7798c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BEACON_GEN_MODE,
7808c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BEACON_TX_MODE,
7818c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RESMGR_OFFCHAN_MODE,
7828c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PROTECTION_MODE,
7838c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_DYNAMIC_BW,
7848c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_NON_AGG_SW_RETRY_TH,
7858c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_AGG_SW_RETRY_TH,
7868c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_STA_KICKOUT_TH,
7878c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_AC_AGGRSIZE_SCALING,
7888c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_ENABLE,
7898c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_AC_LATENCY_BE,
7908c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_AC_LATENCY_BK,
7918c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_AC_LATENCY_VI,
7928c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_AC_LATENCY_VO,
7938c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_AC_LATENCY_TIMEOUT,
7948c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_SLEEP_OVERRIDE,
7958c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_RX_OVERRIDE,
7968c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LTR_TX_ACTIVITY_TIMEOUT,
7978c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_L1SS_ENABLE,
7988c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_DSLEEP_ENABLE,
7998c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PCIELP_TXBUF_FLUSH,
8008c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PCIELP_TXBUF_WATERMARK,
8018c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PCIELP_TXBUF_TMO_EN,
8028c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PCIELP_TXBUF_TMO_VALUE,
8038c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PDEV_STATS_UPDATE_PERIOD,
8048c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_VDEV_STATS_UPDATE_PERIOD,
8058c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PEER_STATS_UPDATE_PERIOD,
8068c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BCNFLT_STATS_UPDATE_PERIOD,
8078c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PMF_QOS,
8088c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ARP_AC_OVERRIDE,
8098c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_DCS,
8108c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANI_ENABLE,
8118c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANI_POLL_PERIOD,
8128c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANI_LISTEN_PERIOD,
8138c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANI_OFDM_LEVEL,
8148c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANI_CCK_LEVEL,
8158c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_DYNTXCHAIN,
8168c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PROXY_STA,
8178c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_IDLE_PS_CONFIG,
8188c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_POWER_GATING_SLEEP,
8198c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RFKILL_ENABLE,
8208c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BURST_DUR,
8218c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BURST_ENABLE,
8228c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_HW_RFKILL_CONFIG,
8238c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LOW_POWER_RF_ENABLE,
8248c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_L1SS_TRACK,
8258c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_HYST_EN,
8268c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_POWER_COLLAPSE_ENABLE,
8278c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LED_SYS_STATE,
8288c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_LED_ENABLE,
8298c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_AUDIO_OVER_WLAN_LATENCY,
8308c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_AUDIO_OVER_WLAN_ENABLE,
8318c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_WHAL_MIB_STATS_UPDATE_ENABLE,
8328c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_VDEV_RATE_STATS_UPDATE_PERIOD,
8338c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CTS_CBW,
8348c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_WNTS_CONFIG,
8358c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_ENABLE,
8368c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_MIN_SLEEP_SLOP,
8378c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_INC_DEC_STEP,
8388c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_EARLY_RX_FIX_SLEEP_SLOP,
8398c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BMISS_BASED_ADAPTIVE_BTO_ENABLE,
8408c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BMISS_BTO_MIN_BCN_TIMEOUT,
8418c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BMISS_BTO_INC_DEC_STEP,
8428c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BTO_FIX_BCN_TIMEOUT,
8438c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CE_BASED_ADAPTIVE_BTO_ENABLE,
8448c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CE_BTO_COMBO_CE_VALUE,
8458c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_CHAIN_MASK_2G,
8468c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_CHAIN_MASK_2G,
8478c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_CHAIN_MASK_5G,
8488c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_CHAIN_MASK_5G,
8498c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_CHAIN_MASK_CCK,
8508c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_CHAIN_MASK_1SS,
8518c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CTS2SELF_FOR_P2P_GO_CONFIG,
8528c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TXPOWER_DECR_DB,
8538c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_AGGR_BURST,
8548c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_DECAP_MODE,
8558c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_FAST_CHANNEL_RESET,
8568c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SMART_ANTENNA_DEFAULT_ANTENNA,
8578c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANTENNA_GAIN,
8588c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_FILTER,
8598c2ecf20Sopenharmony_ci	WMI_PDEV_SET_MCAST_TO_UCAST_TID,
8608c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PROXY_STA_MODE,
8618c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_MCAST2UCAST_MODE,
8628c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_MCAST2UCAST_BUFFER,
8638c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_REMOVE_MCAST2UCAST_BUFFER,
8648c2ecf20Sopenharmony_ci	WMI_PDEV_PEER_STA_PS_STATECHG_ENABLE,
8658c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_IGMPMLD_AC_OVERRIDE,
8668c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_BLOCK_INTERBSS,
8678c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_DISABLE_RESET_CMDID,
8688c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_MSDU_TTL_CMDID,
8698c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_PPDU_DURATION_CMDID,
8708c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TXBF_SOUND_PERIOD_CMDID,
8718c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_PROMISC_MODE_CMDID,
8728c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_BURST_MODE_CMDID,
8738c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_EN_STATS,
8748c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_MU_GROUP_POLICY,
8758c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_NOISE_DETECTION,
8768c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_NOISE_THRESHOLD,
8778c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_DPD_ENABLE,
8788c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SET_MCAST_BCAST_ECHO,
8798c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ATF_STRICT_SCH,
8808c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ATF_SCHED_DURATION,
8818c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANT_PLZN,
8828c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_MGMT_RETRY_LIMIT,
8838c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SENSITIVITY_LEVEL,
8848c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SIGNED_TXPOWER_2G,
8858c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_SIGNED_TXPOWER_5G,
8868c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ENABLE_PER_TID_AMSDU,
8878c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ENABLE_PER_TID_AMPDU,
8888c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CCA_THRESHOLD,
8898c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RTS_FIXED_RATE,
8908c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PDEV_RESET,
8918c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_WAPI_MBSSID_OFFSET,
8928c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ARP_DBG_SRCADDR,
8938c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ARP_DBG_DSTADDR,
8948c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ATF_OBSS_NOISE_SCH,
8958c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ATF_OBSS_NOISE_SCALING_FACTOR,
8968c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CUST_TXPOWER_SCALE,
8978c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ATF_DYNAMIC_ENABLE,
8988c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_CTRL_RETRY_LIMIT,
8998c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PROPAGATION_DELAY,
9008c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ENA_ANT_DIV,
9018c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_FORCE_CHAIN_ANT,
9028c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANT_DIV_SELFTEST,
9038c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ANT_DIV_SELFTEST_INTVL,
9048c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_STATS_OBSERVATION_PERIOD,
9058c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_PPDU_DELAY_BIN_SIZE_MS,
9068c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_PPDU_DELAY_ARRAY_LEN,
9078c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_MPDU_AGGR_ARRAY_LEN,
9088c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RX_MPDU_AGGR_ARRAY_LEN,
9098c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_TX_SCH_DELAY,
9108c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_ENABLE_RTS_SIFS_BURSTING,
9118c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_MAX_MPDUS_IN_AMPDU,
9128c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_PEER_STATS_INFO_ENABLE,
9138c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_FAST_PWR_TRANSITION,
9148c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RADIO_CHAN_STATS_ENABLE,
9158c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_RADIO_DIAGNOSIS_ENABLE,
9168c2ecf20Sopenharmony_ci	WMI_PDEV_PARAM_MESH_MCAST_ENABLE,
9178c2ecf20Sopenharmony_ci};
9188c2ecf20Sopenharmony_ci
9198c2ecf20Sopenharmony_cienum wmi_tlv_vdev_param {
9208c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RTS_THRESHOLD = 0x1,
9218c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_FRAGMENTATION_THRESHOLD,
9228c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BEACON_INTERVAL,
9238c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_LISTEN_INTERVAL,
9248c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MULTICAST_RATE,
9258c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MGMT_TX_RATE,
9268c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SLOT_TIME,
9278c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_PREAMBLE,
9288c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SWBA_TIME,
9298c2ecf20Sopenharmony_ci	WMI_VDEV_STATS_UPDATE_PERIOD,
9308c2ecf20Sopenharmony_ci	WMI_VDEV_PWRSAVE_AGEOUT_TIME,
9318c2ecf20Sopenharmony_ci	WMI_VDEV_HOST_SWBA_INTERVAL,
9328c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DTIM_PERIOD,
9338c2ecf20Sopenharmony_ci	WMI_VDEV_OC_SCHEDULER_AIR_TIME_LIMIT,
9348c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_WDS,
9358c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ATIM_WINDOW,
9368c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BMISS_COUNT_MAX,
9378c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BMISS_FIRST_BCNT,
9388c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BMISS_FINAL_BCNT,
9398c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_FEATURE_WMM,
9408c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_CHWIDTH,
9418c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_CHEXTOFFSET,
9428c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DISABLE_HTPROTECTION,
9438c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_STA_QUICKKICKOUT,
9448c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MGMT_RATE,
9458c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_PROTECTION_MODE,
9468c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_FIXED_RATE,
9478c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SGI,
9488c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_LDPC,
9498c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TX_STBC,
9508c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RX_STBC,
9518c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_INTRA_BSS_FWD,
9528c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DEF_KEYID,
9538c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_NSS,
9548c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BCAST_DATA_RATE,
9558c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MCAST_DATA_RATE,
9568c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MCAST_INDICATE,
9578c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DHCP_INDICATE,
9588c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_UNKNOWN_DEST_INDICATE,
9598c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AP_KEEPALIVE_MIN_IDLE_INACTIVE_TIME_SECS,
9608c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AP_KEEPALIVE_MAX_IDLE_INACTIVE_TIME_SECS,
9618c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AP_KEEPALIVE_MAX_UNRESPONSIVE_TIME_SECS,
9628c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AP_ENABLE_NAWDS,
9638c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ENABLE_RTSCTS,
9648c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TXBF,
9658c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_PACKET_POWERSAVE,
9668c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DROP_UNENCRY,
9678c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TX_ENCAP_TYPE,
9688c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AP_DETECT_OUT_OF_SYNC_SLEEPING_STA_TIME_SECS,
9698c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_ADJUST_ENABLE,
9708c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_TGT_BMISS_NUM,
9718c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_BMISS_SAMPLE_CYCLE,
9728c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_SLOP_STEP,
9738c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_INIT_SLOP,
9748c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_ADJUST_PAUSE,
9758c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TX_PWRLIMIT,
9768c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SNR_NUM_FOR_CAL,
9778c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ROAM_FW_OFFLOAD,
9788c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ENABLE_RMC,
9798c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IBSS_MAX_BCN_LOST_MS,
9808c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MAX_RATE,
9818c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EARLY_RX_DRIFT_SAMPLE,
9828c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SET_IBSS_TX_FAIL_CNT_THR,
9838c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_EBT_RESYNC_TIMEOUT,
9848c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AGGR_TRIG_EVENT_ENABLE,
9858c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IS_IBSS_POWER_SAVE_ALLOWED,
9868c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IS_POWER_COLLAPSE_ALLOWED,
9878c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IS_AWAKE_ON_TXRX_ENABLED,
9888c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_INACTIVITY_CNT,
9898c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TXSP_END_INACTIVITY_TIME_MS,
9908c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DTIM_POLICY,
9918c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IBSS_PS_WARMUP_TIME_SECS,
9928c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_ENABLE,
9938c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RX_LEAK_WINDOW,
9948c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_STATS_AVG_FACTOR,
9958c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DISCONNECT_TH,
9968c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RTSCTS_RATE,
9978c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MCC_RTSCTS_PROTECTION_ENABLE,
9988c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MCC_BROADCAST_PROBE_ENABLE,
9998c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TXPOWER_SCALE,
10008c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TXPOWER_SCALE_DECR_DB,
10018c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MCAST2UCAST_SET,
10028c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RC_NUM_RETRIES,
10038c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_CABQ_MAXDUR,
10048c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MFPTEST_SET,
10058c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RTS_FIXED_RATE,
10068c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_VHT_SGIMASK,
10078c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_VHT80_RATEMASK,
10088c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_PROXY_STA,
10098c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_VIRTUAL_CELL_MODE,
10108c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RX_DECAP_TYPE,
10118c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BW_NSS_RATEMASK,
10128c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SENSOR_AP,
10138c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BEACON_RATE,
10148c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DTIM_ENABLE_CTS,
10158c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_STA_KICKOUT,
10168c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_CAPABILITIES,
10178c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TSF_INCREMENT,
10188c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AMPDU_PER_AC,
10198c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_RX_FILTER,
10208c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_MGMT_TX_POWER,
10218c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_NON_AGG_SW_RETRY_TH,
10228c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_AGG_SW_RETRY_TH,
10238c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_DISABLE_DYN_BW_RTS,
10248c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ATF_SSID_SCHED_POLICY,
10258c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_HE_DCM,
10268c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_HE_RANGE_EXT,
10278c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_ENABLE_BCAST_PROBE_RESPONSE,
10288c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_FILS_MAX_CHANNEL_GUARD_TIME,
10298c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BA_MODE = 0x7e,
10308c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SET_HE_SOUNDING_MODE = 0x87,
10318c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_6GHZ_PARAMS = 0x99,
10328c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_PROTOTYPE = 0x8000,
10338c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_BSS_COLOR,
10348c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_SET_HEMU_MODE,
10358c2ecf20Sopenharmony_ci	WMI_VDEV_PARAM_TX_OFDMA_CPLEN,
10368c2ecf20Sopenharmony_ci};
10378c2ecf20Sopenharmony_ci
10388c2ecf20Sopenharmony_cienum wmi_tlv_peer_flags {
10398c2ecf20Sopenharmony_ci	WMI_TLV_PEER_AUTH = 0x00000001,
10408c2ecf20Sopenharmony_ci	WMI_TLV_PEER_QOS = 0x00000002,
10418c2ecf20Sopenharmony_ci	WMI_TLV_PEER_NEED_PTK_4_WAY = 0x00000004,
10428c2ecf20Sopenharmony_ci	WMI_TLV_PEER_NEED_GTK_2_WAY = 0x00000010,
10438c2ecf20Sopenharmony_ci	WMI_TLV_PEER_APSD = 0x00000800,
10448c2ecf20Sopenharmony_ci	WMI_TLV_PEER_HT = 0x00001000,
10458c2ecf20Sopenharmony_ci	WMI_TLV_PEER_40MHZ = 0x00002000,
10468c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STBC = 0x00008000,
10478c2ecf20Sopenharmony_ci	WMI_TLV_PEER_LDPC = 0x00010000,
10488c2ecf20Sopenharmony_ci	WMI_TLV_PEER_DYN_MIMOPS = 0x00020000,
10498c2ecf20Sopenharmony_ci	WMI_TLV_PEER_STATIC_MIMOPS = 0x00040000,
10508c2ecf20Sopenharmony_ci	WMI_TLV_PEER_SPATIAL_MUX = 0x00200000,
10518c2ecf20Sopenharmony_ci	WMI_TLV_PEER_VHT = 0x02000000,
10528c2ecf20Sopenharmony_ci	WMI_TLV_PEER_80MHZ = 0x04000000,
10538c2ecf20Sopenharmony_ci	WMI_TLV_PEER_PMF = 0x08000000,
10548c2ecf20Sopenharmony_ci	WMI_PEER_IS_P2P_CAPABLE = 0x20000000,
10558c2ecf20Sopenharmony_ci	WMI_PEER_160MHZ         = 0x40000000,
10568c2ecf20Sopenharmony_ci	WMI_PEER_SAFEMODE_EN    = 0x80000000,
10578c2ecf20Sopenharmony_ci
10588c2ecf20Sopenharmony_ci};
10598c2ecf20Sopenharmony_ci
10608c2ecf20Sopenharmony_ci/** Enum list of TLV Tags for each parameter structure type. */
10618c2ecf20Sopenharmony_cienum wmi_tlv_tag {
10628c2ecf20Sopenharmony_ci	WMI_TAG_LAST_RESERVED = 15,
10638c2ecf20Sopenharmony_ci	WMI_TAG_FIRST_ARRAY_ENUM,
10648c2ecf20Sopenharmony_ci	WMI_TAG_ARRAY_UINT32 = WMI_TAG_FIRST_ARRAY_ENUM,
10658c2ecf20Sopenharmony_ci	WMI_TAG_ARRAY_BYTE,
10668c2ecf20Sopenharmony_ci	WMI_TAG_ARRAY_STRUCT,
10678c2ecf20Sopenharmony_ci	WMI_TAG_ARRAY_FIXED_STRUCT,
10688c2ecf20Sopenharmony_ci	WMI_TAG_LAST_ARRAY_ENUM = 31,
10698c2ecf20Sopenharmony_ci	WMI_TAG_SERVICE_READY_EVENT,
10708c2ecf20Sopenharmony_ci	WMI_TAG_HAL_REG_CAPABILITIES,
10718c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_HOST_MEM_REQ,
10728c2ecf20Sopenharmony_ci	WMI_TAG_READY_EVENT,
10738c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_EVENT,
10748c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_TPC_CONFIG_EVENT,
10758c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_INFO_EVENT,
10768c2ecf20Sopenharmony_ci	WMI_TAG_COMB_PHYERR_RX_HDR,
10778c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_START_RESPONSE_EVENT,
10788c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_STOPPED_EVENT,
10798c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_INSTALL_KEY_COMPLETE_EVENT,
10808c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STA_KICKOUT_EVENT,
10818c2ecf20Sopenharmony_ci	WMI_TAG_MGMT_RX_HDR,
10828c2ecf20Sopenharmony_ci	WMI_TAG_TBTT_OFFSET_EVENT,
10838c2ecf20Sopenharmony_ci	WMI_TAG_TX_DELBA_COMPLETE_EVENT,
10848c2ecf20Sopenharmony_ci	WMI_TAG_TX_ADDBA_COMPLETE_EVENT,
10858c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_EVENT,
10868c2ecf20Sopenharmony_ci	WMI_TAG_WOW_EVENT_INFO,
10878c2ecf20Sopenharmony_ci	WMI_TAG_WOW_EVENT_INFO_SECTION_BITMAP,
10888c2ecf20Sopenharmony_ci	WMI_TAG_RTT_EVENT_HEADER,
10898c2ecf20Sopenharmony_ci	WMI_TAG_RTT_ERROR_REPORT_EVENT,
10908c2ecf20Sopenharmony_ci	WMI_TAG_RTT_MEAS_EVENT,
10918c2ecf20Sopenharmony_ci	WMI_TAG_ECHO_EVENT,
10928c2ecf20Sopenharmony_ci	WMI_TAG_FTM_INTG_EVENT,
10938c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_KEEPALIVE_EVENT,
10948c2ecf20Sopenharmony_ci	WMI_TAG_GPIO_INPUT_EVENT,
10958c2ecf20Sopenharmony_ci	WMI_TAG_CSA_EVENT,
10968c2ecf20Sopenharmony_ci	WMI_TAG_GTK_OFFLOAD_STATUS_EVENT,
10978c2ecf20Sopenharmony_ci	WMI_TAG_IGTK_INFO,
10988c2ecf20Sopenharmony_ci	WMI_TAG_DCS_INTERFERENCE_EVENT,
10998c2ecf20Sopenharmony_ci	WMI_TAG_ATH_DCS_CW_INT,
11008c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_DCS_CW_INT = /* ALIAS */
11018c2ecf20Sopenharmony_ci		WMI_TAG_ATH_DCS_CW_INT,
11028c2ecf20Sopenharmony_ci	WMI_TAG_ATH_DCS_WLAN_INT_STAT,
11038c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_DCS_IM_TGT_STATS_T = /* ALIAS */
11048c2ecf20Sopenharmony_ci		WMI_TAG_ATH_DCS_WLAN_INT_STAT,
11058c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_CTX_T,
11068c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_T,
11078c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_QVIT_EVENT,
11088c2ecf20Sopenharmony_ci	WMI_TAG_HOST_SWBA_EVENT,
11098c2ecf20Sopenharmony_ci	WMI_TAG_TIM_INFO,
11108c2ecf20Sopenharmony_ci	WMI_TAG_P2P_NOA_INFO,
11118c2ecf20Sopenharmony_ci	WMI_TAG_STATS_EVENT,
11128c2ecf20Sopenharmony_ci	WMI_TAG_AVOID_FREQ_RANGES_EVENT,
11138c2ecf20Sopenharmony_ci	WMI_TAG_AVOID_FREQ_RANGE_DESC,
11148c2ecf20Sopenharmony_ci	WMI_TAG_GTK_REKEY_FAIL_EVENT,
11158c2ecf20Sopenharmony_ci	WMI_TAG_INIT_CMD,
11168c2ecf20Sopenharmony_ci	WMI_TAG_RESOURCE_CONFIG,
11178c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_HOST_MEMORY_CHUNK,
11188c2ecf20Sopenharmony_ci	WMI_TAG_START_SCAN_CMD,
11198c2ecf20Sopenharmony_ci	WMI_TAG_STOP_SCAN_CMD,
11208c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_CHAN_LIST_CMD,
11218c2ecf20Sopenharmony_ci	WMI_TAG_CHANNEL,
11228c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_REGDOMAIN_CMD,
11238c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_PARAM_CMD,
11248c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_WMM_PARAMS_CMD,
11258c2ecf20Sopenharmony_ci	WMI_TAG_WMM_PARAMS,
11268c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_QUIET_CMD,
11278c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_CREATE_CMD,
11288c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_DELETE_CMD,
11298c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_START_REQUEST_CMD,
11308c2ecf20Sopenharmony_ci	WMI_TAG_P2P_NOA_DESCRIPTOR,
11318c2ecf20Sopenharmony_ci	WMI_TAG_P2P_GO_SET_BEACON_IE,
11328c2ecf20Sopenharmony_ci	WMI_TAG_GTK_OFFLOAD_CMD,
11338c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_UP_CMD,
11348c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_STOP_CMD,
11358c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_DOWN_CMD,
11368c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_PARAM_CMD,
11378c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_INSTALL_KEY_CMD,
11388c2ecf20Sopenharmony_ci	WMI_TAG_PEER_CREATE_CMD,
11398c2ecf20Sopenharmony_ci	WMI_TAG_PEER_DELETE_CMD,
11408c2ecf20Sopenharmony_ci	WMI_TAG_PEER_FLUSH_TIDS_CMD,
11418c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SET_PARAM_CMD,
11428c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ASSOC_COMPLETE_CMD,
11438c2ecf20Sopenharmony_ci	WMI_TAG_VHT_RATE_SET,
11448c2ecf20Sopenharmony_ci	WMI_TAG_BCN_TMPL_CMD,
11458c2ecf20Sopenharmony_ci	WMI_TAG_PRB_TMPL_CMD,
11468c2ecf20Sopenharmony_ci	WMI_TAG_BCN_PRB_INFO,
11478c2ecf20Sopenharmony_ci	WMI_TAG_PEER_TID_ADDBA_CMD,
11488c2ecf20Sopenharmony_ci	WMI_TAG_PEER_TID_DELBA_CMD,
11498c2ecf20Sopenharmony_ci	WMI_TAG_STA_POWERSAVE_MODE_CMD,
11508c2ecf20Sopenharmony_ci	WMI_TAG_STA_POWERSAVE_PARAM_CMD,
11518c2ecf20Sopenharmony_ci	WMI_TAG_STA_DTIM_PS_METHOD_CMD,
11528c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_MODE,
11538c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_RSSI_THRESHOLD,
11548c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_PERIOD,
11558c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_RSSI_CHANGE_THRESHOLD,
11568c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SUSPEND_CMD,
11578c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_RESUME_CMD,
11588c2ecf20Sopenharmony_ci	WMI_TAG_ADD_BCN_FILTER_CMD,
11598c2ecf20Sopenharmony_ci	WMI_TAG_RMV_BCN_FILTER_CMD,
11608c2ecf20Sopenharmony_ci	WMI_TAG_WOW_ENABLE_CMD,
11618c2ecf20Sopenharmony_ci	WMI_TAG_WOW_HOSTWAKEUP_FROM_SLEEP_CMD,
11628c2ecf20Sopenharmony_ci	WMI_TAG_STA_UAPSD_AUTO_TRIG_CMD,
11638c2ecf20Sopenharmony_ci	WMI_TAG_STA_UAPSD_AUTO_TRIG_PARAM,
11648c2ecf20Sopenharmony_ci	WMI_TAG_SET_ARP_NS_OFFLOAD_CMD,
11658c2ecf20Sopenharmony_ci	WMI_TAG_ARP_OFFLOAD_TUPLE,
11668c2ecf20Sopenharmony_ci	WMI_TAG_NS_OFFLOAD_TUPLE,
11678c2ecf20Sopenharmony_ci	WMI_TAG_FTM_INTG_CMD,
11688c2ecf20Sopenharmony_ci	WMI_TAG_STA_KEEPALIVE_CMD,
11698c2ecf20Sopenharmony_ci	WMI_TAG_STA_KEEPALVE_ARP_RESPONSE,
11708c2ecf20Sopenharmony_ci	WMI_TAG_P2P_SET_VENDOR_IE_DATA_CMD,
11718c2ecf20Sopenharmony_ci	WMI_TAG_AP_PS_PEER_CMD,
11728c2ecf20Sopenharmony_ci	WMI_TAG_PEER_RATE_RETRY_SCHED_CMD,
11738c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_TRIGGER_CMD,
11748c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_SET_HIST_INTVL_CMD,
11758c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_GET_PROF_DATA_CMD,
11768c2ecf20Sopenharmony_ci	WMI_TAG_WLAN_PROFILE_ENABLE_PROFILE_ID_CMD,
11778c2ecf20Sopenharmony_ci	WMI_TAG_WOW_DEL_PATTERN_CMD,
11788c2ecf20Sopenharmony_ci	WMI_TAG_WOW_ADD_DEL_EVT_CMD,
11798c2ecf20Sopenharmony_ci	WMI_TAG_RTT_MEASREQ_HEAD,
11808c2ecf20Sopenharmony_ci	WMI_TAG_RTT_MEASREQ_BODY,
11818c2ecf20Sopenharmony_ci	WMI_TAG_RTT_TSF_CMD,
11828c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SPECTRAL_CONFIGURE_CMD,
11838c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SPECTRAL_ENABLE_CMD,
11848c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_STATS_CMD,
11858c2ecf20Sopenharmony_ci	WMI_TAG_NLO_CONFIG_CMD,
11868c2ecf20Sopenharmony_ci	WMI_TAG_NLO_CONFIGURED_PARAMETERS,
11878c2ecf20Sopenharmony_ci	WMI_TAG_CSA_OFFLOAD_ENABLE_CMD,
11888c2ecf20Sopenharmony_ci	WMI_TAG_CSA_OFFLOAD_CHANSWITCH_CMD,
11898c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_SET_MODE_CMD,
11908c2ecf20Sopenharmony_ci	WMI_TAG_ECHO_CMD,
11918c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_KEEPALIVE_CMD,
11928c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_KEEPALIVE_CMD,
11938c2ecf20Sopenharmony_ci	WMI_TAG_FORCE_FW_HANG_CMD,
11948c2ecf20Sopenharmony_ci	WMI_TAG_GPIO_CONFIG_CMD,
11958c2ecf20Sopenharmony_ci	WMI_TAG_GPIO_OUTPUT_CMD,
11968c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ADD_WDS_ENTRY_CMD,
11978c2ecf20Sopenharmony_ci	WMI_TAG_PEER_REMOVE_WDS_ENTRY_CMD,
11988c2ecf20Sopenharmony_ci	WMI_TAG_BCN_TX_HDR,
11998c2ecf20Sopenharmony_ci	WMI_TAG_BCN_SEND_FROM_HOST_CMD,
12008c2ecf20Sopenharmony_ci	WMI_TAG_MGMT_TX_HDR,
12018c2ecf20Sopenharmony_ci	WMI_TAG_ADDBA_CLEAR_RESP_CMD,
12028c2ecf20Sopenharmony_ci	WMI_TAG_ADDBA_SEND_CMD,
12038c2ecf20Sopenharmony_ci	WMI_TAG_DELBA_SEND_CMD,
12048c2ecf20Sopenharmony_ci	WMI_TAG_ADDBA_SETRESPONSE_CMD,
12058c2ecf20Sopenharmony_ci	WMI_TAG_SEND_SINGLEAMSDU_CMD,
12068c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_PKTLOG_ENABLE_CMD,
12078c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_PKTLOG_DISABLE_CMD,
12088c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_HT_IE_CMD,
12098c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_VHT_IE_CMD,
12108c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_DSCP_TID_MAP_CMD,
12118c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GREEN_AP_PS_ENABLE_CMD,
12128c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_TPC_CONFIG_CMD,
12138c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_BASE_MACADDR_CMD,
12148c2ecf20Sopenharmony_ci	WMI_TAG_PEER_MCAST_GROUP_CMD,
12158c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_AP_PROFILE,
12168c2ecf20Sopenharmony_ci	WMI_TAG_AP_PROFILE,
12178c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_SCH_PRIORITY_TABLE_CMD,
12188c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DFS_ENABLE_CMD,
12198c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DFS_DISABLE_CMD,
12208c2ecf20Sopenharmony_ci	WMI_TAG_WOW_ADD_PATTERN_CMD,
12218c2ecf20Sopenharmony_ci	WMI_TAG_WOW_BITMAP_PATTERN_T,
12228c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IPV4_SYNC_PATTERN_T,
12238c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IPV6_SYNC_PATTERN_T,
12248c2ecf20Sopenharmony_ci	WMI_TAG_WOW_MAGIC_PATTERN_CMD,
12258c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_UPDATE_REQUEST_CMD,
12268c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_PKT_COALESCING_FILTER,
12278c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_COALESCING_ADD_FILTER_CMD,
12288c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_COALESCING_DELETE_FILTER_CMD,
12298c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_COALESCING_QUERY_CMD,
12308c2ecf20Sopenharmony_ci	WMI_TAG_TXBF_CMD,
12318c2ecf20Sopenharmony_ci	WMI_TAG_DEBUG_LOG_CONFIG_CMD,
12328c2ecf20Sopenharmony_ci	WMI_TAG_NLO_EVENT,
12338c2ecf20Sopenharmony_ci	WMI_TAG_CHATTER_QUERY_REPLY_EVENT,
12348c2ecf20Sopenharmony_ci	WMI_TAG_UPLOAD_H_HDR,
12358c2ecf20Sopenharmony_ci	WMI_TAG_CAPTURE_H_EVENT_HDR,
12368c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_WNM_SLEEPMODE_CMD,
12378c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD,
12388c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_WMM_ADDTS_CMD,
12398c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_WMM_DELTS_CMD,
12408c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_WMM_PARAMS_CMD,
12418c2ecf20Sopenharmony_ci	WMI_TAG_TDLS_SET_STATE_CMD,
12428c2ecf20Sopenharmony_ci	WMI_TAG_TDLS_PEER_UPDATE_CMD,
12438c2ecf20Sopenharmony_ci	WMI_TAG_TDLS_PEER_EVENT,
12448c2ecf20Sopenharmony_ci	WMI_TAG_TDLS_PEER_CAPABILITIES,
12458c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_MCC_SET_TBTT_MODE_CMD,
12468c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_CHAN_LIST,
12478c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_MCC_BCN_INTVL_CHANGE_EVENT,
12488c2ecf20Sopenharmony_ci	WMI_TAG_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMD,
12498c2ecf20Sopenharmony_ci	WMI_TAG_RESMGR_SET_CHAN_TIME_QUOTA_CMD,
12508c2ecf20Sopenharmony_ci	WMI_TAG_RESMGR_SET_CHAN_LATENCY_CMD,
12518c2ecf20Sopenharmony_ci	WMI_TAG_BA_REQ_SSN_CMD,
12528c2ecf20Sopenharmony_ci	WMI_TAG_BA_RSP_SSN_EVENT,
12538c2ecf20Sopenharmony_ci	WMI_TAG_STA_SMPS_FORCE_MODE_CMD,
12548c2ecf20Sopenharmony_ci	WMI_TAG_SET_MCASTBCAST_FILTER_CMD,
12558c2ecf20Sopenharmony_ci	WMI_TAG_P2P_SET_OPPPS_CMD,
12568c2ecf20Sopenharmony_ci	WMI_TAG_P2P_SET_NOA_CMD,
12578c2ecf20Sopenharmony_ci	WMI_TAG_BA_REQ_SSN_CMD_SUB_STRUCT_PARAM,
12588c2ecf20Sopenharmony_ci	WMI_TAG_BA_REQ_SSN_EVENT_SUB_STRUCT_PARAM,
12598c2ecf20Sopenharmony_ci	WMI_TAG_STA_SMPS_PARAM_CMD,
12608c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_GTX_PARAMS_CMD,
12618c2ecf20Sopenharmony_ci	WMI_TAG_MCC_SCHED_TRAFFIC_STATS_CMD,
12628c2ecf20Sopenharmony_ci	WMI_TAG_MCC_SCHED_STA_TRAFFIC_STATS,
12638c2ecf20Sopenharmony_ci	WMI_TAG_OFFLOAD_BCN_TX_STATUS_EVENT,
12648c2ecf20Sopenharmony_ci	WMI_TAG_P2P_NOA_EVENT,
12658c2ecf20Sopenharmony_ci	WMI_TAG_HB_SET_ENABLE_CMD,
12668c2ecf20Sopenharmony_ci	WMI_TAG_HB_SET_TCP_PARAMS_CMD,
12678c2ecf20Sopenharmony_ci	WMI_TAG_HB_SET_TCP_PKT_FILTER_CMD,
12688c2ecf20Sopenharmony_ci	WMI_TAG_HB_SET_UDP_PARAMS_CMD,
12698c2ecf20Sopenharmony_ci	WMI_TAG_HB_SET_UDP_PKT_FILTER_CMD,
12708c2ecf20Sopenharmony_ci	WMI_TAG_HB_IND_EVENT,
12718c2ecf20Sopenharmony_ci	WMI_TAG_TX_PAUSE_EVENT,
12728c2ecf20Sopenharmony_ci	WMI_TAG_RFKILL_EVENT,
12738c2ecf20Sopenharmony_ci	WMI_TAG_DFS_RADAR_EVENT,
12748c2ecf20Sopenharmony_ci	WMI_TAG_DFS_PHYERR_FILTER_ENA_CMD,
12758c2ecf20Sopenharmony_ci	WMI_TAG_DFS_PHYERR_FILTER_DIS_CMD,
12768c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_RESULT_SCAN_LIST,
12778c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_RESULT_NETWORK_INFO,
12788c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_ENABLE_CMD,
12798c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_DISABLE_CMD,
12808c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_TRIGGER_RESULT_CMD,
12818c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_ENABLED_EVENT,
12828c2ecf20Sopenharmony_ci	WMI_TAG_BATCH_SCAN_RESULT_EVENT,
12838c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_PLMREQ_START_CMD,
12848c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_PLMREQ_STOP_CMD,
12858c2ecf20Sopenharmony_ci	WMI_TAG_THERMAL_MGMT_CMD,
12868c2ecf20Sopenharmony_ci	WMI_TAG_THERMAL_MGMT_EVENT,
12878c2ecf20Sopenharmony_ci	WMI_TAG_PEER_INFO_REQ_CMD,
12888c2ecf20Sopenharmony_ci	WMI_TAG_PEER_INFO_EVENT,
12898c2ecf20Sopenharmony_ci	WMI_TAG_PEER_INFO,
12908c2ecf20Sopenharmony_ci	WMI_TAG_PEER_TX_FAIL_CNT_THR_EVENT,
12918c2ecf20Sopenharmony_ci	WMI_TAG_RMC_SET_MODE_CMD,
12928c2ecf20Sopenharmony_ci	WMI_TAG_RMC_SET_ACTION_PERIOD_CMD,
12938c2ecf20Sopenharmony_ci	WMI_TAG_RMC_CONFIG_CMD,
12948c2ecf20Sopenharmony_ci	WMI_TAG_MHF_OFFLOAD_SET_MODE_CMD,
12958c2ecf20Sopenharmony_ci	WMI_TAG_MHF_OFFLOAD_PLUMB_ROUTING_TABLE_CMD,
12968c2ecf20Sopenharmony_ci	WMI_TAG_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD,
12978c2ecf20Sopenharmony_ci	WMI_TAG_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD,
12988c2ecf20Sopenharmony_ci	WMI_TAG_NAN_CMD_PARAM,
12998c2ecf20Sopenharmony_ci	WMI_TAG_NAN_EVENT_HDR,
13008c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_L1SS_TRACK_EVENT,
13018c2ecf20Sopenharmony_ci	WMI_TAG_DIAG_DATA_CONTAINER_EVENT,
13028c2ecf20Sopenharmony_ci	WMI_TAG_MODEM_POWER_STATE_CMD_PARAM,
13038c2ecf20Sopenharmony_ci	WMI_TAG_PEER_GET_ESTIMATED_LINKSPEED_CMD,
13048c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ESTIMATED_LINKSPEED_EVENT,
13058c2ecf20Sopenharmony_ci	WMI_TAG_AGGR_STATE_TRIG_EVENT,
13068c2ecf20Sopenharmony_ci	WMI_TAG_MHF_OFFLOAD_ROUTING_TABLE_ENTRY,
13078c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_CMD,
13088c2ecf20Sopenharmony_ci	WMI_TAG_REQ_STATS_EXT_CMD,
13098c2ecf20Sopenharmony_ci	WMI_TAG_STATS_EXT_EVENT,
13108c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_SCAN_ENABLE_CMD,
13118c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_SCAN_DISABLE_CMD,
13128c2ecf20Sopenharmony_ci	WMI_TAG_OFFLOAD_PRB_RSP_TX_STATUS_EVENT,
13138c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_LED_CONFIG_CMD,
13148c2ecf20Sopenharmony_ci	WMI_TAG_HOST_AUTO_SHUTDOWN_CFG_CMD,
13158c2ecf20Sopenharmony_ci	WMI_TAG_HOST_AUTO_SHUTDOWN_EVENT,
13168c2ecf20Sopenharmony_ci	WMI_TAG_UPDATE_WHAL_MIB_STATS_EVENT,
13178c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_AVOID_UPDATE_CMD_PARAM,
13188c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_PKT_PATTERN_T,
13198c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_TMR_PATTERN_T,
13208c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_ADD_KEEPALIVE_CMD,
13218c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_DEL_KEEPALIVE_CMD,
13228c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_KEEPALIVE_T,
13238c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_ADD_PATTERN_CMD,
13248c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_DEL_PATTERN_CMD,
13258c2ecf20Sopenharmony_ci	WMI_TAG_START_LINK_STATS_CMD,
13268c2ecf20Sopenharmony_ci	WMI_TAG_CLEAR_LINK_STATS_CMD,
13278c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_LINK_STATS_CMD,
13288c2ecf20Sopenharmony_ci	WMI_TAG_IFACE_LINK_STATS_EVENT,
13298c2ecf20Sopenharmony_ci	WMI_TAG_RADIO_LINK_STATS_EVENT,
13308c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STATS_EVENT,
13318c2ecf20Sopenharmony_ci	WMI_TAG_CHANNEL_STATS,
13328c2ecf20Sopenharmony_ci	WMI_TAG_RADIO_LINK_STATS,
13338c2ecf20Sopenharmony_ci	WMI_TAG_RATE_STATS,
13348c2ecf20Sopenharmony_ci	WMI_TAG_PEER_LINK_STATS,
13358c2ecf20Sopenharmony_ci	WMI_TAG_WMM_AC_STATS,
13368c2ecf20Sopenharmony_ci	WMI_TAG_IFACE_LINK_STATS,
13378c2ecf20Sopenharmony_ci	WMI_TAG_LPI_MGMT_SNOOPING_CONFIG_CMD,
13388c2ecf20Sopenharmony_ci	WMI_TAG_LPI_START_SCAN_CMD,
13398c2ecf20Sopenharmony_ci	WMI_TAG_LPI_STOP_SCAN_CMD,
13408c2ecf20Sopenharmony_ci	WMI_TAG_LPI_RESULT_EVENT,
13418c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STATE_EVENT,
13428c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_BUCKET_CMD,
13438c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_BUCKET_CHANNEL_EVENT,
13448c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_START_CMD,
13458c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_STOP_CMD,
13468c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMD,
13478c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_WLAN_CHANGE_BSSID_PARAM_CMD,
13488c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMD,
13498c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_GET_CACHED_RESULTS_CMD,
13508c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMD,
13518c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_SET_CAPABILITIES_CMD,
13528c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_GET_CAPABILITIES_CMD,
13538c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_OPERATION_EVENT,
13548c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_START_STOP_EVENT,
13558c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_TABLE_USAGE_EVENT,
13568c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_WLAN_DESCRIPTOR_EVENT,
13578c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_RSSI_INFO_EVENT,
13588c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CACHED_RESULTS_EVENT,
13598c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_WLAN_CHANGE_RESULTS_EVENT,
13608c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_WLAN_CHANGE_RESULT_BSSID_EVENT,
13618c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_HOTLIST_MATCH_EVENT,
13628c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CAPABILITIES_EVENT,
13638c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CACHE_CAPABILITIES_EVENT,
13648c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_WLAN_CHANGE_MONITOR_CAPABILITIES_EVENT,
13658c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_HOTLIST_MONITOR_CAPABILITIES_EVENT,
13668c2ecf20Sopenharmony_ci	WMI_TAG_D0_WOW_ENABLE_DISABLE_CMD,
13678c2ecf20Sopenharmony_ci	WMI_TAG_D0_WOW_DISABLE_ACK_EVENT,
13688c2ecf20Sopenharmony_ci	WMI_TAG_UNIT_TEST_CMD,
13698c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_OFFLOAD_TLV_PARAM,
13708c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_11I_OFFLOAD_TLV_PARAM,
13718c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_11R_OFFLOAD_TLV_PARAM,
13728c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_ESE_OFFLOAD_TLV_PARAM,
13738c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SYNCH_EVENT,
13748c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SYNCH_COMPLETE,
13758c2ecf20Sopenharmony_ci	WMI_TAG_EXTWOW_ENABLE_CMD,
13768c2ecf20Sopenharmony_ci	WMI_TAG_EXTWOW_SET_APP_TYPE1_PARAMS_CMD,
13778c2ecf20Sopenharmony_ci	WMI_TAG_EXTWOW_SET_APP_TYPE2_PARAMS_CMD,
13788c2ecf20Sopenharmony_ci	WMI_TAG_LPI_STATUS_EVENT,
13798c2ecf20Sopenharmony_ci	WMI_TAG_LPI_HANDOFF_EVENT,
13808c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_RATE_STATS_EVENT,
13818c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_RATE_HT_INFO,
13828c2ecf20Sopenharmony_ci	WMI_TAG_RIC_REQUEST,
13838c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_TEMPERATURE_CMD,
13848c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_TEMPERATURE_EVENT,
13858c2ecf20Sopenharmony_ci	WMI_TAG_SET_DHCP_SERVER_OFFLOAD_CMD,
13868c2ecf20Sopenharmony_ci	WMI_TAG_TPC_CHAINMASK_CONFIG_CMD,
13878c2ecf20Sopenharmony_ci	WMI_TAG_RIC_TSPEC,
13888c2ecf20Sopenharmony_ci	WMI_TAG_TPC_CHAINMASK_CONFIG,
13898c2ecf20Sopenharmony_ci	WMI_TAG_IPA_OFFLOAD_ENABLE_DISABLE_CMD,
13908c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_PROB_REQ_OUI_CMD,
13918c2ecf20Sopenharmony_ci	WMI_TAG_KEY_MATERIAL,
13928c2ecf20Sopenharmony_ci	WMI_TAG_TDLS_SET_OFFCHAN_MODE_CMD,
13938c2ecf20Sopenharmony_ci	WMI_TAG_SET_LED_FLASHING_CMD,
13948c2ecf20Sopenharmony_ci	WMI_TAG_MDNS_OFFLOAD_CMD,
13958c2ecf20Sopenharmony_ci	WMI_TAG_MDNS_SET_FQDN_CMD,
13968c2ecf20Sopenharmony_ci	WMI_TAG_MDNS_SET_RESP_CMD,
13978c2ecf20Sopenharmony_ci	WMI_TAG_MDNS_GET_STATS_CMD,
13988c2ecf20Sopenharmony_ci	WMI_TAG_MDNS_STATS_EVENT,
13998c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_INVOKE_CMD,
14008c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_RESUME_EVENT,
14018c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_ANTENNA_DIVERSITY_CMD,
14028c2ecf20Sopenharmony_ci	WMI_TAG_SAP_OFL_ENABLE_CMD,
14038c2ecf20Sopenharmony_ci	WMI_TAG_SAP_OFL_ADD_STA_EVENT,
14048c2ecf20Sopenharmony_ci	WMI_TAG_SAP_OFL_DEL_STA_EVENT,
14058c2ecf20Sopenharmony_ci	WMI_TAG_APFIND_CMD_PARAM,
14068c2ecf20Sopenharmony_ci	WMI_TAG_APFIND_EVENT_HDR,
14078c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SET_SCHED_CMD,
14088c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SET_SCHED_EVENT,
14098c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SET_CONFIG_CMD,
14108c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SET_CONFIG_RESP_EVENT,
14118c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SET_UTC_TIME_CMD,
14128c2ecf20Sopenharmony_ci	WMI_TAG_OCB_START_TIMING_ADVERT_CMD,
14138c2ecf20Sopenharmony_ci	WMI_TAG_OCB_STOP_TIMING_ADVERT_CMD,
14148c2ecf20Sopenharmony_ci	WMI_TAG_OCB_GET_TSF_TIMER_CMD,
14158c2ecf20Sopenharmony_ci	WMI_TAG_OCB_GET_TSF_TIMER_RESP_EVENT,
14168c2ecf20Sopenharmony_ci	WMI_TAG_DCC_GET_STATS_CMD,
14178c2ecf20Sopenharmony_ci	WMI_TAG_DCC_CHANNEL_STATS_REQUEST,
14188c2ecf20Sopenharmony_ci	WMI_TAG_DCC_GET_STATS_RESP_EVENT,
14198c2ecf20Sopenharmony_ci	WMI_TAG_DCC_CLEAR_STATS_CMD,
14208c2ecf20Sopenharmony_ci	WMI_TAG_DCC_UPDATE_NDL_CMD,
14218c2ecf20Sopenharmony_ci	WMI_TAG_DCC_UPDATE_NDL_RESP_EVENT,
14228c2ecf20Sopenharmony_ci	WMI_TAG_DCC_STATS_EVENT,
14238c2ecf20Sopenharmony_ci	WMI_TAG_OCB_CHANNEL,
14248c2ecf20Sopenharmony_ci	WMI_TAG_OCB_SCHEDULE_ELEMENT,
14258c2ecf20Sopenharmony_ci	WMI_TAG_DCC_NDL_STATS_PER_CHANNEL,
14268c2ecf20Sopenharmony_ci	WMI_TAG_DCC_NDL_CHAN,
14278c2ecf20Sopenharmony_ci	WMI_TAG_QOS_PARAMETER,
14288c2ecf20Sopenharmony_ci	WMI_TAG_DCC_NDL_ACTIVE_STATE_CONFIG,
14298c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_EXTENDED_THRESHOLD_PARAM,
14308c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_FILTER,
14318c2ecf20Sopenharmony_ci	WMI_TAG_PASSPOINT_CONFIG_CMD,
14328c2ecf20Sopenharmony_ci	WMI_TAG_PASSPOINT_EVENT_HDR,
14338c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMD,
14348c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_HOTLIST_SSID_MATCH_EVENT,
14358c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_TSF_TSTAMP_ACTION_CMD,
14368c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_TSF_REPORT_EVENT,
14378c2ecf20Sopenharmony_ci	WMI_TAG_GET_FW_MEM_DUMP,
14388c2ecf20Sopenharmony_ci	WMI_TAG_UPDATE_FW_MEM_DUMP,
14398c2ecf20Sopenharmony_ci	WMI_TAG_FW_MEM_DUMP_PARAMS,
14408c2ecf20Sopenharmony_ci	WMI_TAG_DEBUG_MESG_FLUSH,
14418c2ecf20Sopenharmony_ci	WMI_TAG_DEBUG_MESG_FLUSH_COMPLETE,
14428c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SET_RATE_REPORT_CONDITION,
14438c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SUBNET_CHANGE_CONFIG,
14448c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_IE_CMD,
14458c2ecf20Sopenharmony_ci	WMI_TAG_RSSI_BREACH_MONITOR_CONFIG,
14468c2ecf20Sopenharmony_ci	WMI_TAG_RSSI_BREACH_EVENT,
14478c2ecf20Sopenharmony_ci	WMI_TAG_WOW_EVENT_INITIAL_WAKEUP,
14488c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_PCL_CMD,
14498c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_HW_MODE_CMD,
14508c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_HW_MODE_RESPONSE_EVENT,
14518c2ecf20Sopenharmony_ci	WMI_TAG_SOC_HW_MODE_TRANSITION_EVENT,
14528c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_TXRX_STREAMS,
14538c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_HW_MODE_RESPONSE_VDEV_MAC_ENTRY,
14548c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_DUAL_MAC_CONFIG_CMD,
14558c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_DUAL_MAC_CONFIG_RESPONSE_EVENT,
14568c2ecf20Sopenharmony_ci	WMI_TAG_WOW_IOAC_SOCK_PATTERN_T,
14578c2ecf20Sopenharmony_ci	WMI_TAG_WOW_ENABLE_ICMPV6_NA_FLT_CMD,
14588c2ecf20Sopenharmony_ci	WMI_TAG_DIAG_EVENT_LOG_CONFIG,
14598c2ecf20Sopenharmony_ci	WMI_TAG_DIAG_EVENT_LOG_SUPPORTED_EVENT_FIXED_PARAMS,
14608c2ecf20Sopenharmony_ci	WMI_TAG_PACKET_FILTER_CONFIG,
14618c2ecf20Sopenharmony_ci	WMI_TAG_PACKET_FILTER_ENABLE,
14628c2ecf20Sopenharmony_ci	WMI_TAG_SAP_SET_BLACKLIST_PARAM_CMD,
14638c2ecf20Sopenharmony_ci	WMI_TAG_MGMT_TX_SEND_CMD,
14648c2ecf20Sopenharmony_ci	WMI_TAG_MGMT_TX_COMPL_EVENT,
14658c2ecf20Sopenharmony_ci	WMI_TAG_SOC_SET_ANTENNA_MODE_CMD,
14668c2ecf20Sopenharmony_ci	WMI_TAG_WOW_UDP_SVC_OFLD_CMD,
14678c2ecf20Sopenharmony_ci	WMI_TAG_LRO_INFO_CMD,
14688c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_EARLYSTOP_RSSI_THRES_PARAM,
14698c2ecf20Sopenharmony_ci	WMI_TAG_SERVICE_READY_EXT_EVENT,
14708c2ecf20Sopenharmony_ci	WMI_TAG_MAWC_SENSOR_REPORT_IND_CMD,
14718c2ecf20Sopenharmony_ci	WMI_TAG_MAWC_ENABLE_SENSOR_EVENT,
14728c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_CONFIGURE_MAWC_CMD,
14738c2ecf20Sopenharmony_ci	WMI_TAG_NLO_CONFIGURE_MAWC_CMD,
14748c2ecf20Sopenharmony_ci	WMI_TAG_EXTSCAN_CONFIGURE_MAWC_CMD,
14758c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ASSOC_CONF_EVENT,
14768c2ecf20Sopenharmony_ci	WMI_TAG_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD,
14778c2ecf20Sopenharmony_ci	WMI_TAG_AP_PS_EGAP_PARAM_CMD,
14788c2ecf20Sopenharmony_ci	WMI_TAG_AP_PS_EGAP_INFO_EVENT,
14798c2ecf20Sopenharmony_ci	WMI_TAG_PMF_OFFLOAD_SET_SA_QUERY_CMD,
14808c2ecf20Sopenharmony_ci	WMI_TAG_TRANSFER_DATA_TO_FLASH_CMD,
14818c2ecf20Sopenharmony_ci	WMI_TAG_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENT,
14828c2ecf20Sopenharmony_ci	WMI_TAG_SCPC_EVENT,
14838c2ecf20Sopenharmony_ci	WMI_TAG_AP_PS_EGAP_INFO_CHAINMASK_LIST,
14848c2ecf20Sopenharmony_ci	WMI_TAG_STA_SMPS_FORCE_MODE_COMPLETE_EVENT,
14858c2ecf20Sopenharmony_ci	WMI_TAG_BPF_GET_CAPABILITY_CMD,
14868c2ecf20Sopenharmony_ci	WMI_TAG_BPF_CAPABILITY_INFO_EVT,
14878c2ecf20Sopenharmony_ci	WMI_TAG_BPF_GET_VDEV_STATS_CMD,
14888c2ecf20Sopenharmony_ci	WMI_TAG_BPF_VDEV_STATS_INFO_EVT,
14898c2ecf20Sopenharmony_ci	WMI_TAG_BPF_SET_VDEV_INSTRUCTIONS_CMD,
14908c2ecf20Sopenharmony_ci	WMI_TAG_BPF_DEL_VDEV_INSTRUCTIONS_CMD,
14918c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_DELETE_RESP_EVENT,
14928c2ecf20Sopenharmony_ci	WMI_TAG_PEER_DELETE_RESP_EVENT,
14938c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_DENSE_THRES_PARAM,
14948c2ecf20Sopenharmony_ci	WMI_TAG_ENLO_CANDIDATE_SCORE_PARAM,
14958c2ecf20Sopenharmony_ci	WMI_TAG_PEER_UPDATE_WDS_ENTRY_CMD,
14968c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_CONFIG_RATEMASK,
14978c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_FIPS_CMD,
14988c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SMART_ANT_ENABLE_CMD,
14998c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SMART_ANT_SET_RX_ANTENNA_CMD,
15008c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SMART_ANT_SET_TX_ANTENNA_CMD,
15018c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SMART_ANT_SET_TRAIN_ANTENNA_CMD,
15028c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMD,
15038c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_ANT_SWITCH_TBL_CMD,
15048c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_CTL_TABLE_CMD,
15058c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_MIMOGAIN_TABLE_CMD,
15068c2ecf20Sopenharmony_ci	WMI_TAG_FWTEST_SET_PARAM_CMD,
15078c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ATF_REQUEST,
15088c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ATF_REQUEST,
15098c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_ANI_CCK_CONFIG_CMD,
15108c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_ANI_OFDM_CONFIG_CMD,
15118c2ecf20Sopenharmony_ci	WMI_TAG_INST_RSSI_STATS_RESP,
15128c2ecf20Sopenharmony_ci	WMI_TAG_MED_UTIL_REPORT_EVENT,
15138c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STA_PS_STATECHANGE_EVENT,
15148c2ecf20Sopenharmony_ci	WMI_TAG_WDS_ADDR_EVENT,
15158c2ecf20Sopenharmony_ci	WMI_TAG_PEER_RATECODE_LIST_EVENT,
15168c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENT,
15178c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_TPC_EVENT,
15188c2ecf20Sopenharmony_ci	WMI_TAG_ANI_OFDM_EVENT,
15198c2ecf20Sopenharmony_ci	WMI_TAG_ANI_CCK_EVENT,
15208c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CHANNEL_HOPPING_EVENT,
15218c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_FIPS_EVENT,
15228c2ecf20Sopenharmony_ci	WMI_TAG_ATF_PEER_INFO,
15238c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_TPC_CMD,
15248c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_FILTER_NRP_CONFIG_CMD,
15258c2ecf20Sopenharmony_ci	WMI_TAG_QBOOST_CFG_CMD,
15268c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SMART_ANT_GPIO_HANDLE,
15278c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SMART_ANT_SET_TX_ANTENNA_SERIES,
15288c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SMART_ANT_SET_TRAIN_ANTENNA_PARAM,
15298c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_ANT_CTRL_CHAIN,
15308c2ecf20Sopenharmony_ci	WMI_TAG_PEER_CCK_OFDM_RATE_INFO,
15318c2ecf20Sopenharmony_ci	WMI_TAG_PEER_MCS_RATE_INFO,
15328c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_NFCAL_POWER_ALL_CHANNELS_NFDBR,
15338c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_NFCAL_POWER_ALL_CHANNELS_NFDBM,
15348c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_NFCAL_POWER_ALL_CHANNELS_FREQNUM,
15358c2ecf20Sopenharmony_ci	WMI_TAG_MU_REPORT_TOTAL_MU,
15368c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_DSCP_TID_MAP_CMD,
15378c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SET_MBO,
15388c2ecf20Sopenharmony_ci	WMI_TAG_MIB_STATS_ENABLE_CMD,
15398c2ecf20Sopenharmony_ci	WMI_TAG_NAN_DISC_IFACE_CREATED_EVENT,
15408c2ecf20Sopenharmony_ci	WMI_TAG_NAN_DISC_IFACE_DELETED_EVENT,
15418c2ecf20Sopenharmony_ci	WMI_TAG_NAN_STARTED_CLUSTER_EVENT,
15428c2ecf20Sopenharmony_ci	WMI_TAG_NAN_JOINED_CLUSTER_EVENT,
15438c2ecf20Sopenharmony_ci	WMI_TAG_NDI_GET_CAP_REQ,
15448c2ecf20Sopenharmony_ci	WMI_TAG_NDP_INITIATOR_REQ,
15458c2ecf20Sopenharmony_ci	WMI_TAG_NDP_RESPONDER_REQ,
15468c2ecf20Sopenharmony_ci	WMI_TAG_NDP_END_REQ,
15478c2ecf20Sopenharmony_ci	WMI_TAG_NDI_CAP_RSP_EVENT,
15488c2ecf20Sopenharmony_ci	WMI_TAG_NDP_INITIATOR_RSP_EVENT,
15498c2ecf20Sopenharmony_ci	WMI_TAG_NDP_RESPONDER_RSP_EVENT,
15508c2ecf20Sopenharmony_ci	WMI_TAG_NDP_END_RSP_EVENT,
15518c2ecf20Sopenharmony_ci	WMI_TAG_NDP_INDICATION_EVENT,
15528c2ecf20Sopenharmony_ci	WMI_TAG_NDP_CONFIRM_EVENT,
15538c2ecf20Sopenharmony_ci	WMI_TAG_NDP_END_INDICATION_EVENT,
15548c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_QUIET_CMD,
15558c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_PCL_CMD,
15568c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_HW_MODE_CMD,
15578c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_MAC_CONFIG_CMD,
15588c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_ANTENNA_MODE_CMD,
15598c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_HW_MODE_RESPONSE_EVENT,
15608c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_HW_MODE_TRANSITION_EVENT,
15618c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_HW_MODE_RESPONSE_VDEV_MAC_ENTRY,
15628c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_MAC_CONFIG_RESPONSE_EVENT,
15638c2ecf20Sopenharmony_ci	WMI_TAG_COEX_CONFIG_CMD,
15648c2ecf20Sopenharmony_ci	WMI_TAG_CONFIG_ENHANCED_MCAST_FILTER,
15658c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_AVOID_RPT_ALLOW_CMD,
15668c2ecf20Sopenharmony_ci	WMI_TAG_SET_PERIODIC_CHANNEL_STATS_CONFIG,
15678c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_CUSTOM_AGGR_SIZE_CMD,
15688c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_WAL_POWER_DEBUG_CMD,
15698c2ecf20Sopenharmony_ci	WMI_TAG_MAC_PHY_CAPABILITIES,
15708c2ecf20Sopenharmony_ci	WMI_TAG_HW_MODE_CAPABILITIES,
15718c2ecf20Sopenharmony_ci	WMI_TAG_SOC_MAC_PHY_HW_MODE_CAPS,
15728c2ecf20Sopenharmony_ci	WMI_TAG_HAL_REG_CAPABILITIES_EXT,
15738c2ecf20Sopenharmony_ci	WMI_TAG_SOC_HAL_REG_CAPABILITIES,
15748c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_WISA_CMD,
15758c2ecf20Sopenharmony_ci	WMI_TAG_TX_POWER_LEVEL_STATS_EVT,
15768c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_ADAPTIVE_DWELL_PARAMETERS_TLV,
15778c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_ADAPTIVE_DWELL_CONFIG,
15788c2ecf20Sopenharmony_ci	WMI_TAG_WOW_SET_ACTION_WAKE_UP_CMD,
15798c2ecf20Sopenharmony_ci	WMI_TAG_NDP_END_RSP_PER_NDI,
15808c2ecf20Sopenharmony_ci	WMI_TAG_PEER_BWF_REQUEST,
15818c2ecf20Sopenharmony_ci	WMI_TAG_BWF_PEER_INFO,
15828c2ecf20Sopenharmony_ci	WMI_TAG_DBGLOG_TIME_STAMP_SYNC_CMD,
15838c2ecf20Sopenharmony_ci	WMI_TAG_RMC_SET_LEADER_CMD,
15848c2ecf20Sopenharmony_ci	WMI_TAG_RMC_MANUAL_LEADER_EVENT,
15858c2ecf20Sopenharmony_ci	WMI_TAG_PER_CHAIN_RSSI_STATS,
15868c2ecf20Sopenharmony_ci	WMI_TAG_RSSI_STATS,
15878c2ecf20Sopenharmony_ci	WMI_TAG_P2P_LO_START_CMD,
15888c2ecf20Sopenharmony_ci	WMI_TAG_P2P_LO_STOP_CMD,
15898c2ecf20Sopenharmony_ci	WMI_TAG_P2P_LO_STOPPED_EVENT,
15908c2ecf20Sopenharmony_ci	WMI_TAG_REORDER_QUEUE_SETUP_CMD,
15918c2ecf20Sopenharmony_ci	WMI_TAG_REORDER_QUEUE_REMOVE_CMD,
15928c2ecf20Sopenharmony_ci	WMI_TAG_SET_MULTIPLE_MCAST_FILTER_CMD,
15938c2ecf20Sopenharmony_ci	WMI_TAG_MGMT_TX_COMPL_BUNDLE_EVENT,
15948c2ecf20Sopenharmony_ci	WMI_TAG_READ_DATA_FROM_FLASH_CMD,
15958c2ecf20Sopenharmony_ci	WMI_TAG_READ_DATA_FROM_FLASH_EVENT,
15968c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_REORDER_TIMEOUT_VAL_CMD,
15978c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SET_RX_BLOCKSIZE_CMD,
15988c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_WAKEUP_CONFIG_CMDID,
15998c2ecf20Sopenharmony_ci	WMI_TAG_TLV_BUF_LEN_PARAM,
16008c2ecf20Sopenharmony_ci	WMI_TAG_SERVICE_AVAILABLE_EVENT,
16018c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ANTDIV_INFO_REQ_CMD,
16028c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ANTDIV_INFO_EVENT,
16038c2ecf20Sopenharmony_ci	WMI_TAG_PEER_ANTDIV_INFO,
16048c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_ANTDIV_STATUS_CMD,
16058c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_ANTDIV_STATUS_EVENT,
16068c2ecf20Sopenharmony_ci	WMI_TAG_MNT_FILTER_CMD,
16078c2ecf20Sopenharmony_ci	WMI_TAG_GET_CHIP_POWER_STATS_CMD,
16088c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CHIP_POWER_STATS_EVENT,
16098c2ecf20Sopenharmony_ci	WMI_TAG_COEX_GET_ANTENNA_ISOLATION_CMD,
16108c2ecf20Sopenharmony_ci	WMI_TAG_COEX_REPORT_ISOLATION_EVENT,
16118c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_CCA_STATS,
16128c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SIGNAL_STATS,
16138c2ecf20Sopenharmony_ci	WMI_TAG_TX_STATS,
16148c2ecf20Sopenharmony_ci	WMI_TAG_PEER_AC_TX_STATS,
16158c2ecf20Sopenharmony_ci	WMI_TAG_RX_STATS,
16168c2ecf20Sopenharmony_ci	WMI_TAG_PEER_AC_RX_STATS,
16178c2ecf20Sopenharmony_ci	WMI_TAG_REPORT_STATS_EVENT,
16188c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_CCA_STATS_THRESH,
16198c2ecf20Sopenharmony_ci	WMI_TAG_PEER_SIGNAL_STATS_THRESH,
16208c2ecf20Sopenharmony_ci	WMI_TAG_TX_STATS_THRESH,
16218c2ecf20Sopenharmony_ci	WMI_TAG_RX_STATS_THRESH,
16228c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_STATS_THRESHOLD_CMD,
16238c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_WLAN_STATS_CMD,
16248c2ecf20Sopenharmony_ci	WMI_TAG_RX_AGGR_FAILURE_EVENT,
16258c2ecf20Sopenharmony_ci	WMI_TAG_RX_AGGR_FAILURE_INFO,
16268c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMD,
16278c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENT,
16288c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_BAND_TO_MAC,
16298c2ecf20Sopenharmony_ci	WMI_TAG_TBTT_OFFSET_INFO,
16308c2ecf20Sopenharmony_ci	WMI_TAG_TBTT_OFFSET_EXT_EVENT,
16318c2ecf20Sopenharmony_ci	WMI_TAG_SAR_LIMITS_CMD,
16328c2ecf20Sopenharmony_ci	WMI_TAG_SAR_LIMIT_CMD_ROW,
16338c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMD,
16348c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMD,
16358c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ADFS_CH_CFG_CMD,
16368c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ADFS_OCAC_ABORT_CMD,
16378c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DFS_RADAR_DETECTION_EVENT,
16388c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ADFS_OCAC_COMPLETE_EVENT,
16398c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_DFS_CAC_COMPLETE_EVENT,
16408c2ecf20Sopenharmony_ci	WMI_TAG_VENDOR_OUI,
16418c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_RCPI_CMD,
16428c2ecf20Sopenharmony_ci	WMI_TAG_UPDATE_RCPI_EVENT,
16438c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_PEER_STATS_INFO_CMD,
16448c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STATS_INFO,
16458c2ecf20Sopenharmony_ci	WMI_TAG_PEER_STATS_INFO_EVENT,
16468c2ecf20Sopenharmony_ci	WMI_TAG_PKGID_EVENT,
16478c2ecf20Sopenharmony_ci	WMI_TAG_CONNECTED_NLO_RSSI_PARAMS,
16488c2ecf20Sopenharmony_ci	WMI_TAG_SET_CURRENT_COUNTRY_CMD,
16498c2ecf20Sopenharmony_ci	WMI_TAG_REGULATORY_RULE_STRUCT,
16508c2ecf20Sopenharmony_ci	WMI_TAG_REG_CHAN_LIST_CC_EVENT,
16518c2ecf20Sopenharmony_ci	WMI_TAG_11D_SCAN_START_CMD,
16528c2ecf20Sopenharmony_ci	WMI_TAG_11D_SCAN_STOP_CMD,
16538c2ecf20Sopenharmony_ci	WMI_TAG_11D_NEW_COUNTRY_EVENT,
16548c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_RADIO_CHAN_STATS_CMD,
16558c2ecf20Sopenharmony_ci	WMI_TAG_RADIO_CHAN_STATS,
16568c2ecf20Sopenharmony_ci	WMI_TAG_RADIO_CHAN_STATS_EVENT,
16578c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_PER_CONFIG,
16588c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMD,
16598c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENT,
16608c2ecf20Sopenharmony_ci	WMI_TAG_BPF_SET_VDEV_ACTIVE_MODE_CMD,
16618c2ecf20Sopenharmony_ci	WMI_TAG_HW_DATA_FILTER_CMD,
16628c2ecf20Sopenharmony_ci	WMI_TAG_CONNECTED_NLO_BSS_BAND_RSSI_PREF,
16638c2ecf20Sopenharmony_ci	WMI_TAG_PEER_OPER_MODE_CHANGE_EVENT,
16648c2ecf20Sopenharmony_ci	WMI_TAG_CHIP_POWER_SAVE_FAILURE_DETECTED,
16658c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMD,
16668c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT,
16678c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_UPDATE_PKT_ROUTING_CMD,
16688c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CHECK_CAL_VERSION_CMD,
16698c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CHECK_CAL_VERSION_EVENT,
16708c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_DIVERSITY_GAIN_CMD,
16718c2ecf20Sopenharmony_ci	WMI_TAG_MAC_PHY_CHAINMASK_COMBO,
16728c2ecf20Sopenharmony_ci	WMI_TAG_MAC_PHY_CHAINMASK_CAPABILITY,
16738c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_ARP_STATS_CMD,
16748c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_ARP_STATS_CMD,
16758c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_ARP_STATS_EVENT,
16768c2ecf20Sopenharmony_ci	WMI_TAG_IFACE_OFFLOAD_STATS,
16778c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_STATS_CMD_SUB_STRUCT_PARAM,
16788c2ecf20Sopenharmony_ci	WMI_TAG_RSSI_CTL_EXT,
16798c2ecf20Sopenharmony_ci	WMI_TAG_SINGLE_PHYERR_EXT_RX_HDR,
16808c2ecf20Sopenharmony_ci	WMI_TAG_COEX_BT_ACTIVITY_EVENT,
16818c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_TX_POWER_CMD,
16828c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_TX_POWER_EVENT,
16838c2ecf20Sopenharmony_ci	WMI_TAG_OFFCHAN_DATA_TX_COMPL_EVENT,
16848c2ecf20Sopenharmony_ci	WMI_TAG_OFFCHAN_DATA_TX_SEND_CMD,
16858c2ecf20Sopenharmony_ci	WMI_TAG_TX_SEND_PARAMS,
16868c2ecf20Sopenharmony_ci	WMI_TAG_HE_RATE_SET,
16878c2ecf20Sopenharmony_ci	WMI_TAG_CONGESTION_STATS,
16888c2ecf20Sopenharmony_ci	WMI_TAG_SET_INIT_COUNTRY_CMD,
16898c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_DBS_DUTY_CYCLE,
16908c2ecf20Sopenharmony_ci	WMI_TAG_SCAN_DBS_DUTY_CYCLE_PARAM_TLV,
16918c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DIV_GET_RSSI_ANTID,
16928c2ecf20Sopenharmony_ci	WMI_TAG_THERM_THROT_CONFIG_REQUEST,
16938c2ecf20Sopenharmony_ci	WMI_TAG_THERM_THROT_LEVEL_CONFIG_INFO,
16948c2ecf20Sopenharmony_ci	WMI_TAG_THERM_THROT_STATS_EVENT,
16958c2ecf20Sopenharmony_ci	WMI_TAG_THERM_THROT_LEVEL_STATS_INFO,
16968c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_DIV_RSSI_ANTID_EVENT,
16978c2ecf20Sopenharmony_ci	WMI_TAG_OEM_DMA_RING_CAPABILITIES,
16988c2ecf20Sopenharmony_ci	WMI_TAG_OEM_DMA_RING_CFG_REQ,
16998c2ecf20Sopenharmony_ci	WMI_TAG_OEM_DMA_RING_CFG_RSP,
17008c2ecf20Sopenharmony_ci	WMI_TAG_OEM_INDIRECT_DATA,
17018c2ecf20Sopenharmony_ci	WMI_TAG_OEM_DMA_BUF_RELEASE,
17028c2ecf20Sopenharmony_ci	WMI_TAG_OEM_DMA_BUF_RELEASE_ENTRY,
17038c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_BSS_CHAN_INFO_REQUEST,
17048c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_BSS_CHAN_INFO_EVENT,
17058c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_LCA_DISALLOW_CONFIG,
17068c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_LIMIT_OFFCHAN_CMD,
17078c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_RSSI_REJECTION_OCE_CONFIG,
17088c2ecf20Sopenharmony_ci	WMI_TAG_UNIT_TEST_EVENT,
17098c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_FILS_OFFLOAD,
17108c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_UPDATE_PMK_CACHE_CMD,
17118c2ecf20Sopenharmony_ci	WMI_TAG_PMK_CACHE,
17128c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_UPDATE_FILS_HLP_PKT_CMD,
17138c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_FILS_SYNCH,
17148c2ecf20Sopenharmony_ci	WMI_TAG_GTK_OFFLOAD_EXTENDED,
17158c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_BG_SCAN_ROAMING,
17168c2ecf20Sopenharmony_ci	WMI_TAG_OIC_PING_OFFLOAD_PARAMS_CMD,
17178c2ecf20Sopenharmony_ci	WMI_TAG_OIC_PING_OFFLOAD_SET_ENABLE_CMD,
17188c2ecf20Sopenharmony_ci	WMI_TAG_OIC_PING_HANDOFF_EVENT,
17198c2ecf20Sopenharmony_ci	WMI_TAG_DHCP_LEASE_RENEW_OFFLOAD_CMD,
17208c2ecf20Sopenharmony_ci	WMI_TAG_DHCP_LEASE_RENEW_EVENT,
17218c2ecf20Sopenharmony_ci	WMI_TAG_BTM_CONFIG,
17228c2ecf20Sopenharmony_ci	WMI_TAG_DEBUG_MESG_FW_DATA_STALL,
17238c2ecf20Sopenharmony_ci	WMI_TAG_WLM_CONFIG_CMD,
17248c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_UPDATE_CTLTABLE_REQUEST,
17258c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_UPDATE_CTLTABLE_EVENT,
17268c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_CND_SCORING_PARAM,
17278c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CONFIG_VENDOR_OUI_ACTION,
17288c2ecf20Sopenharmony_ci	WMI_TAG_VENDOR_OUI_EXT,
17298c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SYNCH_FRAME_EVENT,
17308c2ecf20Sopenharmony_ci	WMI_TAG_FD_SEND_FROM_HOST_CMD,
17318c2ecf20Sopenharmony_ci	WMI_TAG_ENABLE_FILS_CMD,
17328c2ecf20Sopenharmony_ci	WMI_TAG_HOST_SWFDA_EVENT,
17338c2ecf20Sopenharmony_ci	WMI_TAG_BCN_OFFLOAD_CTRL_CMD,
17348c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMD,
17358c2ecf20Sopenharmony_ci	WMI_TAG_STATS_PERIOD,
17368c2ecf20Sopenharmony_ci	WMI_TAG_NDL_SCHEDULE_UPDATE,
17378c2ecf20Sopenharmony_ci	WMI_TAG_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMD,
17388c2ecf20Sopenharmony_ci	WMI_TAG_MSDUQ_QDEPTH_THRESH_UPDATE,
17398c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_SET_RX_FILTER_PROMISCUOUS_CMD,
17408c2ecf20Sopenharmony_ci	WMI_TAG_SAR2_RESULT_EVENT,
17418c2ecf20Sopenharmony_ci	WMI_TAG_SAR_CAPABILITIES,
17428c2ecf20Sopenharmony_ci	WMI_TAG_SAP_OBSS_DETECTION_CFG_CMD,
17438c2ecf20Sopenharmony_ci	WMI_TAG_SAP_OBSS_DETECTION_INFO_EVT,
17448c2ecf20Sopenharmony_ci	WMI_TAG_DMA_RING_CAPABILITIES,
17458c2ecf20Sopenharmony_ci	WMI_TAG_DMA_RING_CFG_REQ,
17468c2ecf20Sopenharmony_ci	WMI_TAG_DMA_RING_CFG_RSP,
17478c2ecf20Sopenharmony_ci	WMI_TAG_DMA_BUF_RELEASE,
17488c2ecf20Sopenharmony_ci	WMI_TAG_DMA_BUF_RELEASE_ENTRY,
17498c2ecf20Sopenharmony_ci	WMI_TAG_SAR_GET_LIMITS_CMD,
17508c2ecf20Sopenharmony_ci	WMI_TAG_SAR_GET_LIMITS_EVENT,
17518c2ecf20Sopenharmony_ci	WMI_TAG_SAR_GET_LIMITS_EVENT_ROW,
17528c2ecf20Sopenharmony_ci	WMI_TAG_OFFLOAD_11K_REPORT,
17538c2ecf20Sopenharmony_ci	WMI_TAG_INVOKE_NEIGHBOR_REPORT,
17548c2ecf20Sopenharmony_ci	WMI_TAG_NEIGHBOR_REPORT_OFFLOAD,
17558c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_CONNECTIVITY_CHECK_STATS,
17568c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_GET_CONNECTIVITY_CHECK_STATS,
17578c2ecf20Sopenharmony_ci	WMI_TAG_BPF_SET_VDEV_ENABLE_CMD,
17588c2ecf20Sopenharmony_ci	WMI_TAG_BPF_SET_VDEV_WORK_MEMORY_CMD,
17598c2ecf20Sopenharmony_ci	WMI_TAG_BPF_GET_VDEV_WORK_MEMORY_CMD,
17608c2ecf20Sopenharmony_ci	WMI_TAG_BPF_GET_VDEV_WORK_MEMORY_RESP_EVT,
17618c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_GET_NFCAL_POWER,
17628c2ecf20Sopenharmony_ci	WMI_TAG_BSS_COLOR_CHANGE_ENABLE,
17638c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_COLOR_COLLISION_DET_CONFIG,
17648c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_COLOR_COLLISION_EVT,
17658c2ecf20Sopenharmony_ci	WMI_TAG_RUNTIME_DPD_RECAL_CMD,
17668c2ecf20Sopenharmony_ci	WMI_TAG_TWT_ENABLE_CMD,
17678c2ecf20Sopenharmony_ci	WMI_TAG_TWT_DISABLE_CMD,
17688c2ecf20Sopenharmony_ci	WMI_TAG_TWT_ADD_DIALOG_CMD,
17698c2ecf20Sopenharmony_ci	WMI_TAG_TWT_DEL_DIALOG_CMD,
17708c2ecf20Sopenharmony_ci	WMI_TAG_TWT_PAUSE_DIALOG_CMD,
17718c2ecf20Sopenharmony_ci	WMI_TAG_TWT_RESUME_DIALOG_CMD,
17728c2ecf20Sopenharmony_ci	WMI_TAG_TWT_ENABLE_COMPLETE_EVENT,
17738c2ecf20Sopenharmony_ci	WMI_TAG_TWT_DISABLE_COMPLETE_EVENT,
17748c2ecf20Sopenharmony_ci	WMI_TAG_TWT_ADD_DIALOG_COMPLETE_EVENT,
17758c2ecf20Sopenharmony_ci	WMI_TAG_TWT_DEL_DIALOG_COMPLETE_EVENT,
17768c2ecf20Sopenharmony_ci	WMI_TAG_TWT_PAUSE_DIALOG_COMPLETE_EVENT,
17778c2ecf20Sopenharmony_ci	WMI_TAG_TWT_RESUME_DIALOG_COMPLETE_EVENT,
17788c2ecf20Sopenharmony_ci	WMI_TAG_REQUEST_ROAM_SCAN_STATS_CMD,
17798c2ecf20Sopenharmony_ci	WMI_TAG_ROAM_SCAN_STATS_EVENT,
17808c2ecf20Sopenharmony_ci	WMI_TAG_PEER_TID_CONFIGURATIONS_CMD,
17818c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_SET_CUSTOM_SW_RETRY_TH_CMD,
17828c2ecf20Sopenharmony_ci	WMI_TAG_GET_TPC_POWER_CMD,
17838c2ecf20Sopenharmony_ci	WMI_TAG_GET_TPC_POWER_EVENT,
17848c2ecf20Sopenharmony_ci	WMI_TAG_DMA_BUF_RELEASE_SPECTRAL_META_DATA,
17858c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_CONFIG_PARAMS_CMD,
17868c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_BASE_LINE_CONFIG_PARAMS_CMD,
17878c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_START_STOP_CMD,
17888c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_BASE_LINE_START_STOP_CMD,
17898c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_EVENT,
17908c2ecf20Sopenharmony_ci	WMI_TAG_MOTION_DET_BASE_LINE_EVENT,
17918c2ecf20Sopenharmony_ci	WMI_TAG_NDP_TRANSPORT_IP,
17928c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_SPATIAL_REUSE_SET_CMD,
17938c2ecf20Sopenharmony_ci	WMI_TAG_ESP_ESTIMATE_EVENT,
17948c2ecf20Sopenharmony_ci	WMI_TAG_NAN_HOST_CONFIG,
17958c2ecf20Sopenharmony_ci	WMI_TAG_SPECTRAL_BIN_SCALING_PARAMS,
17968c2ecf20Sopenharmony_ci	WMI_TAG_PEER_CFR_CAPTURE_CMD,
17978c2ecf20Sopenharmony_ci	WMI_TAG_PEER_CHAN_WIDTH_SWITCH_CMD,
17988c2ecf20Sopenharmony_ci	WMI_TAG_CHAN_WIDTH_PEER_LIST,
17998c2ecf20Sopenharmony_ci	WMI_TAG_OBSS_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMD,
18008c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_HE_TB_ACTION_FRM_CMD,
18018c2ecf20Sopenharmony_ci	WMI_TAG_PEER_EXTD2_STATS,
18028c2ecf20Sopenharmony_ci	WMI_TAG_HPCS_PULSE_START_CMD,
18038c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_CTL_FAILSAFE_CHECK_EVENT,
18048c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_CHAINMASK_CONFIG_CMD,
18058c2ecf20Sopenharmony_ci	WMI_TAG_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMD,
18068c2ecf20Sopenharmony_ci	WMI_TAG_NAN_EVENT_INFO,
18078c2ecf20Sopenharmony_ci	WMI_TAG_NDP_CHANNEL_INFO,
18088c2ecf20Sopenharmony_ci	WMI_TAG_NDP_CMD,
18098c2ecf20Sopenharmony_ci	WMI_TAG_NDP_EVENT,
18108c2ecf20Sopenharmony_ci	/* TODO add all the missing cmds */
18118c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_PEER_PKTLOG_FILTER_CMD = 0x301,
18128c2ecf20Sopenharmony_ci	WMI_TAG_PDEV_PEER_PKTLOG_FILTER_INFO,
18138c2ecf20Sopenharmony_ci	WMI_TAG_MAX
18148c2ecf20Sopenharmony_ci};
18158c2ecf20Sopenharmony_ci
18168c2ecf20Sopenharmony_cienum wmi_tlv_service {
18178c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BEACON_OFFLOAD = 0,
18188c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_OFFLOAD = 1,
18198c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ROAM_SCAN_OFFLOAD = 2,
18208c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_MISS_OFFLOAD = 3,
18218c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_PWRSAVE = 4,
18228c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_ADVANCED_PWRSAVE = 5,
18238c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_UAPSD = 6,
18248c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_DFS = 7,
18258c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11AC = 8,
18268c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BLOCKACK = 9,
18278c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PHYERR = 10,
18288c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_FILTER = 11,
18298c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RTT = 12,
18308c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WOW = 13,
18318c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RATECTRL_CACHE = 14,
18328c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_IRAM_TIDS = 15,
18338c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ARPNS_OFFLOAD = 16,
18348c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NLO = 17,
18358c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GTK_OFFLOAD = 18,
18368c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_SCH = 19,
18378c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CSA_OFFLOAD = 20,
18388c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHATTER = 21,
18398c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_FREQAVOID = 22,
18408c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PACKET_POWER_SAVE = 23,
18418c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FORCE_FW_HANG = 24,
18428c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GPIO = 25,
18438c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_DTIM_PS_MODULATED_DTIM = 26,
18448c2ecf20Sopenharmony_ci	WMI_STA_UAPSD_BASIC_AUTO_TRIG = 27,
18458c2ecf20Sopenharmony_ci	WMI_STA_UAPSD_VAR_AUTO_TRIG = 28,
18468c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_KEEP_ALIVE = 29,
18478c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_ENCAP = 30,
18488c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_PS_DETECT_OUT_OF_SYNC = 31,
18498c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EARLY_RX = 32,
18508c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_SMPS = 33,
18518c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FWTEST = 34,
18528c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_WMMAC = 35,
18538c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS = 36,
18548c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BURST = 37,
18558c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MCC_BCN_INTERVAL_CHANGE = 38,
18568c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ADAPTIVE_OCS = 39,
18578c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BA_SSN_SUPPORT = 40,
18588c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FILTER_IPSEC_NATKEEPALIVE = 41,
18598c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_HB = 42,
18608c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LTE_ANT_SHARE_SUPPORT = 43,
18618c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BATCH_SCAN = 44,
18628c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_QPOWER = 45,
18638c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PLMREQ = 46,
18648c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THERMAL_MGMT = 47,
18658c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RMC = 48,
18668c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MHF_OFFLOAD = 49,
18678c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_SAR = 50,
18688c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_TXRATE_OVERRIDE = 51,
18698c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN = 52,
18708c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_L1SS_STAT = 53,
18718c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ESTIMATE_LINKSPEED = 54,
18728c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OBSS_SCAN = 55,
18738c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_OFFCHAN = 56,
18748c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_UAPSD_BUFFER_STA = 57,
18758c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_UAPSD_SLEEP_STA = 58,
18768c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_IBSS_PWRSAVE = 59,
18778c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LPASS = 60,
18788c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXTSCAN = 61,
18798c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_D0WOW = 62,
18808c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HSOFFLOAD = 63,
18818c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ROAM_HO_OFFLOAD = 64,
18828c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RX_FULL_REORDER = 65,
18838c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DHCP_OFFLOAD = 66,
18848c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_RX_IPA_OFFLOAD_SUPPORT = 67,
18858c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MDNS_OFFLOAD = 68,
18868c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SAP_AUTH_OFFLOAD = 69,
18878c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BAND_SIMULTANEOUS_SUPPORT = 70,
18888c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OCB = 71,
18898c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_ARPNS_OFFLOAD = 72,
18908c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PER_BAND_CHAINMASK_SUPPORT = 73,
18918c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PACKET_FILTER_OFFLOAD = 74,
18928c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MGMT_TX_HTT = 75,
18938c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MGMT_TX_WMI = 76,
18948c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXT_MSG = 77,
18958c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MAWC = 78,
18968c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_ASSOC_CONF = 79,
18978c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EGAP = 80,
18988c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_PMF_OFFLOAD = 81,
18998c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_UNIFIED_WOW_CAPABILITY = 82,
19008c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENHANCED_PROXY_STA = 83,
19018c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ATF = 84,
19028c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_GPIO = 85,
19038c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AUX_SPECTRAL_INTF = 86,
19048c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AUX_CHAN_LOAD_INTF = 87,
19058c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BSS_CHANNEL_INFO_64 = 88,
19068c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENTERPRISE_MESH = 89,
19078c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RESTRT_CHNL_SUPPORT = 90,
19088c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BPF_OFFLOAD = 91,
19098c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SYNC_DELETE_CMDS = 92,
19108c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SMART_ANTENNA_SW_SUPPORT = 93,
19118c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SMART_ANTENNA_HW_SUPPORT = 94,
19128c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RATECTRL_LIMIT_MAX_MIN_RATES = 95,
19138c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DATA = 96,
19148c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_RTT = 97,
19158c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11AX = 98,
19168c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DEPRECATED_REPLACE = 99,
19178c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TDLS_CONN_TRACKER_IN_HOST_MODE = 100,
19188c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENHANCED_MCAST_FILTER = 101,
19198c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PERIODIC_CHAN_STAT_SUPPORT = 102,
19208c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MESH_11S = 103,
19218c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HALF_RATE_QUARTER_RATE_SUPPORT = 104,
19228c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_RX_FILTER = 105,
19238c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_P2P_LISTEN_OFFLOAD_SUPPORT = 106,
19248c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MARK_FIRST_WAKEUP_PACKET = 107,
19258c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MULTIPLE_MCAST_FILTER_SET = 108,
19268c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HOST_MANAGED_RX_REORDER = 109,
19278c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FLASH_RDWR_SUPPORT = 110,
19288c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_STATS_REPORT = 111,
19298c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_MSDU_ID_NEW_PARTITION_SUPPORT = 112,
19308c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DFS_PHYERR_OFFLOAD = 113,
19318c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RCPI_SUPPORT = 114,
19328c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FW_MEM_DUMP_SUPPORT = 115,
19338c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_STATS_INFO = 116,
19348c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_REGULATORY_DB = 117,
19358c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11D_OFFLOAD = 118,
19368c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HW_DATA_FILTERING = 119,
19378c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MULTIPLE_VDEV_RESTART = 120,
19388c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PKT_ROUTING = 121,
19398c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHECK_CAL_VERSION = 122,
19408c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OFFCHAN_TX_WMI = 123,
19418c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_8SS_TX_BFEE  =  124,
19428c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXTENDED_NSS_SUPPORT = 125,
19438c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ACK_TIMEOUT = 126,
19448c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PDEV_BSS_CHANNEL_INFO_64 = 127,
19458c2ecf20Sopenharmony_ci
19468c2ecf20Sopenharmony_ci	WMI_MAX_SERVICE = 128,
19478c2ecf20Sopenharmony_ci
19488c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHAN_LOAD_INFO = 128,
19498c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_PPDU_INFO_STATS_SUPPORT = 129,
19508c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_LIMIT_OFFCHAN_SUPPORT = 130,
19518c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FILS_SUPPORT = 131,
19528c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_OIC_PING_OFFLOAD = 132,
19538c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_DHCP_RENEW = 133,
19548c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MAWC_SUPPORT = 134,
19558c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_LATENCY_CONFIG = 135,
19568c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PDEV_UPDATE_CTLTABLE_SUPPORT = 136,
19578c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PKTLOG_SUPPORT_OVER_HTT = 137,
19588c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_MULTI_GROUP_KEY_SUPPORT = 138,
19598c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SCAN_PHYMODE_SUPPORT = 139,
19608c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THERM_THROT = 140,
19618c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BCN_OFFLOAD_START_STOP_SUPPORT = 141,
19628c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WOW_WAKEUP_BY_TIMER_PATTERN = 142,
19638c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_MAP_UNMAP_V2_SUPPORT = 143,
19648c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OFFCHAN_DATA_TID_SUPPORT = 144,
19658c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RX_PROMISC_ENABLE_SUPPORT = 145,
19668c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SUPPORT_DIRECT_DMA = 146,
19678c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_OBSS_DETECTION_OFFLOAD = 147,
19688c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_11K_NEIGHBOUR_REPORT_SUPPORT = 148,
19698c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_LISTEN_INTERVAL_OFFLOAD_SUPPORT = 149,
19708c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BSS_COLOR_OFFLOAD = 150,
19718c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RUNTIME_DPD_RECAL = 151,
19728c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_TWT = 152,
19738c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_AP_TWT = 153,
19748c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GMAC_OFFLOAD_SUPPORT = 154,
19758c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT = 155,
19768c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_TID_CONFIGS_SUPPORT = 156,
19778c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_SWRETRY_PER_AC_CONFIG_SUPPORT = 157,
19788c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BEACON_ON_SINGLE_MAC_SCC_SUPPORT = 158,
19798c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DUAL_BEACON_ON_SINGLE_MAC_MCC_SUPPORT = 159,
19808c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_MOTION_DET = 160,
19818c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_INFRA_MBSSID = 161,
19828c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_OBSS_SPATIAL_REUSE = 162,
19838c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VDEV_DIFFERENT_BEACON_INTERVAL_SUPPORT = 163,
19848c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DBS_SUPPORT = 164,
19858c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NDI_DBS_SUPPORT = 165,
19868c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_SAP_SUPPORT = 166,
19878c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NDI_SAP_SUPPORT = 167,
19888c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CFR_CAPTURE_SUPPORT = 168,
19898c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CFR_CAPTURE_IND_MSG_TYPE_1 = 169,
19908c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ESP_SUPPORT = 170,
19918c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_CHWIDTH_CHANGE = 171,
19928c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLAN_HPCS_PULSE = 172,
19938c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PER_VDEV_CHAINMASK_CONFIG_SUPPORT = 173,
19948c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_DATA_MGMT_ACK_RSSI = 174,
19958c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_NAN_DISABLE_SUPPORT = 175,
19968c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN = 176,
19978c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_COEX_SUPPORT_UNEQUAL_ISOLATION = 177,
19988c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT = 178,
19998c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_SUPPORT_EXTEND_ADDRESS = 179,
20008c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BEACON_RECEPTION_STATS = 180,
20018c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FETCH_TX_PN = 181,
20028c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PEER_UNMAP_RESPONSE_SUPPORT = 182,
20038c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_PER_PEER_AMPDU_SIZE = 183,
20048c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BSS_COLOR_SWITCH_COUNT = 184,
20058c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_HTT_PEER_STATS_SUPPORT = 185,
20068c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_UL_RU26_ALLOWED = 186,
20078c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GET_MWS_COEX_STATE = 187,
20088c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GET_MWS_DPWB_STATE = 188,
20098c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GET_MWS_TDM_STATE = 189,
20108c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GET_MWS_IDRX_STATE = 190,
20118c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_GET_MWS_ANTENNA_SHARING_STATE = 191,
20128c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ENHANCED_TPC_CONFIG_EVENT = 192,
20138c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WLM_STATS_REQUEST = 193,
20148c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT = 194,
20158c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WPA3_FT_SAE_SUPPORT = 195,
20168c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WPA3_FT_SUITE_B_SUPPORT = 196,
20178c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_VOW_ENABLE = 197,
20188c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CFR_CAPTURE_IND_EVT_TYPE_1 = 198,
20198c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_BROADCAST_TWT = 199,
20208c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_RAP_DETECTION_SUPPORT = 200,
20218c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PS_TDCC = 201,
20228c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THREE_WAY_COEX_CONFIG_LEGACY   = 202,
20238c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_THREE_WAY_COEX_CONFIG_OVERRIDE = 203,
20248c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_PWR_PER_PEER = 204,
20258c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_STA_PLUS_STA_SUPPORT = 205,
20268c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_WPA3_FT_FILS = 206,
20278c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_ADAPTIVE_11R_ROAM = 207,
20288c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_CHAN_RF_CHARACTERIZATION_INFO = 208,
20298c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FW_IFACE_COMBINATION_SUPPORT = 209,
20308c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_TX_COMPL_TSF64 = 210,
20318c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_DSM_ROAM_FILTER = 211,
20328c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PACKET_CAPTURE_SUPPORT = 212,
20338c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_PER_PEER_HTT_STATS_RESET = 213,
20348c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_FREQINFO_IN_METADATA = 219,
20358c2ecf20Sopenharmony_ci	WMI_TLV_SERVICE_EXT2_MSG = 220,
20368c2ecf20Sopenharmony_ci
20378c2ecf20Sopenharmony_ci	WMI_MAX_EXT_SERVICE
20388c2ecf20Sopenharmony_ci};
20398c2ecf20Sopenharmony_ci
20408c2ecf20Sopenharmony_cienum {
20418c2ecf20Sopenharmony_ci	WMI_SMPS_FORCED_MODE_NONE = 0,
20428c2ecf20Sopenharmony_ci	WMI_SMPS_FORCED_MODE_DISABLED,
20438c2ecf20Sopenharmony_ci	WMI_SMPS_FORCED_MODE_STATIC,
20448c2ecf20Sopenharmony_ci	WMI_SMPS_FORCED_MODE_DYNAMIC
20458c2ecf20Sopenharmony_ci};
20468c2ecf20Sopenharmony_ci
20478c2ecf20Sopenharmony_ci#define WMI_TPC_CHAINMASK_CONFIG_BAND_2G      0
20488c2ecf20Sopenharmony_ci#define WMI_TPC_CHAINMASK_CONFIG_BAND_5G      1
20498c2ecf20Sopenharmony_ci#define WMI_NUM_SUPPORTED_BAND_MAX 2
20508c2ecf20Sopenharmony_ci
20518c2ecf20Sopenharmony_ci#define WMI_PEER_MIMO_PS_STATE                          0x1
20528c2ecf20Sopenharmony_ci#define WMI_PEER_AMPDU                                  0x2
20538c2ecf20Sopenharmony_ci#define WMI_PEER_AUTHORIZE                              0x3
20548c2ecf20Sopenharmony_ci#define WMI_PEER_CHWIDTH                                0x4
20558c2ecf20Sopenharmony_ci#define WMI_PEER_NSS                                    0x5
20568c2ecf20Sopenharmony_ci#define WMI_PEER_USE_4ADDR                              0x6
20578c2ecf20Sopenharmony_ci#define WMI_PEER_MEMBERSHIP                             0x7
20588c2ecf20Sopenharmony_ci#define WMI_PEER_USERPOS                                0x8
20598c2ecf20Sopenharmony_ci#define WMI_PEER_CRIT_PROTO_HINT_ENABLED                0x9
20608c2ecf20Sopenharmony_ci#define WMI_PEER_TX_FAIL_CNT_THR                        0xA
20618c2ecf20Sopenharmony_ci#define WMI_PEER_SET_HW_RETRY_CTS2S                     0xB
20628c2ecf20Sopenharmony_ci#define WMI_PEER_IBSS_ATIM_WINDOW_LENGTH                0xC
20638c2ecf20Sopenharmony_ci#define WMI_PEER_PHYMODE                                0xD
20648c2ecf20Sopenharmony_ci#define WMI_PEER_USE_FIXED_PWR                          0xE
20658c2ecf20Sopenharmony_ci#define WMI_PEER_PARAM_FIXED_RATE                       0xF
20668c2ecf20Sopenharmony_ci#define WMI_PEER_SET_MU_WHITELIST                       0x10
20678c2ecf20Sopenharmony_ci#define WMI_PEER_SET_MAX_TX_RATE                        0x11
20688c2ecf20Sopenharmony_ci#define WMI_PEER_SET_MIN_TX_RATE                        0x12
20698c2ecf20Sopenharmony_ci#define WMI_PEER_SET_DEFAULT_ROUTING                    0x13
20708c2ecf20Sopenharmony_ci
20718c2ecf20Sopenharmony_ci/* slot time long */
20728c2ecf20Sopenharmony_ci#define WMI_VDEV_SLOT_TIME_LONG         0x1
20738c2ecf20Sopenharmony_ci/* slot time short */
20748c2ecf20Sopenharmony_ci#define WMI_VDEV_SLOT_TIME_SHORT        0x2
20758c2ecf20Sopenharmony_ci/* preablbe long */
20768c2ecf20Sopenharmony_ci#define WMI_VDEV_PREAMBLE_LONG          0x1
20778c2ecf20Sopenharmony_ci/* preablbe short */
20788c2ecf20Sopenharmony_ci#define WMI_VDEV_PREAMBLE_SHORT         0x2
20798c2ecf20Sopenharmony_ci
20808c2ecf20Sopenharmony_cienum wmi_peer_smps_state {
20818c2ecf20Sopenharmony_ci	WMI_PEER_SMPS_PS_NONE = 0x0,
20828c2ecf20Sopenharmony_ci	WMI_PEER_SMPS_STATIC  = 0x1,
20838c2ecf20Sopenharmony_ci	WMI_PEER_SMPS_DYNAMIC = 0x2
20848c2ecf20Sopenharmony_ci};
20858c2ecf20Sopenharmony_ci
20868c2ecf20Sopenharmony_cienum wmi_peer_chwidth {
20878c2ecf20Sopenharmony_ci	WMI_PEER_CHWIDTH_20MHZ = 0,
20888c2ecf20Sopenharmony_ci	WMI_PEER_CHWIDTH_40MHZ = 1,
20898c2ecf20Sopenharmony_ci	WMI_PEER_CHWIDTH_80MHZ = 2,
20908c2ecf20Sopenharmony_ci	WMI_PEER_CHWIDTH_160MHZ = 3,
20918c2ecf20Sopenharmony_ci};
20928c2ecf20Sopenharmony_ci
20938c2ecf20Sopenharmony_cienum wmi_beacon_gen_mode {
20948c2ecf20Sopenharmony_ci	WMI_BEACON_STAGGERED_MODE = 0,
20958c2ecf20Sopenharmony_ci	WMI_BEACON_BURST_MODE = 1
20968c2ecf20Sopenharmony_ci};
20978c2ecf20Sopenharmony_ci
20988c2ecf20Sopenharmony_cienum wmi_direct_buffer_module {
20998c2ecf20Sopenharmony_ci	WMI_DIRECT_BUF_SPECTRAL = 0,
21008c2ecf20Sopenharmony_ci	WMI_DIRECT_BUF_CFR = 1,
21018c2ecf20Sopenharmony_ci
21028c2ecf20Sopenharmony_ci	/* keep it last */
21038c2ecf20Sopenharmony_ci	WMI_DIRECT_BUF_MAX
21048c2ecf20Sopenharmony_ci};
21058c2ecf20Sopenharmony_ci
21068c2ecf20Sopenharmony_cistruct wmi_host_pdev_band_to_mac {
21078c2ecf20Sopenharmony_ci	u32 pdev_id;
21088c2ecf20Sopenharmony_ci	u32 start_freq;
21098c2ecf20Sopenharmony_ci	u32 end_freq;
21108c2ecf20Sopenharmony_ci};
21118c2ecf20Sopenharmony_ci
21128c2ecf20Sopenharmony_cistruct ath11k_ppe_threshold {
21138c2ecf20Sopenharmony_ci	u32 numss_m1;
21148c2ecf20Sopenharmony_ci	u32 ru_bit_mask;
21158c2ecf20Sopenharmony_ci	u32 ppet16_ppet8_ru3_ru0[PSOC_HOST_MAX_NUM_SS];
21168c2ecf20Sopenharmony_ci};
21178c2ecf20Sopenharmony_ci
21188c2ecf20Sopenharmony_cistruct ath11k_service_ext_param {
21198c2ecf20Sopenharmony_ci	u32 default_conc_scan_config_bits;
21208c2ecf20Sopenharmony_ci	u32 default_fw_config_bits;
21218c2ecf20Sopenharmony_ci	struct ath11k_ppe_threshold ppet;
21228c2ecf20Sopenharmony_ci	u32 he_cap_info;
21238c2ecf20Sopenharmony_ci	u32 mpdu_density;
21248c2ecf20Sopenharmony_ci	u32 max_bssid_rx_filters;
21258c2ecf20Sopenharmony_ci	u32 num_hw_modes;
21268c2ecf20Sopenharmony_ci	u32 num_phy;
21278c2ecf20Sopenharmony_ci};
21288c2ecf20Sopenharmony_ci
21298c2ecf20Sopenharmony_cistruct ath11k_hw_mode_caps {
21308c2ecf20Sopenharmony_ci	u32 hw_mode_id;
21318c2ecf20Sopenharmony_ci	u32 phy_id_map;
21328c2ecf20Sopenharmony_ci	u32 hw_mode_config_type;
21338c2ecf20Sopenharmony_ci};
21348c2ecf20Sopenharmony_ci
21358c2ecf20Sopenharmony_ci#define PSOC_HOST_MAX_PHY_SIZE (3)
21368c2ecf20Sopenharmony_ci#define ATH11K_11B_SUPPORT                 BIT(0)
21378c2ecf20Sopenharmony_ci#define ATH11K_11G_SUPPORT                 BIT(1)
21388c2ecf20Sopenharmony_ci#define ATH11K_11A_SUPPORT                 BIT(2)
21398c2ecf20Sopenharmony_ci#define ATH11K_11N_SUPPORT                 BIT(3)
21408c2ecf20Sopenharmony_ci#define ATH11K_11AC_SUPPORT                BIT(4)
21418c2ecf20Sopenharmony_ci#define ATH11K_11AX_SUPPORT                BIT(5)
21428c2ecf20Sopenharmony_ci
21438c2ecf20Sopenharmony_cistruct ath11k_hal_reg_capabilities_ext {
21448c2ecf20Sopenharmony_ci	u32 phy_id;
21458c2ecf20Sopenharmony_ci	u32 eeprom_reg_domain;
21468c2ecf20Sopenharmony_ci	u32 eeprom_reg_domain_ext;
21478c2ecf20Sopenharmony_ci	u32 regcap1;
21488c2ecf20Sopenharmony_ci	u32 regcap2;
21498c2ecf20Sopenharmony_ci	u32 wireless_modes;
21508c2ecf20Sopenharmony_ci	u32 low_2ghz_chan;
21518c2ecf20Sopenharmony_ci	u32 high_2ghz_chan;
21528c2ecf20Sopenharmony_ci	u32 low_5ghz_chan;
21538c2ecf20Sopenharmony_ci	u32 high_5ghz_chan;
21548c2ecf20Sopenharmony_ci};
21558c2ecf20Sopenharmony_ci
21568c2ecf20Sopenharmony_ci#define WMI_HOST_MAX_PDEV 3
21578c2ecf20Sopenharmony_ci
21588c2ecf20Sopenharmony_cistruct wlan_host_mem_chunk {
21598c2ecf20Sopenharmony_ci	u32 tlv_header;
21608c2ecf20Sopenharmony_ci	u32 req_id;
21618c2ecf20Sopenharmony_ci	u32 ptr;
21628c2ecf20Sopenharmony_ci	u32 size;
21638c2ecf20Sopenharmony_ci} __packed;
21648c2ecf20Sopenharmony_ci
21658c2ecf20Sopenharmony_cistruct wmi_host_mem_chunk {
21668c2ecf20Sopenharmony_ci	void *vaddr;
21678c2ecf20Sopenharmony_ci	dma_addr_t paddr;
21688c2ecf20Sopenharmony_ci	u32 len;
21698c2ecf20Sopenharmony_ci	u32 req_id;
21708c2ecf20Sopenharmony_ci};
21718c2ecf20Sopenharmony_ci
21728c2ecf20Sopenharmony_cistruct wmi_init_cmd_param {
21738c2ecf20Sopenharmony_ci	u32 tlv_header;
21748c2ecf20Sopenharmony_ci	struct target_resource_config *res_cfg;
21758c2ecf20Sopenharmony_ci	u8 num_mem_chunks;
21768c2ecf20Sopenharmony_ci	struct wmi_host_mem_chunk *mem_chunks;
21778c2ecf20Sopenharmony_ci	u32 hw_mode_id;
21788c2ecf20Sopenharmony_ci	u32 num_band_to_mac;
21798c2ecf20Sopenharmony_ci	struct wmi_host_pdev_band_to_mac band_to_mac[WMI_HOST_MAX_PDEV];
21808c2ecf20Sopenharmony_ci};
21818c2ecf20Sopenharmony_ci
21828c2ecf20Sopenharmony_cistruct wmi_pdev_band_to_mac {
21838c2ecf20Sopenharmony_ci	u32 tlv_header;
21848c2ecf20Sopenharmony_ci	u32 pdev_id;
21858c2ecf20Sopenharmony_ci	u32 start_freq;
21868c2ecf20Sopenharmony_ci	u32 end_freq;
21878c2ecf20Sopenharmony_ci} __packed;
21888c2ecf20Sopenharmony_ci
21898c2ecf20Sopenharmony_cistruct wmi_pdev_set_hw_mode_cmd_param {
21908c2ecf20Sopenharmony_ci	u32 tlv_header;
21918c2ecf20Sopenharmony_ci	u32 pdev_id;
21928c2ecf20Sopenharmony_ci	u32 hw_mode_index;
21938c2ecf20Sopenharmony_ci	u32 num_band_to_mac;
21948c2ecf20Sopenharmony_ci} __packed;
21958c2ecf20Sopenharmony_ci
21968c2ecf20Sopenharmony_cistruct wmi_ppe_threshold {
21978c2ecf20Sopenharmony_ci	u32 numss_m1; /** NSS - 1*/
21988c2ecf20Sopenharmony_ci	union {
21998c2ecf20Sopenharmony_ci		u32 ru_count;
22008c2ecf20Sopenharmony_ci		u32 ru_mask;
22018c2ecf20Sopenharmony_ci	} __packed;
22028c2ecf20Sopenharmony_ci	u32 ppet16_ppet8_ru3_ru0[WMI_MAX_NUM_SS];
22038c2ecf20Sopenharmony_ci} __packed;
22048c2ecf20Sopenharmony_ci
22058c2ecf20Sopenharmony_ci#define HW_BD_INFO_SIZE       5
22068c2ecf20Sopenharmony_ci
22078c2ecf20Sopenharmony_cistruct wmi_abi_version {
22088c2ecf20Sopenharmony_ci	u32 abi_version_0;
22098c2ecf20Sopenharmony_ci	u32 abi_version_1;
22108c2ecf20Sopenharmony_ci	u32 abi_version_ns_0;
22118c2ecf20Sopenharmony_ci	u32 abi_version_ns_1;
22128c2ecf20Sopenharmony_ci	u32 abi_version_ns_2;
22138c2ecf20Sopenharmony_ci	u32 abi_version_ns_3;
22148c2ecf20Sopenharmony_ci} __packed;
22158c2ecf20Sopenharmony_ci
22168c2ecf20Sopenharmony_cistruct wmi_init_cmd {
22178c2ecf20Sopenharmony_ci	u32 tlv_header;
22188c2ecf20Sopenharmony_ci	struct wmi_abi_version host_abi_vers;
22198c2ecf20Sopenharmony_ci	u32 num_host_mem_chunks;
22208c2ecf20Sopenharmony_ci} __packed;
22218c2ecf20Sopenharmony_ci
22228c2ecf20Sopenharmony_cistruct wmi_resource_config {
22238c2ecf20Sopenharmony_ci	u32 tlv_header;
22248c2ecf20Sopenharmony_ci	u32 num_vdevs;
22258c2ecf20Sopenharmony_ci	u32 num_peers;
22268c2ecf20Sopenharmony_ci	u32 num_offload_peers;
22278c2ecf20Sopenharmony_ci	u32 num_offload_reorder_buffs;
22288c2ecf20Sopenharmony_ci	u32 num_peer_keys;
22298c2ecf20Sopenharmony_ci	u32 num_tids;
22308c2ecf20Sopenharmony_ci	u32 ast_skid_limit;
22318c2ecf20Sopenharmony_ci	u32 tx_chain_mask;
22328c2ecf20Sopenharmony_ci	u32 rx_chain_mask;
22338c2ecf20Sopenharmony_ci	u32 rx_timeout_pri[4];
22348c2ecf20Sopenharmony_ci	u32 rx_decap_mode;
22358c2ecf20Sopenharmony_ci	u32 scan_max_pending_req;
22368c2ecf20Sopenharmony_ci	u32 bmiss_offload_max_vdev;
22378c2ecf20Sopenharmony_ci	u32 roam_offload_max_vdev;
22388c2ecf20Sopenharmony_ci	u32 roam_offload_max_ap_profiles;
22398c2ecf20Sopenharmony_ci	u32 num_mcast_groups;
22408c2ecf20Sopenharmony_ci	u32 num_mcast_table_elems;
22418c2ecf20Sopenharmony_ci	u32 mcast2ucast_mode;
22428c2ecf20Sopenharmony_ci	u32 tx_dbg_log_size;
22438c2ecf20Sopenharmony_ci	u32 num_wds_entries;
22448c2ecf20Sopenharmony_ci	u32 dma_burst_size;
22458c2ecf20Sopenharmony_ci	u32 mac_aggr_delim;
22468c2ecf20Sopenharmony_ci	u32 rx_skip_defrag_timeout_dup_detection_check;
22478c2ecf20Sopenharmony_ci	u32 vow_config;
22488c2ecf20Sopenharmony_ci	u32 gtk_offload_max_vdev;
22498c2ecf20Sopenharmony_ci	u32 num_msdu_desc;
22508c2ecf20Sopenharmony_ci	u32 max_frag_entries;
22518c2ecf20Sopenharmony_ci	u32 num_tdls_vdevs;
22528c2ecf20Sopenharmony_ci	u32 num_tdls_conn_table_entries;
22538c2ecf20Sopenharmony_ci	u32 beacon_tx_offload_max_vdev;
22548c2ecf20Sopenharmony_ci	u32 num_multicast_filter_entries;
22558c2ecf20Sopenharmony_ci	u32 num_wow_filters;
22568c2ecf20Sopenharmony_ci	u32 num_keep_alive_pattern;
22578c2ecf20Sopenharmony_ci	u32 keep_alive_pattern_size;
22588c2ecf20Sopenharmony_ci	u32 max_tdls_concurrent_sleep_sta;
22598c2ecf20Sopenharmony_ci	u32 max_tdls_concurrent_buffer_sta;
22608c2ecf20Sopenharmony_ci	u32 wmi_send_separate;
22618c2ecf20Sopenharmony_ci	u32 num_ocb_vdevs;
22628c2ecf20Sopenharmony_ci	u32 num_ocb_channels;
22638c2ecf20Sopenharmony_ci	u32 num_ocb_schedules;
22648c2ecf20Sopenharmony_ci	u32 flag1;
22658c2ecf20Sopenharmony_ci	u32 smart_ant_cap;
22668c2ecf20Sopenharmony_ci	u32 bk_minfree;
22678c2ecf20Sopenharmony_ci	u32 be_minfree;
22688c2ecf20Sopenharmony_ci	u32 vi_minfree;
22698c2ecf20Sopenharmony_ci	u32 vo_minfree;
22708c2ecf20Sopenharmony_ci	u32 alloc_frag_desc_for_data_pkt;
22718c2ecf20Sopenharmony_ci	u32 num_ns_ext_tuples_cfg;
22728c2ecf20Sopenharmony_ci	u32 bpf_instruction_size;
22738c2ecf20Sopenharmony_ci	u32 max_bssid_rx_filters;
22748c2ecf20Sopenharmony_ci	u32 use_pdev_id;
22758c2ecf20Sopenharmony_ci	u32 max_num_dbs_scan_duty_cycle;
22768c2ecf20Sopenharmony_ci	u32 max_num_group_keys;
22778c2ecf20Sopenharmony_ci	u32 peer_map_unmap_v2_support;
22788c2ecf20Sopenharmony_ci	u32 sched_params;
22798c2ecf20Sopenharmony_ci	u32 twt_ap_pdev_count;
22808c2ecf20Sopenharmony_ci	u32 twt_ap_sta_count;
22818c2ecf20Sopenharmony_ci} __packed;
22828c2ecf20Sopenharmony_ci
22838c2ecf20Sopenharmony_cistruct wmi_service_ready_event {
22848c2ecf20Sopenharmony_ci	u32 fw_build_vers;
22858c2ecf20Sopenharmony_ci	struct wmi_abi_version fw_abi_vers;
22868c2ecf20Sopenharmony_ci	u32 phy_capability;
22878c2ecf20Sopenharmony_ci	u32 max_frag_entry;
22888c2ecf20Sopenharmony_ci	u32 num_rf_chains;
22898c2ecf20Sopenharmony_ci	u32 ht_cap_info;
22908c2ecf20Sopenharmony_ci	u32 vht_cap_info;
22918c2ecf20Sopenharmony_ci	u32 vht_supp_mcs;
22928c2ecf20Sopenharmony_ci	u32 hw_min_tx_power;
22938c2ecf20Sopenharmony_ci	u32 hw_max_tx_power;
22948c2ecf20Sopenharmony_ci	u32 sys_cap_info;
22958c2ecf20Sopenharmony_ci	u32 min_pkt_size_enable;
22968c2ecf20Sopenharmony_ci	u32 max_bcn_ie_size;
22978c2ecf20Sopenharmony_ci	u32 num_mem_reqs;
22988c2ecf20Sopenharmony_ci	u32 max_num_scan_channels;
22998c2ecf20Sopenharmony_ci	u32 hw_bd_id;
23008c2ecf20Sopenharmony_ci	u32 hw_bd_info[HW_BD_INFO_SIZE];
23018c2ecf20Sopenharmony_ci	u32 max_supported_macs;
23028c2ecf20Sopenharmony_ci	u32 wmi_fw_sub_feat_caps;
23038c2ecf20Sopenharmony_ci	u32 num_dbs_hw_modes;
23048c2ecf20Sopenharmony_ci	/* txrx_chainmask
23058c2ecf20Sopenharmony_ci	 *    [7:0]   - 2G band tx chain mask
23068c2ecf20Sopenharmony_ci	 *    [15:8]  - 2G band rx chain mask
23078c2ecf20Sopenharmony_ci	 *    [23:16] - 5G band tx chain mask
23088c2ecf20Sopenharmony_ci	 *    [31:24] - 5G band rx chain mask
23098c2ecf20Sopenharmony_ci	 */
23108c2ecf20Sopenharmony_ci	u32 txrx_chainmask;
23118c2ecf20Sopenharmony_ci	u32 default_dbs_hw_mode_index;
23128c2ecf20Sopenharmony_ci	u32 num_msdu_desc;
23138c2ecf20Sopenharmony_ci} __packed;
23148c2ecf20Sopenharmony_ci
23158c2ecf20Sopenharmony_ci#define WMI_SERVICE_BM_SIZE	((WMI_MAX_SERVICE + sizeof(u32) - 1) / sizeof(u32))
23168c2ecf20Sopenharmony_ci
23178c2ecf20Sopenharmony_ci#define WMI_SERVICE_SEGMENT_BM_SIZE32 4 /* 4x u32 = 128 bits */
23188c2ecf20Sopenharmony_ci#define WMI_SERVICE_EXT_BM_SIZE (WMI_SERVICE_SEGMENT_BM_SIZE32 * sizeof(u32))
23198c2ecf20Sopenharmony_ci#define WMI_AVAIL_SERVICE_BITS_IN_SIZE32 32
23208c2ecf20Sopenharmony_ci#define WMI_SERVICE_BITS_IN_SIZE32 4
23218c2ecf20Sopenharmony_ci
23228c2ecf20Sopenharmony_cistruct wmi_service_ready_ext_event {
23238c2ecf20Sopenharmony_ci	u32 default_conc_scan_config_bits;
23248c2ecf20Sopenharmony_ci	u32 default_fw_config_bits;
23258c2ecf20Sopenharmony_ci	struct wmi_ppe_threshold ppet;
23268c2ecf20Sopenharmony_ci	u32 he_cap_info;
23278c2ecf20Sopenharmony_ci	u32 mpdu_density;
23288c2ecf20Sopenharmony_ci	u32 max_bssid_rx_filters;
23298c2ecf20Sopenharmony_ci	u32 fw_build_vers_ext;
23308c2ecf20Sopenharmony_ci	u32 max_nlo_ssids;
23318c2ecf20Sopenharmony_ci	u32 max_bssid_indicator;
23328c2ecf20Sopenharmony_ci	u32 he_cap_info_ext;
23338c2ecf20Sopenharmony_ci} __packed;
23348c2ecf20Sopenharmony_ci
23358c2ecf20Sopenharmony_cistruct wmi_soc_mac_phy_hw_mode_caps {
23368c2ecf20Sopenharmony_ci	u32 num_hw_modes;
23378c2ecf20Sopenharmony_ci	u32 num_chainmask_tables;
23388c2ecf20Sopenharmony_ci} __packed;
23398c2ecf20Sopenharmony_ci
23408c2ecf20Sopenharmony_cistruct wmi_hw_mode_capabilities {
23418c2ecf20Sopenharmony_ci	u32 tlv_header;
23428c2ecf20Sopenharmony_ci	u32 hw_mode_id;
23438c2ecf20Sopenharmony_ci	u32 phy_id_map;
23448c2ecf20Sopenharmony_ci	u32 hw_mode_config_type;
23458c2ecf20Sopenharmony_ci} __packed;
23468c2ecf20Sopenharmony_ci
23478c2ecf20Sopenharmony_ci#define WMI_MAX_HECAP_PHY_SIZE                 (3)
23488c2ecf20Sopenharmony_ci
23498c2ecf20Sopenharmony_cistruct wmi_mac_phy_capabilities {
23508c2ecf20Sopenharmony_ci	u32 hw_mode_id;
23518c2ecf20Sopenharmony_ci	u32 pdev_id;
23528c2ecf20Sopenharmony_ci	u32 phy_id;
23538c2ecf20Sopenharmony_ci	u32 supported_flags;
23548c2ecf20Sopenharmony_ci	u32 supported_bands;
23558c2ecf20Sopenharmony_ci	u32 ampdu_density;
23568c2ecf20Sopenharmony_ci	u32 max_bw_supported_2g;
23578c2ecf20Sopenharmony_ci	u32 ht_cap_info_2g;
23588c2ecf20Sopenharmony_ci	u32 vht_cap_info_2g;
23598c2ecf20Sopenharmony_ci	u32 vht_supp_mcs_2g;
23608c2ecf20Sopenharmony_ci	u32 he_cap_info_2g;
23618c2ecf20Sopenharmony_ci	u32 he_supp_mcs_2g;
23628c2ecf20Sopenharmony_ci	u32 tx_chain_mask_2g;
23638c2ecf20Sopenharmony_ci	u32 rx_chain_mask_2g;
23648c2ecf20Sopenharmony_ci	u32 max_bw_supported_5g;
23658c2ecf20Sopenharmony_ci	u32 ht_cap_info_5g;
23668c2ecf20Sopenharmony_ci	u32 vht_cap_info_5g;
23678c2ecf20Sopenharmony_ci	u32 vht_supp_mcs_5g;
23688c2ecf20Sopenharmony_ci	u32 he_cap_info_5g;
23698c2ecf20Sopenharmony_ci	u32 he_supp_mcs_5g;
23708c2ecf20Sopenharmony_ci	u32 tx_chain_mask_5g;
23718c2ecf20Sopenharmony_ci	u32 rx_chain_mask_5g;
23728c2ecf20Sopenharmony_ci	u32 he_cap_phy_info_2g[WMI_MAX_HECAP_PHY_SIZE];
23738c2ecf20Sopenharmony_ci	u32 he_cap_phy_info_5g[WMI_MAX_HECAP_PHY_SIZE];
23748c2ecf20Sopenharmony_ci	struct wmi_ppe_threshold he_ppet2g;
23758c2ecf20Sopenharmony_ci	struct wmi_ppe_threshold he_ppet5g;
23768c2ecf20Sopenharmony_ci	u32 chainmask_table_id;
23778c2ecf20Sopenharmony_ci	u32 lmac_id;
23788c2ecf20Sopenharmony_ci	u32 he_cap_info_2g_ext;
23798c2ecf20Sopenharmony_ci	u32 he_cap_info_5g_ext;
23808c2ecf20Sopenharmony_ci	u32 he_cap_info_internal;
23818c2ecf20Sopenharmony_ci} __packed;
23828c2ecf20Sopenharmony_ci
23838c2ecf20Sopenharmony_cistruct wmi_hal_reg_capabilities_ext {
23848c2ecf20Sopenharmony_ci	u32 tlv_header;
23858c2ecf20Sopenharmony_ci	u32 phy_id;
23868c2ecf20Sopenharmony_ci	u32 eeprom_reg_domain;
23878c2ecf20Sopenharmony_ci	u32 eeprom_reg_domain_ext;
23888c2ecf20Sopenharmony_ci	u32 regcap1;
23898c2ecf20Sopenharmony_ci	u32 regcap2;
23908c2ecf20Sopenharmony_ci	u32 wireless_modes;
23918c2ecf20Sopenharmony_ci	u32 low_2ghz_chan;
23928c2ecf20Sopenharmony_ci	u32 high_2ghz_chan;
23938c2ecf20Sopenharmony_ci	u32 low_5ghz_chan;
23948c2ecf20Sopenharmony_ci	u32 high_5ghz_chan;
23958c2ecf20Sopenharmony_ci} __packed;
23968c2ecf20Sopenharmony_ci
23978c2ecf20Sopenharmony_cistruct wmi_soc_hal_reg_capabilities {
23988c2ecf20Sopenharmony_ci	u32 num_phy;
23998c2ecf20Sopenharmony_ci} __packed;
24008c2ecf20Sopenharmony_ci
24018c2ecf20Sopenharmony_ci/* 2 word representation of MAC addr */
24028c2ecf20Sopenharmony_cistruct wmi_mac_addr {
24038c2ecf20Sopenharmony_ci	union {
24048c2ecf20Sopenharmony_ci		u8 addr[6];
24058c2ecf20Sopenharmony_ci		struct {
24068c2ecf20Sopenharmony_ci			u32 word0;
24078c2ecf20Sopenharmony_ci			u32 word1;
24088c2ecf20Sopenharmony_ci		} __packed;
24098c2ecf20Sopenharmony_ci	} __packed;
24108c2ecf20Sopenharmony_ci} __packed;
24118c2ecf20Sopenharmony_ci
24128c2ecf20Sopenharmony_cistruct wmi_dma_ring_capabilities {
24138c2ecf20Sopenharmony_ci	u32 tlv_header;
24148c2ecf20Sopenharmony_ci	u32 pdev_id;
24158c2ecf20Sopenharmony_ci	u32 module_id;
24168c2ecf20Sopenharmony_ci	u32 min_elem;
24178c2ecf20Sopenharmony_ci	u32 min_buf_sz;
24188c2ecf20Sopenharmony_ci	u32 min_buf_align;
24198c2ecf20Sopenharmony_ci} __packed;
24208c2ecf20Sopenharmony_ci
24218c2ecf20Sopenharmony_cistruct wmi_ready_event_min {
24228c2ecf20Sopenharmony_ci	struct wmi_abi_version fw_abi_vers;
24238c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
24248c2ecf20Sopenharmony_ci	u32 status;
24258c2ecf20Sopenharmony_ci	u32 num_dscp_table;
24268c2ecf20Sopenharmony_ci	u32 num_extra_mac_addr;
24278c2ecf20Sopenharmony_ci	u32 num_total_peers;
24288c2ecf20Sopenharmony_ci	u32 num_extra_peers;
24298c2ecf20Sopenharmony_ci} __packed;
24308c2ecf20Sopenharmony_ci
24318c2ecf20Sopenharmony_cistruct wmi_ready_event {
24328c2ecf20Sopenharmony_ci	struct wmi_ready_event_min ready_event_min;
24338c2ecf20Sopenharmony_ci	u32 max_ast_index;
24348c2ecf20Sopenharmony_ci	u32 pktlog_defs_checksum;
24358c2ecf20Sopenharmony_ci} __packed;
24368c2ecf20Sopenharmony_ci
24378c2ecf20Sopenharmony_cistruct wmi_service_available_event {
24388c2ecf20Sopenharmony_ci	u32 wmi_service_segment_offset;
24398c2ecf20Sopenharmony_ci	u32 wmi_service_segment_bitmap[WMI_SERVICE_SEGMENT_BM_SIZE32];
24408c2ecf20Sopenharmony_ci} __packed;
24418c2ecf20Sopenharmony_ci
24428c2ecf20Sopenharmony_cistruct ath11k_pdev_wmi {
24438c2ecf20Sopenharmony_ci	struct ath11k_wmi_base *wmi_ab;
24448c2ecf20Sopenharmony_ci	enum ath11k_htc_ep_id eid;
24458c2ecf20Sopenharmony_ci	const struct wmi_peer_flags_map *peer_flags;
24468c2ecf20Sopenharmony_ci	u32 rx_decap_mode;
24478c2ecf20Sopenharmony_ci};
24488c2ecf20Sopenharmony_ci
24498c2ecf20Sopenharmony_cistruct vdev_create_params {
24508c2ecf20Sopenharmony_ci	u8 if_id;
24518c2ecf20Sopenharmony_ci	u32 type;
24528c2ecf20Sopenharmony_ci	u32 subtype;
24538c2ecf20Sopenharmony_ci	struct {
24548c2ecf20Sopenharmony_ci		u8 tx;
24558c2ecf20Sopenharmony_ci		u8 rx;
24568c2ecf20Sopenharmony_ci	} chains[NUM_NL80211_BANDS];
24578c2ecf20Sopenharmony_ci	u32 pdev_id;
24588c2ecf20Sopenharmony_ci};
24598c2ecf20Sopenharmony_ci
24608c2ecf20Sopenharmony_cistruct wmi_vdev_create_cmd {
24618c2ecf20Sopenharmony_ci	u32 tlv_header;
24628c2ecf20Sopenharmony_ci	u32 vdev_id;
24638c2ecf20Sopenharmony_ci	u32 vdev_type;
24648c2ecf20Sopenharmony_ci	u32 vdev_subtype;
24658c2ecf20Sopenharmony_ci	struct wmi_mac_addr vdev_macaddr;
24668c2ecf20Sopenharmony_ci	u32 num_cfg_txrx_streams;
24678c2ecf20Sopenharmony_ci	u32 pdev_id;
24688c2ecf20Sopenharmony_ci} __packed;
24698c2ecf20Sopenharmony_ci
24708c2ecf20Sopenharmony_cistruct wmi_vdev_txrx_streams {
24718c2ecf20Sopenharmony_ci	u32 tlv_header;
24728c2ecf20Sopenharmony_ci	u32 band;
24738c2ecf20Sopenharmony_ci	u32 supported_tx_streams;
24748c2ecf20Sopenharmony_ci	u32 supported_rx_streams;
24758c2ecf20Sopenharmony_ci} __packed;
24768c2ecf20Sopenharmony_ci
24778c2ecf20Sopenharmony_cistruct wmi_vdev_delete_cmd {
24788c2ecf20Sopenharmony_ci	u32 tlv_header;
24798c2ecf20Sopenharmony_ci	u32 vdev_id;
24808c2ecf20Sopenharmony_ci} __packed;
24818c2ecf20Sopenharmony_ci
24828c2ecf20Sopenharmony_cistruct wmi_vdev_up_cmd {
24838c2ecf20Sopenharmony_ci	u32 tlv_header;
24848c2ecf20Sopenharmony_ci	u32 vdev_id;
24858c2ecf20Sopenharmony_ci	u32 vdev_assoc_id;
24868c2ecf20Sopenharmony_ci	struct wmi_mac_addr vdev_bssid;
24878c2ecf20Sopenharmony_ci	struct wmi_mac_addr trans_bssid;
24888c2ecf20Sopenharmony_ci	u32 profile_idx;
24898c2ecf20Sopenharmony_ci	u32 profile_num;
24908c2ecf20Sopenharmony_ci} __packed;
24918c2ecf20Sopenharmony_ci
24928c2ecf20Sopenharmony_cistruct wmi_vdev_stop_cmd {
24938c2ecf20Sopenharmony_ci	u32 tlv_header;
24948c2ecf20Sopenharmony_ci	u32 vdev_id;
24958c2ecf20Sopenharmony_ci} __packed;
24968c2ecf20Sopenharmony_ci
24978c2ecf20Sopenharmony_cistruct wmi_vdev_down_cmd {
24988c2ecf20Sopenharmony_ci	u32 tlv_header;
24998c2ecf20Sopenharmony_ci	u32 vdev_id;
25008c2ecf20Sopenharmony_ci} __packed;
25018c2ecf20Sopenharmony_ci
25028c2ecf20Sopenharmony_ci#define WMI_VDEV_START_HIDDEN_SSID  BIT(0)
25038c2ecf20Sopenharmony_ci#define WMI_VDEV_START_PMF_ENABLED  BIT(1)
25048c2ecf20Sopenharmony_ci#define WMI_VDEV_START_LDPC_RX_ENABLED BIT(3)
25058c2ecf20Sopenharmony_ci
25068c2ecf20Sopenharmony_cistruct wmi_ssid {
25078c2ecf20Sopenharmony_ci	u32 ssid_len;
25088c2ecf20Sopenharmony_ci	u32 ssid[8];
25098c2ecf20Sopenharmony_ci} __packed;
25108c2ecf20Sopenharmony_ci
25118c2ecf20Sopenharmony_ci#define ATH11K_VDEV_SETUP_TIMEOUT_HZ (1 * HZ)
25128c2ecf20Sopenharmony_ci
25138c2ecf20Sopenharmony_cistruct wmi_vdev_start_request_cmd {
25148c2ecf20Sopenharmony_ci	u32 tlv_header;
25158c2ecf20Sopenharmony_ci	u32 vdev_id;
25168c2ecf20Sopenharmony_ci	u32 requestor_id;
25178c2ecf20Sopenharmony_ci	u32 beacon_interval;
25188c2ecf20Sopenharmony_ci	u32 dtim_period;
25198c2ecf20Sopenharmony_ci	u32 flags;
25208c2ecf20Sopenharmony_ci	struct wmi_ssid ssid;
25218c2ecf20Sopenharmony_ci	u32 bcn_tx_rate;
25228c2ecf20Sopenharmony_ci	u32 bcn_txpower;
25238c2ecf20Sopenharmony_ci	u32 num_noa_descriptors;
25248c2ecf20Sopenharmony_ci	u32 disable_hw_ack;
25258c2ecf20Sopenharmony_ci	u32 preferred_tx_streams;
25268c2ecf20Sopenharmony_ci	u32 preferred_rx_streams;
25278c2ecf20Sopenharmony_ci	u32 he_ops;
25288c2ecf20Sopenharmony_ci	u32 cac_duration_ms;
25298c2ecf20Sopenharmony_ci	u32 regdomain;
25308c2ecf20Sopenharmony_ci} __packed;
25318c2ecf20Sopenharmony_ci
25328c2ecf20Sopenharmony_ci#define MGMT_TX_DL_FRM_LEN		     64
25338c2ecf20Sopenharmony_ci#define WMI_MAC_MAX_SSID_LENGTH              32
25348c2ecf20Sopenharmony_cistruct mac_ssid {
25358c2ecf20Sopenharmony_ci	u8 length;
25368c2ecf20Sopenharmony_ci	u8 mac_ssid[WMI_MAC_MAX_SSID_LENGTH];
25378c2ecf20Sopenharmony_ci} __packed;
25388c2ecf20Sopenharmony_ci
25398c2ecf20Sopenharmony_cistruct wmi_p2p_noa_descriptor {
25408c2ecf20Sopenharmony_ci	u32 type_count;
25418c2ecf20Sopenharmony_ci	u32 duration;
25428c2ecf20Sopenharmony_ci	u32 interval;
25438c2ecf20Sopenharmony_ci	u32 start_time;
25448c2ecf20Sopenharmony_ci};
25458c2ecf20Sopenharmony_ci
25468c2ecf20Sopenharmony_cistruct channel_param {
25478c2ecf20Sopenharmony_ci	u8 chan_id;
25488c2ecf20Sopenharmony_ci	u8 pwr;
25498c2ecf20Sopenharmony_ci	u32 mhz;
25508c2ecf20Sopenharmony_ci	u32 half_rate:1,
25518c2ecf20Sopenharmony_ci	    quarter_rate:1,
25528c2ecf20Sopenharmony_ci	    dfs_set:1,
25538c2ecf20Sopenharmony_ci	    dfs_set_cfreq2:1,
25548c2ecf20Sopenharmony_ci	    is_chan_passive:1,
25558c2ecf20Sopenharmony_ci	    allow_ht:1,
25568c2ecf20Sopenharmony_ci	    allow_vht:1,
25578c2ecf20Sopenharmony_ci	    allow_he:1,
25588c2ecf20Sopenharmony_ci	    set_agile:1,
25598c2ecf20Sopenharmony_ci	    psc_channel:1;
25608c2ecf20Sopenharmony_ci	u32 phy_mode;
25618c2ecf20Sopenharmony_ci	u32 cfreq1;
25628c2ecf20Sopenharmony_ci	u32 cfreq2;
25638c2ecf20Sopenharmony_ci	char   maxpower;
25648c2ecf20Sopenharmony_ci	char   minpower;
25658c2ecf20Sopenharmony_ci	char   maxregpower;
25668c2ecf20Sopenharmony_ci	u8  antennamax;
25678c2ecf20Sopenharmony_ci	u8  reg_class_id;
25688c2ecf20Sopenharmony_ci} __packed;
25698c2ecf20Sopenharmony_ci
25708c2ecf20Sopenharmony_cienum wmi_phy_mode {
25718c2ecf20Sopenharmony_ci	MODE_11A        = 0,
25728c2ecf20Sopenharmony_ci	MODE_11G        = 1,   /* 11b/g Mode */
25738c2ecf20Sopenharmony_ci	MODE_11B        = 2,   /* 11b Mode */
25748c2ecf20Sopenharmony_ci	MODE_11GONLY    = 3,   /* 11g only Mode */
25758c2ecf20Sopenharmony_ci	MODE_11NA_HT20   = 4,
25768c2ecf20Sopenharmony_ci	MODE_11NG_HT20   = 5,
25778c2ecf20Sopenharmony_ci	MODE_11NA_HT40   = 6,
25788c2ecf20Sopenharmony_ci	MODE_11NG_HT40   = 7,
25798c2ecf20Sopenharmony_ci	MODE_11AC_VHT20 = 8,
25808c2ecf20Sopenharmony_ci	MODE_11AC_VHT40 = 9,
25818c2ecf20Sopenharmony_ci	MODE_11AC_VHT80 = 10,
25828c2ecf20Sopenharmony_ci	MODE_11AC_VHT20_2G = 11,
25838c2ecf20Sopenharmony_ci	MODE_11AC_VHT40_2G = 12,
25848c2ecf20Sopenharmony_ci	MODE_11AC_VHT80_2G = 13,
25858c2ecf20Sopenharmony_ci	MODE_11AC_VHT80_80 = 14,
25868c2ecf20Sopenharmony_ci	MODE_11AC_VHT160 = 15,
25878c2ecf20Sopenharmony_ci	MODE_11AX_HE20 = 16,
25888c2ecf20Sopenharmony_ci	MODE_11AX_HE40 = 17,
25898c2ecf20Sopenharmony_ci	MODE_11AX_HE80 = 18,
25908c2ecf20Sopenharmony_ci	MODE_11AX_HE80_80 = 19,
25918c2ecf20Sopenharmony_ci	MODE_11AX_HE160 = 20,
25928c2ecf20Sopenharmony_ci	MODE_11AX_HE20_2G = 21,
25938c2ecf20Sopenharmony_ci	MODE_11AX_HE40_2G = 22,
25948c2ecf20Sopenharmony_ci	MODE_11AX_HE80_2G = 23,
25958c2ecf20Sopenharmony_ci	MODE_UNKNOWN = 24,
25968c2ecf20Sopenharmony_ci	MODE_MAX = 24
25978c2ecf20Sopenharmony_ci};
25988c2ecf20Sopenharmony_ci
25998c2ecf20Sopenharmony_cistatic inline const char *ath11k_wmi_phymode_str(enum wmi_phy_mode mode)
26008c2ecf20Sopenharmony_ci{
26018c2ecf20Sopenharmony_ci	switch (mode) {
26028c2ecf20Sopenharmony_ci	case MODE_11A:
26038c2ecf20Sopenharmony_ci		return "11a";
26048c2ecf20Sopenharmony_ci	case MODE_11G:
26058c2ecf20Sopenharmony_ci		return "11g";
26068c2ecf20Sopenharmony_ci	case MODE_11B:
26078c2ecf20Sopenharmony_ci		return "11b";
26088c2ecf20Sopenharmony_ci	case MODE_11GONLY:
26098c2ecf20Sopenharmony_ci		return "11gonly";
26108c2ecf20Sopenharmony_ci	case MODE_11NA_HT20:
26118c2ecf20Sopenharmony_ci		return "11na-ht20";
26128c2ecf20Sopenharmony_ci	case MODE_11NG_HT20:
26138c2ecf20Sopenharmony_ci		return "11ng-ht20";
26148c2ecf20Sopenharmony_ci	case MODE_11NA_HT40:
26158c2ecf20Sopenharmony_ci		return "11na-ht40";
26168c2ecf20Sopenharmony_ci	case MODE_11NG_HT40:
26178c2ecf20Sopenharmony_ci		return "11ng-ht40";
26188c2ecf20Sopenharmony_ci	case MODE_11AC_VHT20:
26198c2ecf20Sopenharmony_ci		return "11ac-vht20";
26208c2ecf20Sopenharmony_ci	case MODE_11AC_VHT40:
26218c2ecf20Sopenharmony_ci		return "11ac-vht40";
26228c2ecf20Sopenharmony_ci	case MODE_11AC_VHT80:
26238c2ecf20Sopenharmony_ci		return "11ac-vht80";
26248c2ecf20Sopenharmony_ci	case MODE_11AC_VHT160:
26258c2ecf20Sopenharmony_ci		return "11ac-vht160";
26268c2ecf20Sopenharmony_ci	case MODE_11AC_VHT80_80:
26278c2ecf20Sopenharmony_ci		return "11ac-vht80+80";
26288c2ecf20Sopenharmony_ci	case MODE_11AC_VHT20_2G:
26298c2ecf20Sopenharmony_ci		return "11ac-vht20-2g";
26308c2ecf20Sopenharmony_ci	case MODE_11AC_VHT40_2G:
26318c2ecf20Sopenharmony_ci		return "11ac-vht40-2g";
26328c2ecf20Sopenharmony_ci	case MODE_11AC_VHT80_2G:
26338c2ecf20Sopenharmony_ci		return "11ac-vht80-2g";
26348c2ecf20Sopenharmony_ci	case MODE_11AX_HE20:
26358c2ecf20Sopenharmony_ci		return "11ax-he20";
26368c2ecf20Sopenharmony_ci	case MODE_11AX_HE40:
26378c2ecf20Sopenharmony_ci		return "11ax-he40";
26388c2ecf20Sopenharmony_ci	case MODE_11AX_HE80:
26398c2ecf20Sopenharmony_ci		return "11ax-he80";
26408c2ecf20Sopenharmony_ci	case MODE_11AX_HE80_80:
26418c2ecf20Sopenharmony_ci		return "11ax-he80+80";
26428c2ecf20Sopenharmony_ci	case MODE_11AX_HE160:
26438c2ecf20Sopenharmony_ci		return "11ax-he160";
26448c2ecf20Sopenharmony_ci	case MODE_11AX_HE20_2G:
26458c2ecf20Sopenharmony_ci		return "11ax-he20-2g";
26468c2ecf20Sopenharmony_ci	case MODE_11AX_HE40_2G:
26478c2ecf20Sopenharmony_ci		return "11ax-he40-2g";
26488c2ecf20Sopenharmony_ci	case MODE_11AX_HE80_2G:
26498c2ecf20Sopenharmony_ci		return "11ax-he80-2g";
26508c2ecf20Sopenharmony_ci	case MODE_UNKNOWN:
26518c2ecf20Sopenharmony_ci		/* skip */
26528c2ecf20Sopenharmony_ci		break;
26538c2ecf20Sopenharmony_ci
26548c2ecf20Sopenharmony_ci		/* no default handler to allow compiler to check that the
26558c2ecf20Sopenharmony_ci		 * enum is fully handled
26568c2ecf20Sopenharmony_ci		 */
26578c2ecf20Sopenharmony_ci	}
26588c2ecf20Sopenharmony_ci
26598c2ecf20Sopenharmony_ci	return "<unknown>";
26608c2ecf20Sopenharmony_ci}
26618c2ecf20Sopenharmony_ci
26628c2ecf20Sopenharmony_cistruct wmi_channel_arg {
26638c2ecf20Sopenharmony_ci	u32 freq;
26648c2ecf20Sopenharmony_ci	u32 band_center_freq1;
26658c2ecf20Sopenharmony_ci	u32 band_center_freq2;
26668c2ecf20Sopenharmony_ci	bool passive;
26678c2ecf20Sopenharmony_ci	bool allow_ibss;
26688c2ecf20Sopenharmony_ci	bool allow_ht;
26698c2ecf20Sopenharmony_ci	bool allow_vht;
26708c2ecf20Sopenharmony_ci	bool ht40plus;
26718c2ecf20Sopenharmony_ci	bool chan_radar;
26728c2ecf20Sopenharmony_ci	bool freq2_radar;
26738c2ecf20Sopenharmony_ci	bool allow_he;
26748c2ecf20Sopenharmony_ci	u32 min_power;
26758c2ecf20Sopenharmony_ci	u32 max_power;
26768c2ecf20Sopenharmony_ci	u32 max_reg_power;
26778c2ecf20Sopenharmony_ci	u32 max_antenna_gain;
26788c2ecf20Sopenharmony_ci	enum wmi_phy_mode mode;
26798c2ecf20Sopenharmony_ci};
26808c2ecf20Sopenharmony_ci
26818c2ecf20Sopenharmony_cistruct wmi_vdev_start_req_arg {
26828c2ecf20Sopenharmony_ci	u32 vdev_id;
26838c2ecf20Sopenharmony_ci	struct wmi_channel_arg channel;
26848c2ecf20Sopenharmony_ci	u32 bcn_intval;
26858c2ecf20Sopenharmony_ci	u32 dtim_period;
26868c2ecf20Sopenharmony_ci	u8 *ssid;
26878c2ecf20Sopenharmony_ci	u32 ssid_len;
26888c2ecf20Sopenharmony_ci	u32 bcn_tx_rate;
26898c2ecf20Sopenharmony_ci	u32 bcn_tx_power;
26908c2ecf20Sopenharmony_ci	bool disable_hw_ack;
26918c2ecf20Sopenharmony_ci	bool hidden_ssid;
26928c2ecf20Sopenharmony_ci	bool pmf_enabled;
26938c2ecf20Sopenharmony_ci	u32 he_ops;
26948c2ecf20Sopenharmony_ci	u32 cac_duration_ms;
26958c2ecf20Sopenharmony_ci	u32 regdomain;
26968c2ecf20Sopenharmony_ci	u32 pref_rx_streams;
26978c2ecf20Sopenharmony_ci	u32 pref_tx_streams;
26988c2ecf20Sopenharmony_ci	u32 num_noa_descriptors;
26998c2ecf20Sopenharmony_ci};
27008c2ecf20Sopenharmony_ci
27018c2ecf20Sopenharmony_cistruct peer_create_params {
27028c2ecf20Sopenharmony_ci	const u8 *peer_addr;
27038c2ecf20Sopenharmony_ci	u32 peer_type;
27048c2ecf20Sopenharmony_ci	u32 vdev_id;
27058c2ecf20Sopenharmony_ci};
27068c2ecf20Sopenharmony_ci
27078c2ecf20Sopenharmony_cistruct peer_delete_params {
27088c2ecf20Sopenharmony_ci	u8 vdev_id;
27098c2ecf20Sopenharmony_ci};
27108c2ecf20Sopenharmony_ci
27118c2ecf20Sopenharmony_cistruct peer_flush_params {
27128c2ecf20Sopenharmony_ci	u32 peer_tid_bitmap;
27138c2ecf20Sopenharmony_ci	u8 vdev_id;
27148c2ecf20Sopenharmony_ci};
27158c2ecf20Sopenharmony_ci
27168c2ecf20Sopenharmony_cistruct pdev_set_regdomain_params {
27178c2ecf20Sopenharmony_ci	u16 current_rd_in_use;
27188c2ecf20Sopenharmony_ci	u16 current_rd_2g;
27198c2ecf20Sopenharmony_ci	u16 current_rd_5g;
27208c2ecf20Sopenharmony_ci	u32 ctl_2g;
27218c2ecf20Sopenharmony_ci	u32 ctl_5g;
27228c2ecf20Sopenharmony_ci	u8 dfs_domain;
27238c2ecf20Sopenharmony_ci	u32 pdev_id;
27248c2ecf20Sopenharmony_ci};
27258c2ecf20Sopenharmony_ci
27268c2ecf20Sopenharmony_cistruct rx_reorder_queue_remove_params {
27278c2ecf20Sopenharmony_ci	u8 *peer_macaddr;
27288c2ecf20Sopenharmony_ci	u16 vdev_id;
27298c2ecf20Sopenharmony_ci	u32 peer_tid_bitmap;
27308c2ecf20Sopenharmony_ci};
27318c2ecf20Sopenharmony_ci
27328c2ecf20Sopenharmony_ci#define WMI_HOST_PDEV_ID_SOC 0xFF
27338c2ecf20Sopenharmony_ci#define WMI_HOST_PDEV_ID_0   0
27348c2ecf20Sopenharmony_ci#define WMI_HOST_PDEV_ID_1   1
27358c2ecf20Sopenharmony_ci#define WMI_HOST_PDEV_ID_2   2
27368c2ecf20Sopenharmony_ci
27378c2ecf20Sopenharmony_ci#define WMI_PDEV_ID_SOC         0
27388c2ecf20Sopenharmony_ci#define WMI_PDEV_ID_1ST         1
27398c2ecf20Sopenharmony_ci#define WMI_PDEV_ID_2ND         2
27408c2ecf20Sopenharmony_ci#define WMI_PDEV_ID_3RD         3
27418c2ecf20Sopenharmony_ci
27428c2ecf20Sopenharmony_ci/* Freq units in MHz */
27438c2ecf20Sopenharmony_ci#define REG_RULE_START_FREQ			0x0000ffff
27448c2ecf20Sopenharmony_ci#define REG_RULE_END_FREQ			0xffff0000
27458c2ecf20Sopenharmony_ci#define REG_RULE_FLAGS				0x0000ffff
27468c2ecf20Sopenharmony_ci#define REG_RULE_MAX_BW				0x0000ffff
27478c2ecf20Sopenharmony_ci#define REG_RULE_REG_PWR			0x00ff0000
27488c2ecf20Sopenharmony_ci#define REG_RULE_ANT_GAIN			0xff000000
27498c2ecf20Sopenharmony_ci
27508c2ecf20Sopenharmony_ci#define WMI_VDEV_PARAM_TXBF_SU_TX_BFEE BIT(0)
27518c2ecf20Sopenharmony_ci#define WMI_VDEV_PARAM_TXBF_MU_TX_BFEE BIT(1)
27528c2ecf20Sopenharmony_ci#define WMI_VDEV_PARAM_TXBF_SU_TX_BFER BIT(2)
27538c2ecf20Sopenharmony_ci#define WMI_VDEV_PARAM_TXBF_MU_TX_BFER BIT(3)
27548c2ecf20Sopenharmony_ci
27558c2ecf20Sopenharmony_ci#define HECAP_PHYDWORD_0	0
27568c2ecf20Sopenharmony_ci#define HECAP_PHYDWORD_1	1
27578c2ecf20Sopenharmony_ci#define HECAP_PHYDWORD_2	2
27588c2ecf20Sopenharmony_ci
27598c2ecf20Sopenharmony_ci#define HECAP_PHY_SU_BFER		BIT(31)
27608c2ecf20Sopenharmony_ci#define HECAP_PHY_SU_BFEE		BIT(0)
27618c2ecf20Sopenharmony_ci#define HECAP_PHY_MU_BFER		BIT(1)
27628c2ecf20Sopenharmony_ci#define HECAP_PHY_UL_MUMIMO		BIT(22)
27638c2ecf20Sopenharmony_ci#define HECAP_PHY_UL_MUOFDMA		BIT(23)
27648c2ecf20Sopenharmony_ci
27658c2ecf20Sopenharmony_ci#define HECAP_PHY_SUBFMR_GET(hecap_phy) \
27668c2ecf20Sopenharmony_ci	FIELD_GET(HECAP_PHY_SU_BFER, hecap_phy[HECAP_PHYDWORD_0])
27678c2ecf20Sopenharmony_ci
27688c2ecf20Sopenharmony_ci#define HECAP_PHY_SUBFME_GET(hecap_phy) \
27698c2ecf20Sopenharmony_ci	FIELD_GET(HECAP_PHY_SU_BFEE, hecap_phy[HECAP_PHYDWORD_1])
27708c2ecf20Sopenharmony_ci
27718c2ecf20Sopenharmony_ci#define HECAP_PHY_MUBFMR_GET(hecap_phy) \
27728c2ecf20Sopenharmony_ci	FIELD_GET(HECAP_PHY_MU_BFER, hecap_phy[HECAP_PHYDWORD_1])
27738c2ecf20Sopenharmony_ci
27748c2ecf20Sopenharmony_ci#define HECAP_PHY_ULMUMIMO_GET(hecap_phy) \
27758c2ecf20Sopenharmony_ci	FIELD_GET(HECAP_PHY_UL_MUMIMO, hecap_phy[HECAP_PHYDWORD_0])
27768c2ecf20Sopenharmony_ci
27778c2ecf20Sopenharmony_ci#define HECAP_PHY_ULOFDMA_GET(hecap_phy) \
27788c2ecf20Sopenharmony_ci	FIELD_GET(HECAP_PHY_UL_MUOFDMA, hecap_phy[HECAP_PHYDWORD_0])
27798c2ecf20Sopenharmony_ci
27808c2ecf20Sopenharmony_ci#define HE_MODE_SU_TX_BFEE	BIT(0)
27818c2ecf20Sopenharmony_ci#define HE_MODE_SU_TX_BFER	BIT(1)
27828c2ecf20Sopenharmony_ci#define HE_MODE_MU_TX_BFEE	BIT(2)
27838c2ecf20Sopenharmony_ci#define HE_MODE_MU_TX_BFER	BIT(3)
27848c2ecf20Sopenharmony_ci#define HE_MODE_DL_OFDMA	BIT(4)
27858c2ecf20Sopenharmony_ci#define HE_MODE_UL_OFDMA	BIT(5)
27868c2ecf20Sopenharmony_ci#define HE_MODE_UL_MUMIMO	BIT(6)
27878c2ecf20Sopenharmony_ci
27888c2ecf20Sopenharmony_ci#define HE_DL_MUOFDMA_ENABLE	1
27898c2ecf20Sopenharmony_ci#define HE_UL_MUOFDMA_ENABLE	1
27908c2ecf20Sopenharmony_ci#define HE_DL_MUMIMO_ENABLE	1
27918c2ecf20Sopenharmony_ci#define HE_MU_BFEE_ENABLE	1
27928c2ecf20Sopenharmony_ci#define HE_SU_BFEE_ENABLE	1
27938c2ecf20Sopenharmony_ci
27948c2ecf20Sopenharmony_ci#define HE_VHT_SOUNDING_MODE_ENABLE		1
27958c2ecf20Sopenharmony_ci#define HE_SU_MU_SOUNDING_MODE_ENABLE		1
27968c2ecf20Sopenharmony_ci#define HE_TRIG_NONTRIG_SOUNDING_MODE_ENABLE	1
27978c2ecf20Sopenharmony_ci
27988c2ecf20Sopenharmony_ci/* HE or VHT Sounding */
27998c2ecf20Sopenharmony_ci#define HE_VHT_SOUNDING_MODE		BIT(0)
28008c2ecf20Sopenharmony_ci/* SU or MU Sounding */
28018c2ecf20Sopenharmony_ci#define HE_SU_MU_SOUNDING_MODE		BIT(2)
28028c2ecf20Sopenharmony_ci/* Trig or Non-Trig Sounding */
28038c2ecf20Sopenharmony_ci#define HE_TRIG_NONTRIG_SOUNDING_MODE	BIT(3)
28048c2ecf20Sopenharmony_ci
28058c2ecf20Sopenharmony_ci#define WMI_TXBF_STS_CAP_OFFSET_LSB	4
28068c2ecf20Sopenharmony_ci#define WMI_TXBF_STS_CAP_OFFSET_MASK	0x70
28078c2ecf20Sopenharmony_ci#define WMI_BF_SOUND_DIM_OFFSET_LSB	8
28088c2ecf20Sopenharmony_ci#define WMI_BF_SOUND_DIM_OFFSET_MASK	0x700
28098c2ecf20Sopenharmony_ci
28108c2ecf20Sopenharmony_cistruct pdev_params {
28118c2ecf20Sopenharmony_ci	u32 param_id;
28128c2ecf20Sopenharmony_ci	u32 param_value;
28138c2ecf20Sopenharmony_ci};
28148c2ecf20Sopenharmony_ci
28158c2ecf20Sopenharmony_cienum wmi_peer_type {
28168c2ecf20Sopenharmony_ci	WMI_PEER_TYPE_DEFAULT = 0,
28178c2ecf20Sopenharmony_ci	WMI_PEER_TYPE_BSS = 1,
28188c2ecf20Sopenharmony_ci	WMI_PEER_TYPE_TDLS = 2,
28198c2ecf20Sopenharmony_ci};
28208c2ecf20Sopenharmony_ci
28218c2ecf20Sopenharmony_cistruct wmi_peer_create_cmd {
28228c2ecf20Sopenharmony_ci	u32 tlv_header;
28238c2ecf20Sopenharmony_ci	u32 vdev_id;
28248c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
28258c2ecf20Sopenharmony_ci	u32 peer_type;
28268c2ecf20Sopenharmony_ci} __packed;
28278c2ecf20Sopenharmony_ci
28288c2ecf20Sopenharmony_cistruct wmi_peer_delete_cmd {
28298c2ecf20Sopenharmony_ci	u32 tlv_header;
28308c2ecf20Sopenharmony_ci	u32 vdev_id;
28318c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
28328c2ecf20Sopenharmony_ci} __packed;
28338c2ecf20Sopenharmony_ci
28348c2ecf20Sopenharmony_cistruct wmi_peer_reorder_queue_setup_cmd {
28358c2ecf20Sopenharmony_ci	u32 tlv_header;
28368c2ecf20Sopenharmony_ci	u32 vdev_id;
28378c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
28388c2ecf20Sopenharmony_ci	u32 tid;
28398c2ecf20Sopenharmony_ci	u32 queue_ptr_lo;
28408c2ecf20Sopenharmony_ci	u32 queue_ptr_hi;
28418c2ecf20Sopenharmony_ci	u32 queue_no;
28428c2ecf20Sopenharmony_ci	u32 ba_window_size_valid;
28438c2ecf20Sopenharmony_ci	u32 ba_window_size;
28448c2ecf20Sopenharmony_ci} __packed;
28458c2ecf20Sopenharmony_ci
28468c2ecf20Sopenharmony_cistruct wmi_peer_reorder_queue_remove_cmd {
28478c2ecf20Sopenharmony_ci	u32 tlv_header;
28488c2ecf20Sopenharmony_ci	u32 vdev_id;
28498c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
28508c2ecf20Sopenharmony_ci	u32 tid_mask;
28518c2ecf20Sopenharmony_ci} __packed;
28528c2ecf20Sopenharmony_ci
28538c2ecf20Sopenharmony_cistruct gpio_config_params {
28548c2ecf20Sopenharmony_ci	u32 gpio_num;
28558c2ecf20Sopenharmony_ci	u32 input;
28568c2ecf20Sopenharmony_ci	u32 pull_type;
28578c2ecf20Sopenharmony_ci	u32 intr_mode;
28588c2ecf20Sopenharmony_ci};
28598c2ecf20Sopenharmony_ci
28608c2ecf20Sopenharmony_cienum wmi_gpio_type {
28618c2ecf20Sopenharmony_ci	WMI_GPIO_PULL_NONE,
28628c2ecf20Sopenharmony_ci	WMI_GPIO_PULL_UP,
28638c2ecf20Sopenharmony_ci	WMI_GPIO_PULL_DOWN
28648c2ecf20Sopenharmony_ci};
28658c2ecf20Sopenharmony_ci
28668c2ecf20Sopenharmony_cienum wmi_gpio_intr_type {
28678c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_DISABLE,
28688c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_RISING_EDGE,
28698c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_FALLING_EDGE,
28708c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_BOTH_EDGE,
28718c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_LEVEL_LOW,
28728c2ecf20Sopenharmony_ci	WMI_GPIO_INTTYPE_LEVEL_HIGH
28738c2ecf20Sopenharmony_ci};
28748c2ecf20Sopenharmony_ci
28758c2ecf20Sopenharmony_cienum wmi_bss_chan_info_req_type {
28768c2ecf20Sopenharmony_ci	WMI_BSS_SURVEY_REQ_TYPE_READ = 1,
28778c2ecf20Sopenharmony_ci	WMI_BSS_SURVEY_REQ_TYPE_READ_CLEAR,
28788c2ecf20Sopenharmony_ci};
28798c2ecf20Sopenharmony_ci
28808c2ecf20Sopenharmony_cistruct wmi_gpio_config_cmd_param {
28818c2ecf20Sopenharmony_ci	u32 tlv_header;
28828c2ecf20Sopenharmony_ci	u32 gpio_num;
28838c2ecf20Sopenharmony_ci	u32 input;
28848c2ecf20Sopenharmony_ci	u32 pull_type;
28858c2ecf20Sopenharmony_ci	u32 intr_mode;
28868c2ecf20Sopenharmony_ci};
28878c2ecf20Sopenharmony_ci
28888c2ecf20Sopenharmony_cistruct gpio_output_params {
28898c2ecf20Sopenharmony_ci	u32 gpio_num;
28908c2ecf20Sopenharmony_ci	u32 set;
28918c2ecf20Sopenharmony_ci};
28928c2ecf20Sopenharmony_ci
28938c2ecf20Sopenharmony_cistruct wmi_gpio_output_cmd_param {
28948c2ecf20Sopenharmony_ci	u32 tlv_header;
28958c2ecf20Sopenharmony_ci	u32 gpio_num;
28968c2ecf20Sopenharmony_ci	u32 set;
28978c2ecf20Sopenharmony_ci};
28988c2ecf20Sopenharmony_ci
28998c2ecf20Sopenharmony_cistruct set_fwtest_params {
29008c2ecf20Sopenharmony_ci	u32 arg;
29018c2ecf20Sopenharmony_ci	u32 value;
29028c2ecf20Sopenharmony_ci};
29038c2ecf20Sopenharmony_ci
29048c2ecf20Sopenharmony_cistruct wmi_fwtest_set_param_cmd_param {
29058c2ecf20Sopenharmony_ci	u32 tlv_header;
29068c2ecf20Sopenharmony_ci	u32 param_id;
29078c2ecf20Sopenharmony_ci	u32 param_value;
29088c2ecf20Sopenharmony_ci};
29098c2ecf20Sopenharmony_ci
29108c2ecf20Sopenharmony_cistruct wmi_pdev_set_param_cmd {
29118c2ecf20Sopenharmony_ci	u32 tlv_header;
29128c2ecf20Sopenharmony_ci	u32 pdev_id;
29138c2ecf20Sopenharmony_ci	u32 param_id;
29148c2ecf20Sopenharmony_ci	u32 param_value;
29158c2ecf20Sopenharmony_ci} __packed;
29168c2ecf20Sopenharmony_ci
29178c2ecf20Sopenharmony_cistruct wmi_pdev_set_ps_mode_cmd {
29188c2ecf20Sopenharmony_ci	u32 tlv_header;
29198c2ecf20Sopenharmony_ci	u32 vdev_id;
29208c2ecf20Sopenharmony_ci	u32 sta_ps_mode;
29218c2ecf20Sopenharmony_ci} __packed;
29228c2ecf20Sopenharmony_ci
29238c2ecf20Sopenharmony_cistruct wmi_pdev_suspend_cmd {
29248c2ecf20Sopenharmony_ci	u32 tlv_header;
29258c2ecf20Sopenharmony_ci	u32 pdev_id;
29268c2ecf20Sopenharmony_ci	u32 suspend_opt;
29278c2ecf20Sopenharmony_ci} __packed;
29288c2ecf20Sopenharmony_ci
29298c2ecf20Sopenharmony_cistruct wmi_pdev_resume_cmd {
29308c2ecf20Sopenharmony_ci	u32 tlv_header;
29318c2ecf20Sopenharmony_ci	u32 pdev_id;
29328c2ecf20Sopenharmony_ci} __packed;
29338c2ecf20Sopenharmony_ci
29348c2ecf20Sopenharmony_cistruct wmi_pdev_bss_chan_info_req_cmd {
29358c2ecf20Sopenharmony_ci	u32 tlv_header;
29368c2ecf20Sopenharmony_ci	/* ref wmi_bss_chan_info_req_type */
29378c2ecf20Sopenharmony_ci	u32 req_type;
29388c2ecf20Sopenharmony_ci	u32 pdev_id;
29398c2ecf20Sopenharmony_ci} __packed;
29408c2ecf20Sopenharmony_ci
29418c2ecf20Sopenharmony_cistruct wmi_ap_ps_peer_cmd {
29428c2ecf20Sopenharmony_ci	u32 tlv_header;
29438c2ecf20Sopenharmony_ci	u32 vdev_id;
29448c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
29458c2ecf20Sopenharmony_ci	u32 param;
29468c2ecf20Sopenharmony_ci	u32 value;
29478c2ecf20Sopenharmony_ci} __packed;
29488c2ecf20Sopenharmony_ci
29498c2ecf20Sopenharmony_cistruct wmi_sta_powersave_param_cmd {
29508c2ecf20Sopenharmony_ci	u32 tlv_header;
29518c2ecf20Sopenharmony_ci	u32 vdev_id;
29528c2ecf20Sopenharmony_ci	u32 param;
29538c2ecf20Sopenharmony_ci	u32 value;
29548c2ecf20Sopenharmony_ci} __packed;
29558c2ecf20Sopenharmony_ci
29568c2ecf20Sopenharmony_cistruct wmi_pdev_set_regdomain_cmd {
29578c2ecf20Sopenharmony_ci	u32 tlv_header;
29588c2ecf20Sopenharmony_ci	u32 pdev_id;
29598c2ecf20Sopenharmony_ci	u32 reg_domain;
29608c2ecf20Sopenharmony_ci	u32 reg_domain_2g;
29618c2ecf20Sopenharmony_ci	u32 reg_domain_5g;
29628c2ecf20Sopenharmony_ci	u32 conformance_test_limit_2g;
29638c2ecf20Sopenharmony_ci	u32 conformance_test_limit_5g;
29648c2ecf20Sopenharmony_ci	u32 dfs_domain;
29658c2ecf20Sopenharmony_ci} __packed;
29668c2ecf20Sopenharmony_ci
29678c2ecf20Sopenharmony_cistruct wmi_peer_set_param_cmd {
29688c2ecf20Sopenharmony_ci	u32 tlv_header;
29698c2ecf20Sopenharmony_ci	u32 vdev_id;
29708c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
29718c2ecf20Sopenharmony_ci	u32 param_id;
29728c2ecf20Sopenharmony_ci	u32 param_value;
29738c2ecf20Sopenharmony_ci} __packed;
29748c2ecf20Sopenharmony_ci
29758c2ecf20Sopenharmony_cistruct wmi_peer_flush_tids_cmd {
29768c2ecf20Sopenharmony_ci	u32 tlv_header;
29778c2ecf20Sopenharmony_ci	u32 vdev_id;
29788c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
29798c2ecf20Sopenharmony_ci	u32 peer_tid_bitmap;
29808c2ecf20Sopenharmony_ci} __packed;
29818c2ecf20Sopenharmony_ci
29828c2ecf20Sopenharmony_cistruct wmi_dfs_phyerr_offload_cmd {
29838c2ecf20Sopenharmony_ci	u32 tlv_header;
29848c2ecf20Sopenharmony_ci	u32 pdev_id;
29858c2ecf20Sopenharmony_ci} __packed;
29868c2ecf20Sopenharmony_ci
29878c2ecf20Sopenharmony_cistruct wmi_bcn_offload_ctrl_cmd {
29888c2ecf20Sopenharmony_ci	u32 tlv_header;
29898c2ecf20Sopenharmony_ci	u32 vdev_id;
29908c2ecf20Sopenharmony_ci	u32 bcn_ctrl_op;
29918c2ecf20Sopenharmony_ci} __packed;
29928c2ecf20Sopenharmony_ci
29938c2ecf20Sopenharmony_cienum scan_dwelltime_adaptive_mode {
29948c2ecf20Sopenharmony_ci	SCAN_DWELL_MODE_DEFAULT = 0,
29958c2ecf20Sopenharmony_ci	SCAN_DWELL_MODE_CONSERVATIVE = 1,
29968c2ecf20Sopenharmony_ci	SCAN_DWELL_MODE_MODERATE = 2,
29978c2ecf20Sopenharmony_ci	SCAN_DWELL_MODE_AGGRESSIVE = 3,
29988c2ecf20Sopenharmony_ci	SCAN_DWELL_MODE_STATIC = 4
29998c2ecf20Sopenharmony_ci};
30008c2ecf20Sopenharmony_ci
30018c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_NUM_SSID          10
30028c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_NUM_BSSID         10
30038c2ecf20Sopenharmony_ci#define WLAN_SCAN_MAX_NUM_CHANNELS      40
30048c2ecf20Sopenharmony_ci
30058c2ecf20Sopenharmony_ci#define WLAN_SSID_MAX_LEN 32
30068c2ecf20Sopenharmony_ci
30078c2ecf20Sopenharmony_cistruct element_info {
30088c2ecf20Sopenharmony_ci	u32 len;
30098c2ecf20Sopenharmony_ci	u8 *ptr;
30108c2ecf20Sopenharmony_ci};
30118c2ecf20Sopenharmony_ci
30128c2ecf20Sopenharmony_cistruct wlan_ssid {
30138c2ecf20Sopenharmony_ci	u8 length;
30148c2ecf20Sopenharmony_ci	u8 ssid[WLAN_SSID_MAX_LEN];
30158c2ecf20Sopenharmony_ci};
30168c2ecf20Sopenharmony_ci
30178c2ecf20Sopenharmony_ci#define WMI_IE_BITMAP_SIZE             8
30188c2ecf20Sopenharmony_ci
30198c2ecf20Sopenharmony_ci#define WMI_SCAN_MAX_NUM_SSID                0x0A
30208c2ecf20Sopenharmony_ci/* prefix used by scan requestor ids on the host */
30218c2ecf20Sopenharmony_ci#define WMI_HOST_SCAN_REQUESTOR_ID_PREFIX 0xA000
30228c2ecf20Sopenharmony_ci
30238c2ecf20Sopenharmony_ci/* prefix used by scan request ids generated on the host */
30248c2ecf20Sopenharmony_ci/* host cycles through the lower 12 bits to generate ids */
30258c2ecf20Sopenharmony_ci#define WMI_HOST_SCAN_REQ_ID_PREFIX 0xA000
30268c2ecf20Sopenharmony_ci
30278c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_SSID    16
30288c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_BSSID   4
30298c2ecf20Sopenharmony_ci#define WLAN_SCAN_PARAMS_MAX_IE_LEN  256
30308c2ecf20Sopenharmony_ci
30318c2ecf20Sopenharmony_ci/* Values lower than this may be refused by some firmware revisions with a scan
30328c2ecf20Sopenharmony_ci * completion with a timedout reason.
30338c2ecf20Sopenharmony_ci */
30348c2ecf20Sopenharmony_ci#define WMI_SCAN_CHAN_MIN_TIME_MSEC 40
30358c2ecf20Sopenharmony_ci
30368c2ecf20Sopenharmony_ci/* Scan priority numbers must be sequential, starting with 0 */
30378c2ecf20Sopenharmony_cienum wmi_scan_priority {
30388c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_VERY_LOW = 0,
30398c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_LOW,
30408c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_MEDIUM,
30418c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_HIGH,
30428c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_VERY_HIGH,
30438c2ecf20Sopenharmony_ci	WMI_SCAN_PRIORITY_COUNT   /* number of priorities supported */
30448c2ecf20Sopenharmony_ci};
30458c2ecf20Sopenharmony_ci
30468c2ecf20Sopenharmony_cienum wmi_scan_event_type {
30478c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_STARTED              = BIT(0),
30488c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_COMPLETED            = BIT(1),
30498c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_BSS_CHANNEL          = BIT(2),
30508c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_FOREIGN_CHAN         = BIT(3),
30518c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_DEQUEUED             = BIT(4),
30528c2ecf20Sopenharmony_ci	/* possibly by high-prio scan */
30538c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_PREEMPTED            = BIT(5),
30548c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_START_FAILED         = BIT(6),
30558c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_RESTARTED            = BIT(7),
30568c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_FOREIGN_CHAN_EXIT    = BIT(8),
30578c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_SUSPENDED            = BIT(9),
30588c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_RESUMED              = BIT(10),
30598c2ecf20Sopenharmony_ci	WMI_SCAN_EVENT_MAX                  = BIT(15),
30608c2ecf20Sopenharmony_ci};
30618c2ecf20Sopenharmony_ci
30628c2ecf20Sopenharmony_cienum wmi_scan_completion_reason {
30638c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_COMPLETED,
30648c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_CANCELLED,
30658c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_PREEMPTED,
30668c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_TIMEDOUT,
30678c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_INTERNAL_FAILURE,
30688c2ecf20Sopenharmony_ci	WMI_SCAN_REASON_MAX,
30698c2ecf20Sopenharmony_ci};
30708c2ecf20Sopenharmony_ci
30718c2ecf20Sopenharmony_cistruct  wmi_start_scan_cmd {
30728c2ecf20Sopenharmony_ci	u32 tlv_header;
30738c2ecf20Sopenharmony_ci	u32 scan_id;
30748c2ecf20Sopenharmony_ci	u32 scan_req_id;
30758c2ecf20Sopenharmony_ci	u32 vdev_id;
30768c2ecf20Sopenharmony_ci	u32 scan_priority;
30778c2ecf20Sopenharmony_ci	u32 notify_scan_events;
30788c2ecf20Sopenharmony_ci	u32 dwell_time_active;
30798c2ecf20Sopenharmony_ci	u32 dwell_time_passive;
30808c2ecf20Sopenharmony_ci	u32 min_rest_time;
30818c2ecf20Sopenharmony_ci	u32 max_rest_time;
30828c2ecf20Sopenharmony_ci	u32 repeat_probe_time;
30838c2ecf20Sopenharmony_ci	u32 probe_spacing_time;
30848c2ecf20Sopenharmony_ci	u32 idle_time;
30858c2ecf20Sopenharmony_ci	u32 max_scan_time;
30868c2ecf20Sopenharmony_ci	u32 probe_delay;
30878c2ecf20Sopenharmony_ci	u32 scan_ctrl_flags;
30888c2ecf20Sopenharmony_ci	u32 burst_duration;
30898c2ecf20Sopenharmony_ci	u32 num_chan;
30908c2ecf20Sopenharmony_ci	u32 num_bssid;
30918c2ecf20Sopenharmony_ci	u32 num_ssids;
30928c2ecf20Sopenharmony_ci	u32 ie_len;
30938c2ecf20Sopenharmony_ci	u32 n_probes;
30948c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_addr;
30958c2ecf20Sopenharmony_ci	struct wmi_mac_addr mac_mask;
30968c2ecf20Sopenharmony_ci	u32 ie_bitmap[WMI_IE_BITMAP_SIZE];
30978c2ecf20Sopenharmony_ci	u32 num_vendor_oui;
30988c2ecf20Sopenharmony_ci	u32 scan_ctrl_flags_ext;
30998c2ecf20Sopenharmony_ci	u32 dwell_time_active_2g;
31008c2ecf20Sopenharmony_ci	u32 dwell_time_active_6g;
31018c2ecf20Sopenharmony_ci	u32 dwell_time_passive_6g;
31028c2ecf20Sopenharmony_ci	u32 scan_start_offset;
31038c2ecf20Sopenharmony_ci} __packed;
31048c2ecf20Sopenharmony_ci
31058c2ecf20Sopenharmony_ci#define WMI_SCAN_FLAG_PASSIVE        0x1
31068c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_BCAST_PROBE_REQ 0x2
31078c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_CCK_RATES       0x4
31088c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_OFDM_RATES      0x8
31098c2ecf20Sopenharmony_ci#define WMI_SCAN_CHAN_STAT_EVENT     0x10
31108c2ecf20Sopenharmony_ci#define WMI_SCAN_FILTER_PROBE_REQ    0x20
31118c2ecf20Sopenharmony_ci#define WMI_SCAN_BYPASS_DFS_CHN      0x40
31128c2ecf20Sopenharmony_ci#define WMI_SCAN_CONTINUE_ON_ERROR   0x80
31138c2ecf20Sopenharmony_ci#define WMI_SCAN_FILTER_PROMISCUOS   0x100
31148c2ecf20Sopenharmony_ci#define WMI_SCAN_FLAG_FORCE_ACTIVE_ON_DFS 0x200
31158c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_TPC_IE_IN_PROBE_REQ  0x400
31168c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_DS_IE_IN_PROBE_REQ   0x800
31178c2ecf20Sopenharmony_ci#define WMI_SCAN_ADD_SPOOF_MAC_IN_PROBE_REQ   0x1000
31188c2ecf20Sopenharmony_ci#define WMI_SCAN_OFFCHAN_MGMT_TX    0x2000
31198c2ecf20Sopenharmony_ci#define WMI_SCAN_OFFCHAN_DATA_TX    0x4000
31208c2ecf20Sopenharmony_ci#define WMI_SCAN_CAPTURE_PHY_ERROR  0x8000
31218c2ecf20Sopenharmony_ci#define WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN 0x10000
31228c2ecf20Sopenharmony_ci#define WMI_SCAN_FLAG_HALF_RATE_SUPPORT      0x20000
31238c2ecf20Sopenharmony_ci#define WMI_SCAN_FLAG_QUARTER_RATE_SUPPORT   0x40000
31248c2ecf20Sopenharmony_ci#define WMI_SCAN_RANDOM_SEQ_NO_IN_PROBE_REQ 0x80000
31258c2ecf20Sopenharmony_ci#define WMI_SCAN_ENABLE_IE_WHTELIST_IN_PROBE_REQ 0x100000
31268c2ecf20Sopenharmony_ci
31278c2ecf20Sopenharmony_ci#define WMI_SCAN_DWELL_MODE_MASK 0x00E00000
31288c2ecf20Sopenharmony_ci#define WMI_SCAN_DWELL_MODE_SHIFT        21
31298c2ecf20Sopenharmony_ci
31308c2ecf20Sopenharmony_cienum {
31318c2ecf20Sopenharmony_ci	WMI_SCAN_DWELL_MODE_DEFAULT      = 0,
31328c2ecf20Sopenharmony_ci	WMI_SCAN_DWELL_MODE_CONSERVATIVE = 1,
31338c2ecf20Sopenharmony_ci	WMI_SCAN_DWELL_MODE_MODERATE     = 2,
31348c2ecf20Sopenharmony_ci	WMI_SCAN_DWELL_MODE_AGGRESSIVE   = 3,
31358c2ecf20Sopenharmony_ci	WMI_SCAN_DWELL_MODE_STATIC       = 4,
31368c2ecf20Sopenharmony_ci};
31378c2ecf20Sopenharmony_ci
31388c2ecf20Sopenharmony_ci#define WMI_SCAN_SET_DWELL_MODE(flag, mode) \
31398c2ecf20Sopenharmony_ci	((flag) |= (((mode) << WMI_SCAN_DWELL_MODE_SHIFT) & \
31408c2ecf20Sopenharmony_ci		    WMI_SCAN_DWELL_MODE_MASK))
31418c2ecf20Sopenharmony_ci
31428c2ecf20Sopenharmony_cistruct hint_short_ssid {
31438c2ecf20Sopenharmony_ci	u32 freq_flags;
31448c2ecf20Sopenharmony_ci	u32 short_ssid;
31458c2ecf20Sopenharmony_ci};
31468c2ecf20Sopenharmony_ci
31478c2ecf20Sopenharmony_cistruct hint_bssid {
31488c2ecf20Sopenharmony_ci	u32 freq_flags;
31498c2ecf20Sopenharmony_ci	struct wmi_mac_addr bssid;
31508c2ecf20Sopenharmony_ci};
31518c2ecf20Sopenharmony_ci
31528c2ecf20Sopenharmony_cistruct scan_req_params {
31538c2ecf20Sopenharmony_ci	u32 scan_id;
31548c2ecf20Sopenharmony_ci	u32 scan_req_id;
31558c2ecf20Sopenharmony_ci	u32 vdev_id;
31568c2ecf20Sopenharmony_ci	u32 pdev_id;
31578c2ecf20Sopenharmony_ci	enum wmi_scan_priority scan_priority;
31588c2ecf20Sopenharmony_ci	union {
31598c2ecf20Sopenharmony_ci		struct {
31608c2ecf20Sopenharmony_ci			u32 scan_ev_started:1,
31618c2ecf20Sopenharmony_ci			    scan_ev_completed:1,
31628c2ecf20Sopenharmony_ci			    scan_ev_bss_chan:1,
31638c2ecf20Sopenharmony_ci			    scan_ev_foreign_chan:1,
31648c2ecf20Sopenharmony_ci			    scan_ev_dequeued:1,
31658c2ecf20Sopenharmony_ci			    scan_ev_preempted:1,
31668c2ecf20Sopenharmony_ci			    scan_ev_start_failed:1,
31678c2ecf20Sopenharmony_ci			    scan_ev_restarted:1,
31688c2ecf20Sopenharmony_ci			    scan_ev_foreign_chn_exit:1,
31698c2ecf20Sopenharmony_ci			    scan_ev_invalid:1,
31708c2ecf20Sopenharmony_ci			    scan_ev_gpio_timeout:1,
31718c2ecf20Sopenharmony_ci			    scan_ev_suspended:1,
31728c2ecf20Sopenharmony_ci			    scan_ev_resumed:1;
31738c2ecf20Sopenharmony_ci		};
31748c2ecf20Sopenharmony_ci		u32 scan_events;
31758c2ecf20Sopenharmony_ci	};
31768c2ecf20Sopenharmony_ci	u32 dwell_time_active;
31778c2ecf20Sopenharmony_ci	u32 dwell_time_active_2g;
31788c2ecf20Sopenharmony_ci	u32 dwell_time_passive;
31798c2ecf20Sopenharmony_ci	u32 dwell_time_active_6g;
31808c2ecf20Sopenharmony_ci	u32 dwell_time_passive_6g;
31818c2ecf20Sopenharmony_ci	u32 min_rest_time;
31828c2ecf20Sopenharmony_ci	u32 max_rest_time;
31838c2ecf20Sopenharmony_ci	u32 repeat_probe_time;
31848c2ecf20Sopenharmony_ci	u32 probe_spacing_time;
31858c2ecf20Sopenharmony_ci	u32 idle_time;
31868c2ecf20Sopenharmony_ci	u32 max_scan_time;
31878c2ecf20Sopenharmony_ci	u32 probe_delay;
31888c2ecf20Sopenharmony_ci	union {
31898c2ecf20Sopenharmony_ci		struct {
31908c2ecf20Sopenharmony_ci			u32 scan_f_passive:1,
31918c2ecf20Sopenharmony_ci			    scan_f_bcast_probe:1,
31928c2ecf20Sopenharmony_ci			    scan_f_cck_rates:1,
31938c2ecf20Sopenharmony_ci			    scan_f_ofdm_rates:1,
31948c2ecf20Sopenharmony_ci			    scan_f_chan_stat_evnt:1,
31958c2ecf20Sopenharmony_ci			    scan_f_filter_prb_req:1,
31968c2ecf20Sopenharmony_ci			    scan_f_bypass_dfs_chn:1,
31978c2ecf20Sopenharmony_ci			    scan_f_continue_on_err:1,
31988c2ecf20Sopenharmony_ci			    scan_f_offchan_mgmt_tx:1,
31998c2ecf20Sopenharmony_ci			    scan_f_offchan_data_tx:1,
32008c2ecf20Sopenharmony_ci			    scan_f_promisc_mode:1,
32018c2ecf20Sopenharmony_ci			    scan_f_capture_phy_err:1,
32028c2ecf20Sopenharmony_ci			    scan_f_strict_passive_pch:1,
32038c2ecf20Sopenharmony_ci			    scan_f_half_rate:1,
32048c2ecf20Sopenharmony_ci			    scan_f_quarter_rate:1,
32058c2ecf20Sopenharmony_ci			    scan_f_force_active_dfs_chn:1,
32068c2ecf20Sopenharmony_ci			    scan_f_add_tpc_ie_in_probe:1,
32078c2ecf20Sopenharmony_ci			    scan_f_add_ds_ie_in_probe:1,
32088c2ecf20Sopenharmony_ci			    scan_f_add_spoofed_mac_in_probe:1,
32098c2ecf20Sopenharmony_ci			    scan_f_add_rand_seq_in_probe:1,
32108c2ecf20Sopenharmony_ci			    scan_f_en_ie_whitelist_in_probe:1,
32118c2ecf20Sopenharmony_ci			    scan_f_forced:1,
32128c2ecf20Sopenharmony_ci			    scan_f_2ghz:1,
32138c2ecf20Sopenharmony_ci			    scan_f_5ghz:1,
32148c2ecf20Sopenharmony_ci			    scan_f_80mhz:1;
32158c2ecf20Sopenharmony_ci		};
32168c2ecf20Sopenharmony_ci		u32 scan_flags;
32178c2ecf20Sopenharmony_ci	};
32188c2ecf20Sopenharmony_ci	enum scan_dwelltime_adaptive_mode adaptive_dwell_time_mode;
32198c2ecf20Sopenharmony_ci	u32 burst_duration;
32208c2ecf20Sopenharmony_ci	u32 num_chan;
32218c2ecf20Sopenharmony_ci	u32 num_bssid;
32228c2ecf20Sopenharmony_ci	u32 num_ssids;
32238c2ecf20Sopenharmony_ci	u32 n_probes;
32248c2ecf20Sopenharmony_ci	u32 chan_list[WLAN_SCAN_MAX_NUM_CHANNELS];
32258c2ecf20Sopenharmony_ci	u32 notify_scan_events;
32268c2ecf20Sopenharmony_ci	struct wlan_ssid ssid[WLAN_SCAN_MAX_NUM_SSID];
32278c2ecf20Sopenharmony_ci	struct wmi_mac_addr bssid_list[WLAN_SCAN_MAX_NUM_BSSID];
32288c2ecf20Sopenharmony_ci	struct element_info extraie;
32298c2ecf20Sopenharmony_ci	struct element_info htcap;
32308c2ecf20Sopenharmony_ci	struct element_info vhtcap;
32318c2ecf20Sopenharmony_ci	u32 num_hint_s_ssid;
32328c2ecf20Sopenharmony_ci	u32 num_hint_bssid;
32338c2ecf20Sopenharmony_ci	struct hint_short_ssid hint_s_ssid[WLAN_SCAN_MAX_HINT_S_SSID];
32348c2ecf20Sopenharmony_ci	struct hint_bssid hint_bssid[WLAN_SCAN_MAX_HINT_BSSID];
32358c2ecf20Sopenharmony_ci};
32368c2ecf20Sopenharmony_ci
32378c2ecf20Sopenharmony_cistruct wmi_ssid_arg {
32388c2ecf20Sopenharmony_ci	int len;
32398c2ecf20Sopenharmony_ci	const u8 *ssid;
32408c2ecf20Sopenharmony_ci};
32418c2ecf20Sopenharmony_ci
32428c2ecf20Sopenharmony_cistruct wmi_bssid_arg {
32438c2ecf20Sopenharmony_ci	const u8 *bssid;
32448c2ecf20Sopenharmony_ci};
32458c2ecf20Sopenharmony_ci
32468c2ecf20Sopenharmony_cistruct wmi_start_scan_arg {
32478c2ecf20Sopenharmony_ci	u32 scan_id;
32488c2ecf20Sopenharmony_ci	u32 scan_req_id;
32498c2ecf20Sopenharmony_ci	u32 vdev_id;
32508c2ecf20Sopenharmony_ci	u32 scan_priority;
32518c2ecf20Sopenharmony_ci	u32 notify_scan_events;
32528c2ecf20Sopenharmony_ci	u32 dwell_time_active;
32538c2ecf20Sopenharmony_ci	u32 dwell_time_passive;
32548c2ecf20Sopenharmony_ci	u32 min_rest_time;
32558c2ecf20Sopenharmony_ci	u32 max_rest_time;
32568c2ecf20Sopenharmony_ci	u32 repeat_probe_time;
32578c2ecf20Sopenharmony_ci	u32 probe_spacing_time;
32588c2ecf20Sopenharmony_ci	u32 idle_time;
32598c2ecf20Sopenharmony_ci	u32 max_scan_time;
32608c2ecf20Sopenharmony_ci	u32 probe_delay;
32618c2ecf20Sopenharmony_ci	u32 scan_ctrl_flags;
32628c2ecf20Sopenharmony_ci
32638c2ecf20Sopenharmony_ci	u32 ie_len;
32648c2ecf20Sopenharmony_ci	u32 n_channels;
32658c2ecf20Sopenharmony_ci	u32 n_ssids;
32668c2ecf20Sopenharmony_ci	u32 n_bssids;
32678c2ecf20Sopenharmony_ci
32688c2ecf20Sopenharmony_ci	u8 ie[WLAN_SCAN_PARAMS_MAX_IE_LEN];
32698c2ecf20Sopenharmony_ci	u32 channels[64];
32708c2ecf20Sopenharmony_ci	struct wmi_ssid_arg ssids[WLAN_SCAN_PARAMS_MAX_SSID];
32718c2ecf20Sopenharmony_ci	struct wmi_bssid_arg bssids[WLAN_SCAN_PARAMS_MAX_BSSID];
32728c2ecf20Sopenharmony_ci};
32738c2ecf20Sopenharmony_ci
32748c2ecf20Sopenharmony_ci#define WMI_SCAN_STOP_ONE       0x00000000
32758c2ecf20Sopenharmony_ci#define WMI_SCN_STOP_VAP_ALL    0x01000000
32768c2ecf20Sopenharmony_ci#define WMI_SCAN_STOP_ALL       0x04000000
32778c2ecf20Sopenharmony_ci
32788c2ecf20Sopenharmony_ci/* Prefix 0xA000 indicates that the scan request
32798c2ecf20Sopenharmony_ci * is trigger by HOST
32808c2ecf20Sopenharmony_ci */
32818c2ecf20Sopenharmony_ci#define ATH11K_SCAN_ID          0xA000
32828c2ecf20Sopenharmony_ci
32838c2ecf20Sopenharmony_cienum scan_cancel_req_type {
32848c2ecf20Sopenharmony_ci	WLAN_SCAN_CANCEL_SINGLE = 1,
32858c2ecf20Sopenharmony_ci	WLAN_SCAN_CANCEL_VDEV_ALL,
32868c2ecf20Sopenharmony_ci	WLAN_SCAN_CANCEL_PDEV_ALL,
32878c2ecf20Sopenharmony_ci};
32888c2ecf20Sopenharmony_ci
32898c2ecf20Sopenharmony_cistruct scan_cancel_param {
32908c2ecf20Sopenharmony_ci	u32 requester;
32918c2ecf20Sopenharmony_ci	u32 scan_id;
32928c2ecf20Sopenharmony_ci	enum scan_cancel_req_type req_type;
32938c2ecf20Sopenharmony_ci	u32 vdev_id;
32948c2ecf20Sopenharmony_ci	u32 pdev_id;
32958c2ecf20Sopenharmony_ci};
32968c2ecf20Sopenharmony_ci
32978c2ecf20Sopenharmony_cistruct  wmi_bcn_send_from_host_cmd {
32988c2ecf20Sopenharmony_ci	u32 tlv_header;
32998c2ecf20Sopenharmony_ci	u32 vdev_id;
33008c2ecf20Sopenharmony_ci	u32 data_len;
33018c2ecf20Sopenharmony_ci	union {
33028c2ecf20Sopenharmony_ci		u32 frag_ptr;
33038c2ecf20Sopenharmony_ci		u32 frag_ptr_lo;
33048c2ecf20Sopenharmony_ci	};
33058c2ecf20Sopenharmony_ci	u32 frame_ctrl;
33068c2ecf20Sopenharmony_ci	u32 dtim_flag;
33078c2ecf20Sopenharmony_ci	u32 bcn_antenna;
33088c2ecf20Sopenharmony_ci	u32 frag_ptr_hi;
33098c2ecf20Sopenharmony_ci};
33108c2ecf20Sopenharmony_ci
33118c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_MODE		GENMASK(5, 0)
33128c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_HT40_PLUS		BIT(6)
33138c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_PASSIVE		BIT(7)
33148c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_ADHOC_ALLOWED	BIT(8)
33158c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_AP_DISABLED	BIT(9)
33168c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_DFS		BIT(10)
33178c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_ALLOW_HT		BIT(11)
33188c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_ALLOW_VHT		BIT(12)
33198c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_CHAN_CHANGE_CAUSE_CSA	BIT(13)
33208c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_HALF_RATE		BIT(14)
33218c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_QUARTER_RATE	BIT(15)
33228c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_DFS_FREQ2		BIT(16)
33238c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_ALLOW_HE		BIT(17)
33248c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_PSC		BIT(18)
33258c2ecf20Sopenharmony_ci
33268c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO1_MIN_PWR	GENMASK(7, 0)
33278c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO1_MAX_PWR	GENMASK(15, 8)
33288c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO1_MAX_REG_PWR	GENMASK(23, 16)
33298c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO1_REG_CLS	GENMASK(31, 24)
33308c2ecf20Sopenharmony_ci
33318c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO2_ANT_MAX	GENMASK(7, 0)
33328c2ecf20Sopenharmony_ci#define WMI_CHAN_REG_INFO2_MAX_TX_PWR	GENMASK(15, 8)
33338c2ecf20Sopenharmony_ci
33348c2ecf20Sopenharmony_cistruct wmi_channel {
33358c2ecf20Sopenharmony_ci	u32 tlv_header;
33368c2ecf20Sopenharmony_ci	u32 mhz;
33378c2ecf20Sopenharmony_ci	u32 band_center_freq1;
33388c2ecf20Sopenharmony_ci	u32 band_center_freq2;
33398c2ecf20Sopenharmony_ci	u32 info;
33408c2ecf20Sopenharmony_ci	u32 reg_info_1;
33418c2ecf20Sopenharmony_ci	u32 reg_info_2;
33428c2ecf20Sopenharmony_ci} __packed;
33438c2ecf20Sopenharmony_ci
33448c2ecf20Sopenharmony_cistruct wmi_mgmt_params {
33458c2ecf20Sopenharmony_ci	void *tx_frame;
33468c2ecf20Sopenharmony_ci	u16 frm_len;
33478c2ecf20Sopenharmony_ci	u8 vdev_id;
33488c2ecf20Sopenharmony_ci	u16 chanfreq;
33498c2ecf20Sopenharmony_ci	void *pdata;
33508c2ecf20Sopenharmony_ci	u16 desc_id;
33518c2ecf20Sopenharmony_ci	u8 *macaddr;
33528c2ecf20Sopenharmony_ci	void *qdf_ctx;
33538c2ecf20Sopenharmony_ci};
33548c2ecf20Sopenharmony_ci
33558c2ecf20Sopenharmony_cienum wmi_sta_ps_mode {
33568c2ecf20Sopenharmony_ci	WMI_STA_PS_MODE_DISABLED = 0,
33578c2ecf20Sopenharmony_ci	WMI_STA_PS_MODE_ENABLED = 1,
33588c2ecf20Sopenharmony_ci};
33598c2ecf20Sopenharmony_ci
33608c2ecf20Sopenharmony_ci#define WMI_SMPS_MASK_LOWER_16BITS 0xFF
33618c2ecf20Sopenharmony_ci#define WMI_SMPS_MASK_UPPER_3BITS 0x7
33628c2ecf20Sopenharmony_ci#define WMI_SMPS_PARAM_VALUE_SHIFT 29
33638c2ecf20Sopenharmony_ci
33648c2ecf20Sopenharmony_ci#define ATH11K_WMI_FW_HANG_ASSERT_TYPE 1
33658c2ecf20Sopenharmony_ci#define ATH11K_WMI_FW_HANG_DELAY 0
33668c2ecf20Sopenharmony_ci
33678c2ecf20Sopenharmony_ci/* type, 0:unused 1: ASSERT 2: not respond detect command
33688c2ecf20Sopenharmony_ci * delay_time_ms, the simulate will delay time
33698c2ecf20Sopenharmony_ci */
33708c2ecf20Sopenharmony_ci
33718c2ecf20Sopenharmony_cistruct wmi_force_fw_hang_cmd {
33728c2ecf20Sopenharmony_ci	u32 tlv_header;
33738c2ecf20Sopenharmony_ci	u32 type;
33748c2ecf20Sopenharmony_ci	u32 delay_time_ms;
33758c2ecf20Sopenharmony_ci};
33768c2ecf20Sopenharmony_ci
33778c2ecf20Sopenharmony_cistruct wmi_vdev_set_param_cmd {
33788c2ecf20Sopenharmony_ci	u32 tlv_header;
33798c2ecf20Sopenharmony_ci	u32 vdev_id;
33808c2ecf20Sopenharmony_ci	u32 param_id;
33818c2ecf20Sopenharmony_ci	u32 param_value;
33828c2ecf20Sopenharmony_ci} __packed;
33838c2ecf20Sopenharmony_ci
33848c2ecf20Sopenharmony_cienum wmi_stats_id {
33858c2ecf20Sopenharmony_ci	WMI_REQUEST_PEER_STAT			= BIT(0),
33868c2ecf20Sopenharmony_ci	WMI_REQUEST_AP_STAT			= BIT(1),
33878c2ecf20Sopenharmony_ci	WMI_REQUEST_PDEV_STAT			= BIT(2),
33888c2ecf20Sopenharmony_ci	WMI_REQUEST_VDEV_STAT			= BIT(3),
33898c2ecf20Sopenharmony_ci	WMI_REQUEST_BCNFLT_STAT			= BIT(4),
33908c2ecf20Sopenharmony_ci	WMI_REQUEST_VDEV_RATE_STAT		= BIT(5),
33918c2ecf20Sopenharmony_ci	WMI_REQUEST_INST_STAT			= BIT(6),
33928c2ecf20Sopenharmony_ci	WMI_REQUEST_MIB_STAT			= BIT(7),
33938c2ecf20Sopenharmony_ci	WMI_REQUEST_RSSI_PER_CHAIN_STAT		= BIT(8),
33948c2ecf20Sopenharmony_ci	WMI_REQUEST_CONGESTION_STAT		= BIT(9),
33958c2ecf20Sopenharmony_ci	WMI_REQUEST_PEER_EXTD_STAT		= BIT(10),
33968c2ecf20Sopenharmony_ci	WMI_REQUEST_BCN_STAT			= BIT(11),
33978c2ecf20Sopenharmony_ci	WMI_REQUEST_BCN_STAT_RESET		= BIT(12),
33988c2ecf20Sopenharmony_ci	WMI_REQUEST_PEER_EXTD2_STAT		= BIT(13),
33998c2ecf20Sopenharmony_ci};
34008c2ecf20Sopenharmony_ci
34018c2ecf20Sopenharmony_cistruct wmi_request_stats_cmd {
34028c2ecf20Sopenharmony_ci	u32 tlv_header;
34038c2ecf20Sopenharmony_ci	enum wmi_stats_id stats_id;
34048c2ecf20Sopenharmony_ci	u32 vdev_id;
34058c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
34068c2ecf20Sopenharmony_ci	u32 pdev_id;
34078c2ecf20Sopenharmony_ci} __packed;
34088c2ecf20Sopenharmony_ci
34098c2ecf20Sopenharmony_cistruct wmi_get_pdev_temperature_cmd {
34108c2ecf20Sopenharmony_ci	u32 tlv_header;
34118c2ecf20Sopenharmony_ci	u32 param;
34128c2ecf20Sopenharmony_ci	u32 pdev_id;
34138c2ecf20Sopenharmony_ci} __packed;
34148c2ecf20Sopenharmony_ci
34158c2ecf20Sopenharmony_ci#define WMI_BEACON_TX_BUFFER_SIZE	512
34168c2ecf20Sopenharmony_ci
34178c2ecf20Sopenharmony_cistruct wmi_bcn_tmpl_cmd {
34188c2ecf20Sopenharmony_ci	u32 tlv_header;
34198c2ecf20Sopenharmony_ci	u32 vdev_id;
34208c2ecf20Sopenharmony_ci	u32 tim_ie_offset;
34218c2ecf20Sopenharmony_ci	u32 buf_len;
34228c2ecf20Sopenharmony_ci	u32 csa_switch_count_offset;
34238c2ecf20Sopenharmony_ci	u32 ext_csa_switch_count_offset;
34248c2ecf20Sopenharmony_ci	u32 csa_event_bitmap;
34258c2ecf20Sopenharmony_ci	u32 mbssid_ie_offset;
34268c2ecf20Sopenharmony_ci	u32 esp_ie_offset;
34278c2ecf20Sopenharmony_ci} __packed;
34288c2ecf20Sopenharmony_ci
34298c2ecf20Sopenharmony_cistruct wmi_key_seq_counter {
34308c2ecf20Sopenharmony_ci	u32 key_seq_counter_l;
34318c2ecf20Sopenharmony_ci	u32 key_seq_counter_h;
34328c2ecf20Sopenharmony_ci} __packed;
34338c2ecf20Sopenharmony_ci
34348c2ecf20Sopenharmony_cistruct wmi_vdev_install_key_cmd {
34358c2ecf20Sopenharmony_ci	u32 tlv_header;
34368c2ecf20Sopenharmony_ci	u32 vdev_id;
34378c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
34388c2ecf20Sopenharmony_ci	u32 key_idx;
34398c2ecf20Sopenharmony_ci	u32 key_flags;
34408c2ecf20Sopenharmony_ci	u32 key_cipher;
34418c2ecf20Sopenharmony_ci	struct wmi_key_seq_counter key_rsc_counter;
34428c2ecf20Sopenharmony_ci	struct wmi_key_seq_counter key_global_rsc_counter;
34438c2ecf20Sopenharmony_ci	struct wmi_key_seq_counter key_tsc_counter;
34448c2ecf20Sopenharmony_ci	u8 wpi_key_rsc_counter[16];
34458c2ecf20Sopenharmony_ci	u8 wpi_key_tsc_counter[16];
34468c2ecf20Sopenharmony_ci	u32 key_len;
34478c2ecf20Sopenharmony_ci	u32 key_txmic_len;
34488c2ecf20Sopenharmony_ci	u32 key_rxmic_len;
34498c2ecf20Sopenharmony_ci	u32 is_group_key_id_valid;
34508c2ecf20Sopenharmony_ci	u32 group_key_id;
34518c2ecf20Sopenharmony_ci
34528c2ecf20Sopenharmony_ci	/* Followed by key_data containing key followed by
34538c2ecf20Sopenharmony_ci	 * tx mic and then rx mic
34548c2ecf20Sopenharmony_ci	 */
34558c2ecf20Sopenharmony_ci} __packed;
34568c2ecf20Sopenharmony_ci
34578c2ecf20Sopenharmony_cistruct wmi_vdev_install_key_arg {
34588c2ecf20Sopenharmony_ci	u32 vdev_id;
34598c2ecf20Sopenharmony_ci	const u8 *macaddr;
34608c2ecf20Sopenharmony_ci	u32 key_idx;
34618c2ecf20Sopenharmony_ci	u32 key_flags;
34628c2ecf20Sopenharmony_ci	u32 key_cipher;
34638c2ecf20Sopenharmony_ci	u32 key_len;
34648c2ecf20Sopenharmony_ci	u32 key_txmic_len;
34658c2ecf20Sopenharmony_ci	u32 key_rxmic_len;
34668c2ecf20Sopenharmony_ci	u64 key_rsc_counter;
34678c2ecf20Sopenharmony_ci	const void *key_data;
34688c2ecf20Sopenharmony_ci};
34698c2ecf20Sopenharmony_ci
34708c2ecf20Sopenharmony_ci#define WMI_MAX_SUPPORTED_RATES			128
34718c2ecf20Sopenharmony_ci#define WMI_HOST_MAX_HECAP_PHY_SIZE		3
34728c2ecf20Sopenharmony_ci#define WMI_HOST_MAX_HE_RATE_SET		3
34738c2ecf20Sopenharmony_ci#define WMI_HECAP_TXRX_MCS_NSS_IDX_80		0
34748c2ecf20Sopenharmony_ci#define WMI_HECAP_TXRX_MCS_NSS_IDX_160		1
34758c2ecf20Sopenharmony_ci#define WMI_HECAP_TXRX_MCS_NSS_IDX_80_80	2
34768c2ecf20Sopenharmony_ci
34778c2ecf20Sopenharmony_cistruct wmi_rate_set_arg {
34788c2ecf20Sopenharmony_ci	u32 num_rates;
34798c2ecf20Sopenharmony_ci	u8 rates[WMI_MAX_SUPPORTED_RATES];
34808c2ecf20Sopenharmony_ci};
34818c2ecf20Sopenharmony_ci
34828c2ecf20Sopenharmony_cistruct peer_assoc_params {
34838c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
34848c2ecf20Sopenharmony_ci	u32 vdev_id;
34858c2ecf20Sopenharmony_ci	u32 peer_new_assoc;
34868c2ecf20Sopenharmony_ci	u32 peer_associd;
34878c2ecf20Sopenharmony_ci	u32 peer_flags;
34888c2ecf20Sopenharmony_ci	u32 peer_caps;
34898c2ecf20Sopenharmony_ci	u32 peer_listen_intval;
34908c2ecf20Sopenharmony_ci	u32 peer_ht_caps;
34918c2ecf20Sopenharmony_ci	u32 peer_max_mpdu;
34928c2ecf20Sopenharmony_ci	u32 peer_mpdu_density;
34938c2ecf20Sopenharmony_ci	u32 peer_rate_caps;
34948c2ecf20Sopenharmony_ci	u32 peer_nss;
34958c2ecf20Sopenharmony_ci	u32 peer_vht_caps;
34968c2ecf20Sopenharmony_ci	u32 peer_phymode;
34978c2ecf20Sopenharmony_ci	u32 peer_ht_info[2];
34988c2ecf20Sopenharmony_ci	struct wmi_rate_set_arg peer_legacy_rates;
34998c2ecf20Sopenharmony_ci	struct wmi_rate_set_arg peer_ht_rates;
35008c2ecf20Sopenharmony_ci	u32 rx_max_rate;
35018c2ecf20Sopenharmony_ci	u32 rx_mcs_set;
35028c2ecf20Sopenharmony_ci	u32 tx_max_rate;
35038c2ecf20Sopenharmony_ci	u32 tx_mcs_set;
35048c2ecf20Sopenharmony_ci	u8 vht_capable;
35058c2ecf20Sopenharmony_ci	u8 min_data_rate;
35068c2ecf20Sopenharmony_ci	u32 tx_max_mcs_nss;
35078c2ecf20Sopenharmony_ci	u32 peer_bw_rxnss_override;
35088c2ecf20Sopenharmony_ci	bool is_pmf_enabled;
35098c2ecf20Sopenharmony_ci	bool is_wme_set;
35108c2ecf20Sopenharmony_ci	bool qos_flag;
35118c2ecf20Sopenharmony_ci	bool apsd_flag;
35128c2ecf20Sopenharmony_ci	bool ht_flag;
35138c2ecf20Sopenharmony_ci	bool bw_40;
35148c2ecf20Sopenharmony_ci	bool bw_80;
35158c2ecf20Sopenharmony_ci	bool bw_160;
35168c2ecf20Sopenharmony_ci	bool stbc_flag;
35178c2ecf20Sopenharmony_ci	bool ldpc_flag;
35188c2ecf20Sopenharmony_ci	bool static_mimops_flag;
35198c2ecf20Sopenharmony_ci	bool dynamic_mimops_flag;
35208c2ecf20Sopenharmony_ci	bool spatial_mux_flag;
35218c2ecf20Sopenharmony_ci	bool vht_flag;
35228c2ecf20Sopenharmony_ci	bool vht_ng_flag;
35238c2ecf20Sopenharmony_ci	bool need_ptk_4_way;
35248c2ecf20Sopenharmony_ci	bool need_gtk_2_way;
35258c2ecf20Sopenharmony_ci	bool auth_flag;
35268c2ecf20Sopenharmony_ci	bool safe_mode_enabled;
35278c2ecf20Sopenharmony_ci	bool amsdu_disable;
35288c2ecf20Sopenharmony_ci	/* Use common structure */
35298c2ecf20Sopenharmony_ci	u8 peer_mac[ETH_ALEN];
35308c2ecf20Sopenharmony_ci
35318c2ecf20Sopenharmony_ci	bool he_flag;
35328c2ecf20Sopenharmony_ci	u32 peer_he_cap_macinfo[2];
35338c2ecf20Sopenharmony_ci	u32 peer_he_cap_macinfo_internal;
35348c2ecf20Sopenharmony_ci	u32 peer_he_caps_6ghz;
35358c2ecf20Sopenharmony_ci	u32 peer_he_ops;
35368c2ecf20Sopenharmony_ci	u32 peer_he_cap_phyinfo[WMI_HOST_MAX_HECAP_PHY_SIZE];
35378c2ecf20Sopenharmony_ci	u32 peer_he_mcs_count;
35388c2ecf20Sopenharmony_ci	u32 peer_he_rx_mcs_set[WMI_HOST_MAX_HE_RATE_SET];
35398c2ecf20Sopenharmony_ci	u32 peer_he_tx_mcs_set[WMI_HOST_MAX_HE_RATE_SET];
35408c2ecf20Sopenharmony_ci	bool twt_responder;
35418c2ecf20Sopenharmony_ci	bool twt_requester;
35428c2ecf20Sopenharmony_ci	struct ath11k_ppe_threshold peer_ppet;
35438c2ecf20Sopenharmony_ci};
35448c2ecf20Sopenharmony_ci
35458c2ecf20Sopenharmony_cistruct  wmi_peer_assoc_complete_cmd {
35468c2ecf20Sopenharmony_ci	u32 tlv_header;
35478c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
35488c2ecf20Sopenharmony_ci	u32 vdev_id;
35498c2ecf20Sopenharmony_ci	u32 peer_new_assoc;
35508c2ecf20Sopenharmony_ci	u32 peer_associd;
35518c2ecf20Sopenharmony_ci	u32 peer_flags;
35528c2ecf20Sopenharmony_ci	u32 peer_caps;
35538c2ecf20Sopenharmony_ci	u32 peer_listen_intval;
35548c2ecf20Sopenharmony_ci	u32 peer_ht_caps;
35558c2ecf20Sopenharmony_ci	u32 peer_max_mpdu;
35568c2ecf20Sopenharmony_ci	u32 peer_mpdu_density;
35578c2ecf20Sopenharmony_ci	u32 peer_rate_caps;
35588c2ecf20Sopenharmony_ci	u32 peer_nss;
35598c2ecf20Sopenharmony_ci	u32 peer_vht_caps;
35608c2ecf20Sopenharmony_ci	u32 peer_phymode;
35618c2ecf20Sopenharmony_ci	u32 peer_ht_info[2];
35628c2ecf20Sopenharmony_ci	u32 num_peer_legacy_rates;
35638c2ecf20Sopenharmony_ci	u32 num_peer_ht_rates;
35648c2ecf20Sopenharmony_ci	u32 peer_bw_rxnss_override;
35658c2ecf20Sopenharmony_ci	struct  wmi_ppe_threshold peer_ppet;
35668c2ecf20Sopenharmony_ci	u32 peer_he_cap_info;
35678c2ecf20Sopenharmony_ci	u32 peer_he_ops;
35688c2ecf20Sopenharmony_ci	u32 peer_he_cap_phy[WMI_MAX_HECAP_PHY_SIZE];
35698c2ecf20Sopenharmony_ci	u32 peer_he_mcs;
35708c2ecf20Sopenharmony_ci	u32 peer_he_cap_info_ext;
35718c2ecf20Sopenharmony_ci	u32 peer_he_cap_info_internal;
35728c2ecf20Sopenharmony_ci	u32 min_data_rate;
35738c2ecf20Sopenharmony_ci	u32 peer_he_caps_6ghz;
35748c2ecf20Sopenharmony_ci} __packed;
35758c2ecf20Sopenharmony_ci
35768c2ecf20Sopenharmony_cistruct wmi_stop_scan_cmd {
35778c2ecf20Sopenharmony_ci	u32 tlv_header;
35788c2ecf20Sopenharmony_ci	u32 requestor;
35798c2ecf20Sopenharmony_ci	u32 scan_id;
35808c2ecf20Sopenharmony_ci	u32 req_type;
35818c2ecf20Sopenharmony_ci	u32 vdev_id;
35828c2ecf20Sopenharmony_ci	u32 pdev_id;
35838c2ecf20Sopenharmony_ci};
35848c2ecf20Sopenharmony_ci
35858c2ecf20Sopenharmony_cistruct scan_chan_list_params {
35868c2ecf20Sopenharmony_ci	u32 pdev_id;
35878c2ecf20Sopenharmony_ci	u16 nallchans;
35888c2ecf20Sopenharmony_ci	struct channel_param ch_param[1];
35898c2ecf20Sopenharmony_ci};
35908c2ecf20Sopenharmony_ci
35918c2ecf20Sopenharmony_cistruct wmi_scan_chan_list_cmd {
35928c2ecf20Sopenharmony_ci	u32 tlv_header;
35938c2ecf20Sopenharmony_ci	u32 num_scan_chans;
35948c2ecf20Sopenharmony_ci	u32 flags;
35958c2ecf20Sopenharmony_ci	u32 pdev_id;
35968c2ecf20Sopenharmony_ci} __packed;
35978c2ecf20Sopenharmony_ci
35988c2ecf20Sopenharmony_ci#define WMI_MGMT_SEND_DOWNLD_LEN	64
35998c2ecf20Sopenharmony_ci
36008c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD0_POWER		GENMASK(7, 0)
36018c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD0_MCS_MASK		GENMASK(19, 8)
36028c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD0_NSS_MASK		GENMASK(27, 20)
36038c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD0_RETRY_LIMIT	GENMASK(31, 28)
36048c2ecf20Sopenharmony_ci
36058c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD1_CHAIN_MASK		GENMASK(7, 0)
36068c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD1_BW_MASK		GENMASK(14, 8)
36078c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD1_PREAMBLE_TYPE	GENMASK(19, 15)
36088c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD1_FRAME_TYPE		BIT(20)
36098c2ecf20Sopenharmony_ci#define WMI_TX_PARAMS_DWORD1_RSVD		GENMASK(31, 21)
36108c2ecf20Sopenharmony_ci
36118c2ecf20Sopenharmony_cistruct wmi_mgmt_send_params {
36128c2ecf20Sopenharmony_ci	u32 tlv_header;
36138c2ecf20Sopenharmony_ci	u32 tx_params_dword0;
36148c2ecf20Sopenharmony_ci	u32 tx_params_dword1;
36158c2ecf20Sopenharmony_ci};
36168c2ecf20Sopenharmony_ci
36178c2ecf20Sopenharmony_cistruct wmi_mgmt_send_cmd {
36188c2ecf20Sopenharmony_ci	u32 tlv_header;
36198c2ecf20Sopenharmony_ci	u32 vdev_id;
36208c2ecf20Sopenharmony_ci	u32 desc_id;
36218c2ecf20Sopenharmony_ci	u32 chanfreq;
36228c2ecf20Sopenharmony_ci	u32 paddr_lo;
36238c2ecf20Sopenharmony_ci	u32 paddr_hi;
36248c2ecf20Sopenharmony_ci	u32 frame_len;
36258c2ecf20Sopenharmony_ci	u32 buf_len;
36268c2ecf20Sopenharmony_ci	u32 tx_params_valid;
36278c2ecf20Sopenharmony_ci
36288c2ecf20Sopenharmony_ci	/* This TLV is followed by struct wmi_mgmt_frame */
36298c2ecf20Sopenharmony_ci
36308c2ecf20Sopenharmony_ci	/* Followed by struct wmi_mgmt_send_params */
36318c2ecf20Sopenharmony_ci} __packed;
36328c2ecf20Sopenharmony_ci
36338c2ecf20Sopenharmony_cistruct wmi_sta_powersave_mode_cmd {
36348c2ecf20Sopenharmony_ci	u32 tlv_header;
36358c2ecf20Sopenharmony_ci	u32 vdev_id;
36368c2ecf20Sopenharmony_ci	u32 sta_ps_mode;
36378c2ecf20Sopenharmony_ci};
36388c2ecf20Sopenharmony_ci
36398c2ecf20Sopenharmony_cistruct wmi_sta_smps_force_mode_cmd {
36408c2ecf20Sopenharmony_ci	u32 tlv_header;
36418c2ecf20Sopenharmony_ci	u32 vdev_id;
36428c2ecf20Sopenharmony_ci	u32 forced_mode;
36438c2ecf20Sopenharmony_ci};
36448c2ecf20Sopenharmony_ci
36458c2ecf20Sopenharmony_cistruct wmi_sta_smps_param_cmd {
36468c2ecf20Sopenharmony_ci	u32 tlv_header;
36478c2ecf20Sopenharmony_ci	u32 vdev_id;
36488c2ecf20Sopenharmony_ci	u32 param;
36498c2ecf20Sopenharmony_ci	u32 value;
36508c2ecf20Sopenharmony_ci};
36518c2ecf20Sopenharmony_ci
36528c2ecf20Sopenharmony_cistruct wmi_bcn_prb_info {
36538c2ecf20Sopenharmony_ci	u32 tlv_header;
36548c2ecf20Sopenharmony_ci	u32 caps;
36558c2ecf20Sopenharmony_ci	u32 erp;
36568c2ecf20Sopenharmony_ci} __packed;
36578c2ecf20Sopenharmony_ci
36588c2ecf20Sopenharmony_cienum {
36598c2ecf20Sopenharmony_ci	WMI_PDEV_SUSPEND,
36608c2ecf20Sopenharmony_ci	WMI_PDEV_SUSPEND_AND_DISABLE_INTR,
36618c2ecf20Sopenharmony_ci};
36628c2ecf20Sopenharmony_ci
36638c2ecf20Sopenharmony_cistruct green_ap_ps_params {
36648c2ecf20Sopenharmony_ci	u32 value;
36658c2ecf20Sopenharmony_ci};
36668c2ecf20Sopenharmony_ci
36678c2ecf20Sopenharmony_cistruct wmi_pdev_green_ap_ps_enable_cmd_param {
36688c2ecf20Sopenharmony_ci	u32 tlv_header;
36698c2ecf20Sopenharmony_ci	u32 pdev_id;
36708c2ecf20Sopenharmony_ci	u32 enable;
36718c2ecf20Sopenharmony_ci};
36728c2ecf20Sopenharmony_ci
36738c2ecf20Sopenharmony_cistruct ap_ps_params {
36748c2ecf20Sopenharmony_ci	u32 vdev_id;
36758c2ecf20Sopenharmony_ci	u32 param;
36768c2ecf20Sopenharmony_ci	u32 value;
36778c2ecf20Sopenharmony_ci};
36788c2ecf20Sopenharmony_ci
36798c2ecf20Sopenharmony_cistruct vdev_set_params {
36808c2ecf20Sopenharmony_ci	u32 if_id;
36818c2ecf20Sopenharmony_ci	u32 param_id;
36828c2ecf20Sopenharmony_ci	u32 param_value;
36838c2ecf20Sopenharmony_ci};
36848c2ecf20Sopenharmony_ci
36858c2ecf20Sopenharmony_cistruct stats_request_params {
36868c2ecf20Sopenharmony_ci	u32 stats_id;
36878c2ecf20Sopenharmony_ci	u32 vdev_id;
36888c2ecf20Sopenharmony_ci	u32 pdev_id;
36898c2ecf20Sopenharmony_ci};
36908c2ecf20Sopenharmony_ci
36918c2ecf20Sopenharmony_cienum set_init_cc_type {
36928c2ecf20Sopenharmony_ci	WMI_COUNTRY_INFO_TYPE_ALPHA,
36938c2ecf20Sopenharmony_ci	WMI_COUNTRY_INFO_TYPE_COUNTRY_CODE,
36948c2ecf20Sopenharmony_ci	WMI_COUNTRY_INFO_TYPE_REGDOMAIN,
36958c2ecf20Sopenharmony_ci};
36968c2ecf20Sopenharmony_ci
36978c2ecf20Sopenharmony_cienum set_init_cc_flags {
36988c2ecf20Sopenharmony_ci	INVALID_CC,
36998c2ecf20Sopenharmony_ci	CC_IS_SET,
37008c2ecf20Sopenharmony_ci	REGDMN_IS_SET,
37018c2ecf20Sopenharmony_ci	ALPHA_IS_SET,
37028c2ecf20Sopenharmony_ci};
37038c2ecf20Sopenharmony_ci
37048c2ecf20Sopenharmony_cistruct wmi_init_country_params {
37058c2ecf20Sopenharmony_ci	union {
37068c2ecf20Sopenharmony_ci		u16 country_code;
37078c2ecf20Sopenharmony_ci		u16 regdom_id;
37088c2ecf20Sopenharmony_ci		u8 alpha2[3];
37098c2ecf20Sopenharmony_ci	} cc_info;
37108c2ecf20Sopenharmony_ci	enum set_init_cc_flags flags;
37118c2ecf20Sopenharmony_ci};
37128c2ecf20Sopenharmony_ci
37138c2ecf20Sopenharmony_cistruct wmi_init_country_cmd {
37148c2ecf20Sopenharmony_ci	u32 tlv_header;
37158c2ecf20Sopenharmony_ci	u32 pdev_id;
37168c2ecf20Sopenharmony_ci	u32 init_cc_type;
37178c2ecf20Sopenharmony_ci	union {
37188c2ecf20Sopenharmony_ci		u32 country_code;
37198c2ecf20Sopenharmony_ci		u32 regdom_id;
37208c2ecf20Sopenharmony_ci		u32 alpha2;
37218c2ecf20Sopenharmony_ci	} cc_info;
37228c2ecf20Sopenharmony_ci} __packed;
37238c2ecf20Sopenharmony_ci
37248c2ecf20Sopenharmony_ci#define THERMAL_LEVELS  1
37258c2ecf20Sopenharmony_cistruct tt_level_config {
37268c2ecf20Sopenharmony_ci	u32 tmplwm;
37278c2ecf20Sopenharmony_ci	u32 tmphwm;
37288c2ecf20Sopenharmony_ci	u32 dcoffpercent;
37298c2ecf20Sopenharmony_ci	u32 priority;
37308c2ecf20Sopenharmony_ci};
37318c2ecf20Sopenharmony_ci
37328c2ecf20Sopenharmony_cistruct thermal_mitigation_params {
37338c2ecf20Sopenharmony_ci	u32 pdev_id;
37348c2ecf20Sopenharmony_ci	u32 enable;
37358c2ecf20Sopenharmony_ci	u32 dc;
37368c2ecf20Sopenharmony_ci	u32 dc_per_event;
37378c2ecf20Sopenharmony_ci	struct tt_level_config levelconf[THERMAL_LEVELS];
37388c2ecf20Sopenharmony_ci};
37398c2ecf20Sopenharmony_ci
37408c2ecf20Sopenharmony_cistruct wmi_therm_throt_config_request_cmd {
37418c2ecf20Sopenharmony_ci	u32 tlv_header;
37428c2ecf20Sopenharmony_ci	u32 pdev_id;
37438c2ecf20Sopenharmony_ci	u32 enable;
37448c2ecf20Sopenharmony_ci	u32 dc;
37458c2ecf20Sopenharmony_ci	u32 dc_per_event;
37468c2ecf20Sopenharmony_ci	u32 therm_throt_levels;
37478c2ecf20Sopenharmony_ci} __packed;
37488c2ecf20Sopenharmony_ci
37498c2ecf20Sopenharmony_cistruct wmi_therm_throt_level_config_info {
37508c2ecf20Sopenharmony_ci	u32 tlv_header;
37518c2ecf20Sopenharmony_ci	u32 temp_lwm;
37528c2ecf20Sopenharmony_ci	u32 temp_hwm;
37538c2ecf20Sopenharmony_ci	u32 dc_off_percent;
37548c2ecf20Sopenharmony_ci	u32 prio;
37558c2ecf20Sopenharmony_ci} __packed;
37568c2ecf20Sopenharmony_ci
37578c2ecf20Sopenharmony_cistruct wmi_delba_send_cmd {
37588c2ecf20Sopenharmony_ci	u32 tlv_header;
37598c2ecf20Sopenharmony_ci	u32 vdev_id;
37608c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
37618c2ecf20Sopenharmony_ci	u32 tid;
37628c2ecf20Sopenharmony_ci	u32 initiator;
37638c2ecf20Sopenharmony_ci	u32 reasoncode;
37648c2ecf20Sopenharmony_ci} __packed;
37658c2ecf20Sopenharmony_ci
37668c2ecf20Sopenharmony_cistruct wmi_addba_setresponse_cmd {
37678c2ecf20Sopenharmony_ci	u32 tlv_header;
37688c2ecf20Sopenharmony_ci	u32 vdev_id;
37698c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
37708c2ecf20Sopenharmony_ci	u32 tid;
37718c2ecf20Sopenharmony_ci	u32 statuscode;
37728c2ecf20Sopenharmony_ci} __packed;
37738c2ecf20Sopenharmony_ci
37748c2ecf20Sopenharmony_cistruct wmi_addba_send_cmd {
37758c2ecf20Sopenharmony_ci	u32 tlv_header;
37768c2ecf20Sopenharmony_ci	u32 vdev_id;
37778c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
37788c2ecf20Sopenharmony_ci	u32 tid;
37798c2ecf20Sopenharmony_ci	u32 buffersize;
37808c2ecf20Sopenharmony_ci} __packed;
37818c2ecf20Sopenharmony_ci
37828c2ecf20Sopenharmony_cistruct wmi_addba_clear_resp_cmd {
37838c2ecf20Sopenharmony_ci	u32 tlv_header;
37848c2ecf20Sopenharmony_ci	u32 vdev_id;
37858c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
37868c2ecf20Sopenharmony_ci} __packed;
37878c2ecf20Sopenharmony_ci
37888c2ecf20Sopenharmony_cistruct wmi_pdev_pktlog_filter_info {
37898c2ecf20Sopenharmony_ci	u32 tlv_header;
37908c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
37918c2ecf20Sopenharmony_ci} __packed;
37928c2ecf20Sopenharmony_ci
37938c2ecf20Sopenharmony_cistruct wmi_pdev_pktlog_filter_cmd {
37948c2ecf20Sopenharmony_ci	u32 tlv_header;
37958c2ecf20Sopenharmony_ci	u32 pdev_id;
37968c2ecf20Sopenharmony_ci	u32 enable;
37978c2ecf20Sopenharmony_ci	u32 filter_type;
37988c2ecf20Sopenharmony_ci	u32 num_mac;
37998c2ecf20Sopenharmony_ci} __packed;
38008c2ecf20Sopenharmony_ci
38018c2ecf20Sopenharmony_cienum ath11k_wmi_pktlog_enable {
38028c2ecf20Sopenharmony_ci	ATH11K_WMI_PKTLOG_ENABLE_AUTO  = 0,
38038c2ecf20Sopenharmony_ci	ATH11K_WMI_PKTLOG_ENABLE_FORCE = 1,
38048c2ecf20Sopenharmony_ci};
38058c2ecf20Sopenharmony_ci
38068c2ecf20Sopenharmony_cistruct wmi_pktlog_enable_cmd {
38078c2ecf20Sopenharmony_ci	u32 tlv_header;
38088c2ecf20Sopenharmony_ci	u32 pdev_id;
38098c2ecf20Sopenharmony_ci	u32 evlist; /* WMI_PKTLOG_EVENT */
38108c2ecf20Sopenharmony_ci	u32 enable;
38118c2ecf20Sopenharmony_ci} __packed;
38128c2ecf20Sopenharmony_ci
38138c2ecf20Sopenharmony_cistruct wmi_pktlog_disable_cmd {
38148c2ecf20Sopenharmony_ci	u32 tlv_header;
38158c2ecf20Sopenharmony_ci	u32 pdev_id;
38168c2ecf20Sopenharmony_ci} __packed;
38178c2ecf20Sopenharmony_ci
38188c2ecf20Sopenharmony_ci#define DFS_PHYERR_UNIT_TEST_CMD 0
38198c2ecf20Sopenharmony_ci#define DFS_UNIT_TEST_MODULE	0x2b
38208c2ecf20Sopenharmony_ci#define DFS_UNIT_TEST_TOKEN	0xAA
38218c2ecf20Sopenharmony_ci
38228c2ecf20Sopenharmony_cienum dfs_test_args_idx {
38238c2ecf20Sopenharmony_ci	DFS_TEST_CMDID = 0,
38248c2ecf20Sopenharmony_ci	DFS_TEST_PDEV_ID,
38258c2ecf20Sopenharmony_ci	DFS_TEST_RADAR_PARAM,
38268c2ecf20Sopenharmony_ci	DFS_MAX_TEST_ARGS,
38278c2ecf20Sopenharmony_ci};
38288c2ecf20Sopenharmony_ci
38298c2ecf20Sopenharmony_cistruct wmi_dfs_unit_test_arg {
38308c2ecf20Sopenharmony_ci	u32 cmd_id;
38318c2ecf20Sopenharmony_ci	u32 pdev_id;
38328c2ecf20Sopenharmony_ci	u32 radar_param;
38338c2ecf20Sopenharmony_ci};
38348c2ecf20Sopenharmony_ci
38358c2ecf20Sopenharmony_cistruct wmi_unit_test_cmd {
38368c2ecf20Sopenharmony_ci	u32 tlv_header;
38378c2ecf20Sopenharmony_ci	u32 vdev_id;
38388c2ecf20Sopenharmony_ci	u32 module_id;
38398c2ecf20Sopenharmony_ci	u32 num_args;
38408c2ecf20Sopenharmony_ci	u32 diag_token;
38418c2ecf20Sopenharmony_ci	/* Followed by test args*/
38428c2ecf20Sopenharmony_ci} __packed;
38438c2ecf20Sopenharmony_ci
38448c2ecf20Sopenharmony_ci#define MAX_SUPPORTED_RATES 128
38458c2ecf20Sopenharmony_ci
38468c2ecf20Sopenharmony_ci#define WMI_PEER_AUTH		0x00000001
38478c2ecf20Sopenharmony_ci#define WMI_PEER_QOS		0x00000002
38488c2ecf20Sopenharmony_ci#define WMI_PEER_NEED_PTK_4_WAY	0x00000004
38498c2ecf20Sopenharmony_ci#define WMI_PEER_NEED_GTK_2_WAY	0x00000010
38508c2ecf20Sopenharmony_ci#define WMI_PEER_HE		0x00000400
38518c2ecf20Sopenharmony_ci#define WMI_PEER_APSD		0x00000800
38528c2ecf20Sopenharmony_ci#define WMI_PEER_HT		0x00001000
38538c2ecf20Sopenharmony_ci#define WMI_PEER_40MHZ		0x00002000
38548c2ecf20Sopenharmony_ci#define WMI_PEER_STBC		0x00008000
38558c2ecf20Sopenharmony_ci#define WMI_PEER_LDPC		0x00010000
38568c2ecf20Sopenharmony_ci#define WMI_PEER_DYN_MIMOPS	0x00020000
38578c2ecf20Sopenharmony_ci#define WMI_PEER_STATIC_MIMOPS	0x00040000
38588c2ecf20Sopenharmony_ci#define WMI_PEER_SPATIAL_MUX	0x00200000
38598c2ecf20Sopenharmony_ci#define WMI_PEER_TWT_REQ	0x00400000
38608c2ecf20Sopenharmony_ci#define WMI_PEER_TWT_RESP	0x00800000
38618c2ecf20Sopenharmony_ci#define WMI_PEER_VHT		0x02000000
38628c2ecf20Sopenharmony_ci#define WMI_PEER_80MHZ		0x04000000
38638c2ecf20Sopenharmony_ci#define WMI_PEER_PMF		0x08000000
38648c2ecf20Sopenharmony_ci/* TODO: Place holder for WLAN_PEER_F_PS_PRESEND_REQUIRED = 0x10000000.
38658c2ecf20Sopenharmony_ci * Need to be cleaned up
38668c2ecf20Sopenharmony_ci */
38678c2ecf20Sopenharmony_ci#define WMI_PEER_IS_P2P_CAPABLE	0x20000000
38688c2ecf20Sopenharmony_ci#define WMI_PEER_160MHZ		0x40000000
38698c2ecf20Sopenharmony_ci#define WMI_PEER_SAFEMODE_EN	0x80000000
38708c2ecf20Sopenharmony_ci
38718c2ecf20Sopenharmony_cistruct beacon_tmpl_params {
38728c2ecf20Sopenharmony_ci	u8 vdev_id;
38738c2ecf20Sopenharmony_ci	u32 tim_ie_offset;
38748c2ecf20Sopenharmony_ci	u32 tmpl_len;
38758c2ecf20Sopenharmony_ci	u32 tmpl_len_aligned;
38768c2ecf20Sopenharmony_ci	u32 csa_switch_count_offset;
38778c2ecf20Sopenharmony_ci	u32 ext_csa_switch_count_offset;
38788c2ecf20Sopenharmony_ci	u8 *frm;
38798c2ecf20Sopenharmony_ci};
38808c2ecf20Sopenharmony_ci
38818c2ecf20Sopenharmony_cistruct wmi_rate_set {
38828c2ecf20Sopenharmony_ci	u32 num_rates;
38838c2ecf20Sopenharmony_ci	u32 rates[(MAX_SUPPORTED_RATES / 4) + 1];
38848c2ecf20Sopenharmony_ci};
38858c2ecf20Sopenharmony_ci
38868c2ecf20Sopenharmony_cistruct wmi_vht_rate_set {
38878c2ecf20Sopenharmony_ci	u32 tlv_header;
38888c2ecf20Sopenharmony_ci	u32 rx_max_rate;
38898c2ecf20Sopenharmony_ci	u32 rx_mcs_set;
38908c2ecf20Sopenharmony_ci	u32 tx_max_rate;
38918c2ecf20Sopenharmony_ci	u32 tx_mcs_set;
38928c2ecf20Sopenharmony_ci	u32 tx_max_mcs_nss;
38938c2ecf20Sopenharmony_ci} __packed;
38948c2ecf20Sopenharmony_ci
38958c2ecf20Sopenharmony_cistruct wmi_he_rate_set {
38968c2ecf20Sopenharmony_ci	u32 tlv_header;
38978c2ecf20Sopenharmony_ci	u32 rx_mcs_set;
38988c2ecf20Sopenharmony_ci	u32 tx_mcs_set;
38998c2ecf20Sopenharmony_ci} __packed;
39008c2ecf20Sopenharmony_ci
39018c2ecf20Sopenharmony_ci#define MAX_REG_RULES 10
39028c2ecf20Sopenharmony_ci#define REG_ALPHA2_LEN 2
39038c2ecf20Sopenharmony_ci
39048c2ecf20Sopenharmony_cienum wmi_start_event_param {
39058c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESP_EVENT = 0,
39068c2ecf20Sopenharmony_ci	WMI_VDEV_RESTART_RESP_EVENT,
39078c2ecf20Sopenharmony_ci};
39088c2ecf20Sopenharmony_ci
39098c2ecf20Sopenharmony_cistruct wmi_vdev_start_resp_event {
39108c2ecf20Sopenharmony_ci	u32 vdev_id;
39118c2ecf20Sopenharmony_ci	u32 requestor_id;
39128c2ecf20Sopenharmony_ci	enum wmi_start_event_param resp_type;
39138c2ecf20Sopenharmony_ci	u32 status;
39148c2ecf20Sopenharmony_ci	u32 chain_mask;
39158c2ecf20Sopenharmony_ci	u32 smps_mode;
39168c2ecf20Sopenharmony_ci	union {
39178c2ecf20Sopenharmony_ci		u32 mac_id;
39188c2ecf20Sopenharmony_ci		u32 pdev_id;
39198c2ecf20Sopenharmony_ci	};
39208c2ecf20Sopenharmony_ci	u32 cfgd_tx_streams;
39218c2ecf20Sopenharmony_ci	u32 cfgd_rx_streams;
39228c2ecf20Sopenharmony_ci} __packed;
39238c2ecf20Sopenharmony_ci
39248c2ecf20Sopenharmony_ci/* VDEV start response status codes */
39258c2ecf20Sopenharmony_cienum wmi_vdev_start_resp_status_code {
39268c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESPONSE_STATUS_SUCCESS = 0,
39278c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESPONSE_INVALID_VDEVID = 1,
39288c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESPONSE_NOT_SUPPORTED = 2,
39298c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESPONSE_DFS_VIOLATION = 3,
39308c2ecf20Sopenharmony_ci	WMI_VDEV_START_RESPONSE_INVALID_REGDOMAIN = 4,
39318c2ecf20Sopenharmony_ci};
39328c2ecf20Sopenharmony_ci
39338c2ecf20Sopenharmony_ci;
39348c2ecf20Sopenharmony_cienum cc_setting_code {
39358c2ecf20Sopenharmony_ci	REG_SET_CC_STATUS_PASS = 0,
39368c2ecf20Sopenharmony_ci	REG_CURRENT_ALPHA2_NOT_FOUND = 1,
39378c2ecf20Sopenharmony_ci	REG_INIT_ALPHA2_NOT_FOUND = 2,
39388c2ecf20Sopenharmony_ci	REG_SET_CC_CHANGE_NOT_ALLOWED = 3,
39398c2ecf20Sopenharmony_ci	REG_SET_CC_STATUS_NO_MEMORY = 4,
39408c2ecf20Sopenharmony_ci	REG_SET_CC_STATUS_FAIL = 5,
39418c2ecf20Sopenharmony_ci};
39428c2ecf20Sopenharmony_ci
39438c2ecf20Sopenharmony_ci/* Regaulatory Rule Flags Passed by FW */
39448c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_DISABLED     BIT(0)
39458c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_IR        BIT(1)
39468c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_RADAR        BIT(3)
39478c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_OFDM      BIT(6)
39488c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_INDOOR_ONLY  BIT(9)
39498c2ecf20Sopenharmony_ci
39508c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_HT40      BIT(4)
39518c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_80MHZ     BIT(7)
39528c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_160MHZ    BIT(8)
39538c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_20MHZ     BIT(11)
39548c2ecf20Sopenharmony_ci#define REGULATORY_CHAN_NO_10MHZ     BIT(12)
39558c2ecf20Sopenharmony_ci
39568c2ecf20Sopenharmony_cienum {
39578c2ecf20Sopenharmony_ci	WMI_REG_SET_CC_STATUS_PASS = 0,
39588c2ecf20Sopenharmony_ci	WMI_REG_CURRENT_ALPHA2_NOT_FOUND = 1,
39598c2ecf20Sopenharmony_ci	WMI_REG_INIT_ALPHA2_NOT_FOUND = 2,
39608c2ecf20Sopenharmony_ci	WMI_REG_SET_CC_CHANGE_NOT_ALLOWED = 3,
39618c2ecf20Sopenharmony_ci	WMI_REG_SET_CC_STATUS_NO_MEMORY = 4,
39628c2ecf20Sopenharmony_ci	WMI_REG_SET_CC_STATUS_FAIL = 5,
39638c2ecf20Sopenharmony_ci};
39648c2ecf20Sopenharmony_ci
39658c2ecf20Sopenharmony_cistruct cur_reg_rule {
39668c2ecf20Sopenharmony_ci	u16 start_freq;
39678c2ecf20Sopenharmony_ci	u16 end_freq;
39688c2ecf20Sopenharmony_ci	u16 max_bw;
39698c2ecf20Sopenharmony_ci	u8 reg_power;
39708c2ecf20Sopenharmony_ci	u8 ant_gain;
39718c2ecf20Sopenharmony_ci	u16 flags;
39728c2ecf20Sopenharmony_ci};
39738c2ecf20Sopenharmony_ci
39748c2ecf20Sopenharmony_cistruct cur_regulatory_info {
39758c2ecf20Sopenharmony_ci	enum cc_setting_code status_code;
39768c2ecf20Sopenharmony_ci	u8 num_phy;
39778c2ecf20Sopenharmony_ci	u8 phy_id;
39788c2ecf20Sopenharmony_ci	u16 reg_dmn_pair;
39798c2ecf20Sopenharmony_ci	u16 ctry_code;
39808c2ecf20Sopenharmony_ci	u8 alpha2[REG_ALPHA2_LEN + 1];
39818c2ecf20Sopenharmony_ci	u32 dfs_region;
39828c2ecf20Sopenharmony_ci	u32 phybitmap;
39838c2ecf20Sopenharmony_ci	u32 min_bw_2g;
39848c2ecf20Sopenharmony_ci	u32 max_bw_2g;
39858c2ecf20Sopenharmony_ci	u32 min_bw_5g;
39868c2ecf20Sopenharmony_ci	u32 max_bw_5g;
39878c2ecf20Sopenharmony_ci	u32 num_2g_reg_rules;
39888c2ecf20Sopenharmony_ci	u32 num_5g_reg_rules;
39898c2ecf20Sopenharmony_ci	struct cur_reg_rule *reg_rules_2g_ptr;
39908c2ecf20Sopenharmony_ci	struct cur_reg_rule *reg_rules_5g_ptr;
39918c2ecf20Sopenharmony_ci};
39928c2ecf20Sopenharmony_ci
39938c2ecf20Sopenharmony_cistruct wmi_reg_chan_list_cc_event {
39948c2ecf20Sopenharmony_ci	u32 status_code;
39958c2ecf20Sopenharmony_ci	u32 phy_id;
39968c2ecf20Sopenharmony_ci	u32 alpha2;
39978c2ecf20Sopenharmony_ci	u32 num_phy;
39988c2ecf20Sopenharmony_ci	u32 country_id;
39998c2ecf20Sopenharmony_ci	u32 domain_code;
40008c2ecf20Sopenharmony_ci	u32 dfs_region;
40018c2ecf20Sopenharmony_ci	u32 phybitmap;
40028c2ecf20Sopenharmony_ci	u32 min_bw_2g;
40038c2ecf20Sopenharmony_ci	u32 max_bw_2g;
40048c2ecf20Sopenharmony_ci	u32 min_bw_5g;
40058c2ecf20Sopenharmony_ci	u32 max_bw_5g;
40068c2ecf20Sopenharmony_ci	u32 num_2g_reg_rules;
40078c2ecf20Sopenharmony_ci	u32 num_5g_reg_rules;
40088c2ecf20Sopenharmony_ci} __packed;
40098c2ecf20Sopenharmony_ci
40108c2ecf20Sopenharmony_cistruct wmi_regulatory_rule_struct {
40118c2ecf20Sopenharmony_ci	u32  tlv_header;
40128c2ecf20Sopenharmony_ci	u32  freq_info;
40138c2ecf20Sopenharmony_ci	u32  bw_pwr_info;
40148c2ecf20Sopenharmony_ci	u32  flag_info;
40158c2ecf20Sopenharmony_ci};
40168c2ecf20Sopenharmony_ci
40178c2ecf20Sopenharmony_cistruct wmi_peer_delete_resp_event {
40188c2ecf20Sopenharmony_ci	u32 vdev_id;
40198c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
40208c2ecf20Sopenharmony_ci} __packed;
40218c2ecf20Sopenharmony_ci
40228c2ecf20Sopenharmony_cistruct wmi_bcn_tx_status_event {
40238c2ecf20Sopenharmony_ci	u32 vdev_id;
40248c2ecf20Sopenharmony_ci	u32 tx_status;
40258c2ecf20Sopenharmony_ci} __packed;
40268c2ecf20Sopenharmony_ci
40278c2ecf20Sopenharmony_cistruct wmi_vdev_stopped_event {
40288c2ecf20Sopenharmony_ci	u32 vdev_id;
40298c2ecf20Sopenharmony_ci} __packed;
40308c2ecf20Sopenharmony_ci
40318c2ecf20Sopenharmony_cistruct wmi_pdev_bss_chan_info_event {
40328c2ecf20Sopenharmony_ci	u32 freq;	/* Units in MHz */
40338c2ecf20Sopenharmony_ci	u32 noise_floor;	/* units are dBm */
40348c2ecf20Sopenharmony_ci	/* rx clear - how often the channel was unused */
40358c2ecf20Sopenharmony_ci	u32 rx_clear_count_low;
40368c2ecf20Sopenharmony_ci	u32 rx_clear_count_high;
40378c2ecf20Sopenharmony_ci	/* cycle count - elapsed time during measured period, in clock ticks */
40388c2ecf20Sopenharmony_ci	u32 cycle_count_low;
40398c2ecf20Sopenharmony_ci	u32 cycle_count_high;
40408c2ecf20Sopenharmony_ci	/* tx cycle count - elapsed time spent in tx, in clock ticks */
40418c2ecf20Sopenharmony_ci	u32 tx_cycle_count_low;
40428c2ecf20Sopenharmony_ci	u32 tx_cycle_count_high;
40438c2ecf20Sopenharmony_ci	/* rx cycle count - elapsed time spent in rx, in clock ticks */
40448c2ecf20Sopenharmony_ci	u32 rx_cycle_count_low;
40458c2ecf20Sopenharmony_ci	u32 rx_cycle_count_high;
40468c2ecf20Sopenharmony_ci	/*rx_cycle cnt for my bss in 64bits format */
40478c2ecf20Sopenharmony_ci	u32 rx_bss_cycle_count_low;
40488c2ecf20Sopenharmony_ci	u32 rx_bss_cycle_count_high;
40498c2ecf20Sopenharmony_ci	u32 pdev_id;
40508c2ecf20Sopenharmony_ci} __packed;
40518c2ecf20Sopenharmony_ci
40528c2ecf20Sopenharmony_ci#define WMI_VDEV_INSTALL_KEY_COMPL_STATUS_SUCCESS 0
40538c2ecf20Sopenharmony_ci
40548c2ecf20Sopenharmony_cistruct wmi_vdev_install_key_compl_event {
40558c2ecf20Sopenharmony_ci	u32 vdev_id;
40568c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
40578c2ecf20Sopenharmony_ci	u32 key_idx;
40588c2ecf20Sopenharmony_ci	u32 key_flags;
40598c2ecf20Sopenharmony_ci	u32 status;
40608c2ecf20Sopenharmony_ci} __packed;
40618c2ecf20Sopenharmony_ci
40628c2ecf20Sopenharmony_cistruct wmi_vdev_install_key_complete_arg {
40638c2ecf20Sopenharmony_ci	u32 vdev_id;
40648c2ecf20Sopenharmony_ci	const u8 *macaddr;
40658c2ecf20Sopenharmony_ci	u32 key_idx;
40668c2ecf20Sopenharmony_ci	u32 key_flags;
40678c2ecf20Sopenharmony_ci	u32 status;
40688c2ecf20Sopenharmony_ci};
40698c2ecf20Sopenharmony_ci
40708c2ecf20Sopenharmony_cistruct wmi_peer_assoc_conf_event {
40718c2ecf20Sopenharmony_ci	u32 vdev_id;
40728c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
40738c2ecf20Sopenharmony_ci} __packed;
40748c2ecf20Sopenharmony_ci
40758c2ecf20Sopenharmony_cistruct wmi_peer_assoc_conf_arg {
40768c2ecf20Sopenharmony_ci	u32 vdev_id;
40778c2ecf20Sopenharmony_ci	const u8 *macaddr;
40788c2ecf20Sopenharmony_ci};
40798c2ecf20Sopenharmony_ci
40808c2ecf20Sopenharmony_ci/*
40818c2ecf20Sopenharmony_ci * PDEV statistics
40828c2ecf20Sopenharmony_ci */
40838c2ecf20Sopenharmony_cistruct wmi_pdev_stats_base {
40848c2ecf20Sopenharmony_ci	s32 chan_nf;
40858c2ecf20Sopenharmony_ci	u32 tx_frame_count; /* Cycles spent transmitting frames */
40868c2ecf20Sopenharmony_ci	u32 rx_frame_count; /* Cycles spent receiving frames */
40878c2ecf20Sopenharmony_ci	u32 rx_clear_count; /* Total channel busy time, evidently */
40888c2ecf20Sopenharmony_ci	u32 cycle_count; /* Total on-channel time */
40898c2ecf20Sopenharmony_ci	u32 phy_err_count;
40908c2ecf20Sopenharmony_ci	u32 chan_tx_pwr;
40918c2ecf20Sopenharmony_ci} __packed;
40928c2ecf20Sopenharmony_ci
40938c2ecf20Sopenharmony_cistruct wmi_pdev_stats_extra {
40948c2ecf20Sopenharmony_ci	u32 ack_rx_bad;
40958c2ecf20Sopenharmony_ci	u32 rts_bad;
40968c2ecf20Sopenharmony_ci	u32 rts_good;
40978c2ecf20Sopenharmony_ci	u32 fcs_bad;
40988c2ecf20Sopenharmony_ci	u32 no_beacons;
40998c2ecf20Sopenharmony_ci	u32 mib_int_count;
41008c2ecf20Sopenharmony_ci} __packed;
41018c2ecf20Sopenharmony_ci
41028c2ecf20Sopenharmony_cistruct wmi_pdev_stats_tx {
41038c2ecf20Sopenharmony_ci	/* Num HTT cookies queued to dispatch list */
41048c2ecf20Sopenharmony_ci	s32 comp_queued;
41058c2ecf20Sopenharmony_ci
41068c2ecf20Sopenharmony_ci	/* Num HTT cookies dispatched */
41078c2ecf20Sopenharmony_ci	s32 comp_delivered;
41088c2ecf20Sopenharmony_ci
41098c2ecf20Sopenharmony_ci	/* Num MSDU queued to WAL */
41108c2ecf20Sopenharmony_ci	s32 msdu_enqued;
41118c2ecf20Sopenharmony_ci
41128c2ecf20Sopenharmony_ci	/* Num MPDU queue to WAL */
41138c2ecf20Sopenharmony_ci	s32 mpdu_enqued;
41148c2ecf20Sopenharmony_ci
41158c2ecf20Sopenharmony_ci	/* Num MSDUs dropped by WMM limit */
41168c2ecf20Sopenharmony_ci	s32 wmm_drop;
41178c2ecf20Sopenharmony_ci
41188c2ecf20Sopenharmony_ci	/* Num Local frames queued */
41198c2ecf20Sopenharmony_ci	s32 local_enqued;
41208c2ecf20Sopenharmony_ci
41218c2ecf20Sopenharmony_ci	/* Num Local frames done */
41228c2ecf20Sopenharmony_ci	s32 local_freed;
41238c2ecf20Sopenharmony_ci
41248c2ecf20Sopenharmony_ci	/* Num queued to HW */
41258c2ecf20Sopenharmony_ci	s32 hw_queued;
41268c2ecf20Sopenharmony_ci
41278c2ecf20Sopenharmony_ci	/* Num PPDU reaped from HW */
41288c2ecf20Sopenharmony_ci	s32 hw_reaped;
41298c2ecf20Sopenharmony_ci
41308c2ecf20Sopenharmony_ci	/* Num underruns */
41318c2ecf20Sopenharmony_ci	s32 underrun;
41328c2ecf20Sopenharmony_ci
41338c2ecf20Sopenharmony_ci	/* Num PPDUs cleaned up in TX abort */
41348c2ecf20Sopenharmony_ci	s32 tx_abort;
41358c2ecf20Sopenharmony_ci
41368c2ecf20Sopenharmony_ci	/* Num MPDUs requed by SW */
41378c2ecf20Sopenharmony_ci	s32 mpdus_requed;
41388c2ecf20Sopenharmony_ci
41398c2ecf20Sopenharmony_ci	/* excessive retries */
41408c2ecf20Sopenharmony_ci	u32 tx_ko;
41418c2ecf20Sopenharmony_ci
41428c2ecf20Sopenharmony_ci	/* data hw rate code */
41438c2ecf20Sopenharmony_ci	u32 data_rc;
41448c2ecf20Sopenharmony_ci
41458c2ecf20Sopenharmony_ci	/* Scheduler self triggers */
41468c2ecf20Sopenharmony_ci	u32 self_triggers;
41478c2ecf20Sopenharmony_ci
41488c2ecf20Sopenharmony_ci	/* frames dropped due to excessive sw retries */
41498c2ecf20Sopenharmony_ci	u32 sw_retry_failure;
41508c2ecf20Sopenharmony_ci
41518c2ecf20Sopenharmony_ci	/* illegal rate phy errors  */
41528c2ecf20Sopenharmony_ci	u32 illgl_rate_phy_err;
41538c2ecf20Sopenharmony_ci
41548c2ecf20Sopenharmony_ci	/* wal pdev continuous xretry */
41558c2ecf20Sopenharmony_ci	u32 pdev_cont_xretry;
41568c2ecf20Sopenharmony_ci
41578c2ecf20Sopenharmony_ci	/* wal pdev tx timeouts */
41588c2ecf20Sopenharmony_ci	u32 pdev_tx_timeout;
41598c2ecf20Sopenharmony_ci
41608c2ecf20Sopenharmony_ci	/* wal pdev resets  */
41618c2ecf20Sopenharmony_ci	u32 pdev_resets;
41628c2ecf20Sopenharmony_ci
41638c2ecf20Sopenharmony_ci	/* frames dropped due to non-availability of stateless TIDs */
41648c2ecf20Sopenharmony_ci	u32 stateless_tid_alloc_failure;
41658c2ecf20Sopenharmony_ci
41668c2ecf20Sopenharmony_ci	/* PhY/BB underrun */
41678c2ecf20Sopenharmony_ci	u32 phy_underrun;
41688c2ecf20Sopenharmony_ci
41698c2ecf20Sopenharmony_ci	/* MPDU is more than txop limit */
41708c2ecf20Sopenharmony_ci	u32 txop_ovf;
41718c2ecf20Sopenharmony_ci} __packed;
41728c2ecf20Sopenharmony_ci
41738c2ecf20Sopenharmony_cistruct wmi_pdev_stats_rx {
41748c2ecf20Sopenharmony_ci	/* Cnts any change in ring routing mid-ppdu */
41758c2ecf20Sopenharmony_ci	s32 mid_ppdu_route_change;
41768c2ecf20Sopenharmony_ci
41778c2ecf20Sopenharmony_ci	/* Total number of statuses processed */
41788c2ecf20Sopenharmony_ci	s32 status_rcvd;
41798c2ecf20Sopenharmony_ci
41808c2ecf20Sopenharmony_ci	/* Extra frags on rings 0-3 */
41818c2ecf20Sopenharmony_ci	s32 r0_frags;
41828c2ecf20Sopenharmony_ci	s32 r1_frags;
41838c2ecf20Sopenharmony_ci	s32 r2_frags;
41848c2ecf20Sopenharmony_ci	s32 r3_frags;
41858c2ecf20Sopenharmony_ci
41868c2ecf20Sopenharmony_ci	/* MSDUs / MPDUs delivered to HTT */
41878c2ecf20Sopenharmony_ci	s32 htt_msdus;
41888c2ecf20Sopenharmony_ci	s32 htt_mpdus;
41898c2ecf20Sopenharmony_ci
41908c2ecf20Sopenharmony_ci	/* MSDUs / MPDUs delivered to local stack */
41918c2ecf20Sopenharmony_ci	s32 loc_msdus;
41928c2ecf20Sopenharmony_ci	s32 loc_mpdus;
41938c2ecf20Sopenharmony_ci
41948c2ecf20Sopenharmony_ci	/* AMSDUs that have more MSDUs than the status ring size */
41958c2ecf20Sopenharmony_ci	s32 oversize_amsdu;
41968c2ecf20Sopenharmony_ci
41978c2ecf20Sopenharmony_ci	/* Number of PHY errors */
41988c2ecf20Sopenharmony_ci	s32 phy_errs;
41998c2ecf20Sopenharmony_ci
42008c2ecf20Sopenharmony_ci	/* Number of PHY errors drops */
42018c2ecf20Sopenharmony_ci	s32 phy_err_drop;
42028c2ecf20Sopenharmony_ci
42038c2ecf20Sopenharmony_ci	/* Number of mpdu errors - FCS, MIC, ENC etc. */
42048c2ecf20Sopenharmony_ci	s32 mpdu_errs;
42058c2ecf20Sopenharmony_ci} __packed;
42068c2ecf20Sopenharmony_ci
42078c2ecf20Sopenharmony_cistruct wmi_pdev_stats {
42088c2ecf20Sopenharmony_ci	struct wmi_pdev_stats_base base;
42098c2ecf20Sopenharmony_ci	struct wmi_pdev_stats_tx tx;
42108c2ecf20Sopenharmony_ci	struct wmi_pdev_stats_rx rx;
42118c2ecf20Sopenharmony_ci} __packed;
42128c2ecf20Sopenharmony_ci
42138c2ecf20Sopenharmony_ci#define WLAN_MAX_AC 4
42148c2ecf20Sopenharmony_ci#define MAX_TX_RATE_VALUES 10
42158c2ecf20Sopenharmony_ci#define MAX_TX_RATE_VALUES 10
42168c2ecf20Sopenharmony_ci
42178c2ecf20Sopenharmony_cistruct wmi_vdev_stats {
42188c2ecf20Sopenharmony_ci	u32 vdev_id;
42198c2ecf20Sopenharmony_ci	u32 beacon_snr;
42208c2ecf20Sopenharmony_ci	u32 data_snr;
42218c2ecf20Sopenharmony_ci	u32 num_tx_frames[WLAN_MAX_AC];
42228c2ecf20Sopenharmony_ci	u32 num_rx_frames;
42238c2ecf20Sopenharmony_ci	u32 num_tx_frames_retries[WLAN_MAX_AC];
42248c2ecf20Sopenharmony_ci	u32 num_tx_frames_failures[WLAN_MAX_AC];
42258c2ecf20Sopenharmony_ci	u32 num_rts_fail;
42268c2ecf20Sopenharmony_ci	u32 num_rts_success;
42278c2ecf20Sopenharmony_ci	u32 num_rx_err;
42288c2ecf20Sopenharmony_ci	u32 num_rx_discard;
42298c2ecf20Sopenharmony_ci	u32 num_tx_not_acked;
42308c2ecf20Sopenharmony_ci	u32 tx_rate_history[MAX_TX_RATE_VALUES];
42318c2ecf20Sopenharmony_ci	u32 beacon_rssi_history[MAX_TX_RATE_VALUES];
42328c2ecf20Sopenharmony_ci} __packed;
42338c2ecf20Sopenharmony_ci
42348c2ecf20Sopenharmony_cistruct wmi_bcn_stats {
42358c2ecf20Sopenharmony_ci	u32 vdev_id;
42368c2ecf20Sopenharmony_ci	u32 tx_bcn_succ_cnt;
42378c2ecf20Sopenharmony_ci	u32 tx_bcn_outage_cnt;
42388c2ecf20Sopenharmony_ci} __packed;
42398c2ecf20Sopenharmony_ci
42408c2ecf20Sopenharmony_cistruct wmi_stats_event {
42418c2ecf20Sopenharmony_ci	u32 stats_id;
42428c2ecf20Sopenharmony_ci	u32 num_pdev_stats;
42438c2ecf20Sopenharmony_ci	u32 num_vdev_stats;
42448c2ecf20Sopenharmony_ci	u32 num_peer_stats;
42458c2ecf20Sopenharmony_ci	u32 num_bcnflt_stats;
42468c2ecf20Sopenharmony_ci	u32 num_chan_stats;
42478c2ecf20Sopenharmony_ci	u32 num_mib_stats;
42488c2ecf20Sopenharmony_ci	u32 pdev_id;
42498c2ecf20Sopenharmony_ci	u32 num_bcn_stats;
42508c2ecf20Sopenharmony_ci	u32 num_peer_extd_stats;
42518c2ecf20Sopenharmony_ci	u32 num_peer_extd2_stats;
42528c2ecf20Sopenharmony_ci} __packed;
42538c2ecf20Sopenharmony_ci
42548c2ecf20Sopenharmony_cistruct wmi_pdev_ctl_failsafe_chk_event {
42558c2ecf20Sopenharmony_ci	u32 pdev_id;
42568c2ecf20Sopenharmony_ci	u32 ctl_failsafe_status;
42578c2ecf20Sopenharmony_ci} __packed;
42588c2ecf20Sopenharmony_ci
42598c2ecf20Sopenharmony_cistruct wmi_pdev_csa_switch_ev {
42608c2ecf20Sopenharmony_ci	u32 pdev_id;
42618c2ecf20Sopenharmony_ci	u32 current_switch_count;
42628c2ecf20Sopenharmony_ci	u32 num_vdevs;
42638c2ecf20Sopenharmony_ci} __packed;
42648c2ecf20Sopenharmony_ci
42658c2ecf20Sopenharmony_cistruct wmi_pdev_radar_ev {
42668c2ecf20Sopenharmony_ci	u32 pdev_id;
42678c2ecf20Sopenharmony_ci	u32 detection_mode;
42688c2ecf20Sopenharmony_ci	u32 chan_freq;
42698c2ecf20Sopenharmony_ci	u32 chan_width;
42708c2ecf20Sopenharmony_ci	u32 detector_id;
42718c2ecf20Sopenharmony_ci	u32 segment_id;
42728c2ecf20Sopenharmony_ci	u32 timestamp;
42738c2ecf20Sopenharmony_ci	u32 is_chirp;
42748c2ecf20Sopenharmony_ci	s32 freq_offset;
42758c2ecf20Sopenharmony_ci	s32 sidx;
42768c2ecf20Sopenharmony_ci} __packed;
42778c2ecf20Sopenharmony_ci
42788c2ecf20Sopenharmony_cistruct wmi_pdev_temperature_event {
42798c2ecf20Sopenharmony_ci	/* temperature value in Celcius degree */
42808c2ecf20Sopenharmony_ci	s32 temp;
42818c2ecf20Sopenharmony_ci	u32 pdev_id;
42828c2ecf20Sopenharmony_ci} __packed;
42838c2ecf20Sopenharmony_ci
42848c2ecf20Sopenharmony_ci#define WMI_RX_STATUS_OK			0x00
42858c2ecf20Sopenharmony_ci#define WMI_RX_STATUS_ERR_CRC			0x01
42868c2ecf20Sopenharmony_ci#define WMI_RX_STATUS_ERR_DECRYPT		0x08
42878c2ecf20Sopenharmony_ci#define WMI_RX_STATUS_ERR_MIC			0x10
42888c2ecf20Sopenharmony_ci#define WMI_RX_STATUS_ERR_KEY_CACHE_MISS	0x20
42898c2ecf20Sopenharmony_ci
42908c2ecf20Sopenharmony_ci#define WLAN_MGMT_TXRX_HOST_MAX_ANTENNA 4
42918c2ecf20Sopenharmony_ci
42928c2ecf20Sopenharmony_cistruct mgmt_rx_event_params {
42938c2ecf20Sopenharmony_ci	u32 chan_freq;
42948c2ecf20Sopenharmony_ci	u32 channel;
42958c2ecf20Sopenharmony_ci	u32 snr;
42968c2ecf20Sopenharmony_ci	u8 rssi_ctl[WLAN_MGMT_TXRX_HOST_MAX_ANTENNA];
42978c2ecf20Sopenharmony_ci	u32 rate;
42988c2ecf20Sopenharmony_ci	enum wmi_phy_mode phy_mode;
42998c2ecf20Sopenharmony_ci	u32 buf_len;
43008c2ecf20Sopenharmony_ci	int status;
43018c2ecf20Sopenharmony_ci	u32 flags;
43028c2ecf20Sopenharmony_ci	int rssi;
43038c2ecf20Sopenharmony_ci	u32 tsf_delta;
43048c2ecf20Sopenharmony_ci	u8 pdev_id;
43058c2ecf20Sopenharmony_ci};
43068c2ecf20Sopenharmony_ci
43078c2ecf20Sopenharmony_ci#define ATH_MAX_ANTENNA 4
43088c2ecf20Sopenharmony_ci
43098c2ecf20Sopenharmony_cistruct wmi_mgmt_rx_hdr {
43108c2ecf20Sopenharmony_ci	u32 channel;
43118c2ecf20Sopenharmony_ci	u32 snr;
43128c2ecf20Sopenharmony_ci	u32 rate;
43138c2ecf20Sopenharmony_ci	u32 phy_mode;
43148c2ecf20Sopenharmony_ci	u32 buf_len;
43158c2ecf20Sopenharmony_ci	u32 status;
43168c2ecf20Sopenharmony_ci	u32 rssi_ctl[ATH_MAX_ANTENNA];
43178c2ecf20Sopenharmony_ci	u32 flags;
43188c2ecf20Sopenharmony_ci	int rssi;
43198c2ecf20Sopenharmony_ci	u32 tsf_delta;
43208c2ecf20Sopenharmony_ci	u32 rx_tsf_l32;
43218c2ecf20Sopenharmony_ci	u32 rx_tsf_u32;
43228c2ecf20Sopenharmony_ci	u32 pdev_id;
43238c2ecf20Sopenharmony_ci	u32 chan_freq;
43248c2ecf20Sopenharmony_ci} __packed;
43258c2ecf20Sopenharmony_ci
43268c2ecf20Sopenharmony_ci#define MAX_ANTENNA_EIGHT 8
43278c2ecf20Sopenharmony_ci
43288c2ecf20Sopenharmony_cistruct wmi_rssi_ctl_ext {
43298c2ecf20Sopenharmony_ci	u32 tlv_header;
43308c2ecf20Sopenharmony_ci	u32 rssi_ctl_ext[MAX_ANTENNA_EIGHT - ATH_MAX_ANTENNA];
43318c2ecf20Sopenharmony_ci};
43328c2ecf20Sopenharmony_ci
43338c2ecf20Sopenharmony_cistruct wmi_mgmt_tx_compl_event {
43348c2ecf20Sopenharmony_ci	u32 desc_id;
43358c2ecf20Sopenharmony_ci	u32 status;
43368c2ecf20Sopenharmony_ci	u32 pdev_id;
43378c2ecf20Sopenharmony_ci} __packed;
43388c2ecf20Sopenharmony_ci
43398c2ecf20Sopenharmony_cistruct wmi_scan_event {
43408c2ecf20Sopenharmony_ci	u32 event_type; /* %WMI_SCAN_EVENT_ */
43418c2ecf20Sopenharmony_ci	u32 reason; /* %WMI_SCAN_REASON_ */
43428c2ecf20Sopenharmony_ci	u32 channel_freq; /* only valid for WMI_SCAN_EVENT_FOREIGN_CHANNEL */
43438c2ecf20Sopenharmony_ci	u32 scan_req_id;
43448c2ecf20Sopenharmony_ci	u32 scan_id;
43458c2ecf20Sopenharmony_ci	u32 vdev_id;
43468c2ecf20Sopenharmony_ci	/* TSF Timestamp when the scan event (%WMI_SCAN_EVENT_) is completed
43478c2ecf20Sopenharmony_ci	 * In case of AP it is TSF of the AP vdev
43488c2ecf20Sopenharmony_ci	 * In case of STA connected state, this is the TSF of the AP
43498c2ecf20Sopenharmony_ci	 * In case of STA not connected, it will be the free running HW timer
43508c2ecf20Sopenharmony_ci	 */
43518c2ecf20Sopenharmony_ci	u32 tsf_timestamp;
43528c2ecf20Sopenharmony_ci} __packed;
43538c2ecf20Sopenharmony_ci
43548c2ecf20Sopenharmony_cistruct wmi_peer_sta_kickout_arg {
43558c2ecf20Sopenharmony_ci	const u8 *mac_addr;
43568c2ecf20Sopenharmony_ci};
43578c2ecf20Sopenharmony_ci
43588c2ecf20Sopenharmony_cistruct wmi_peer_sta_kickout_event {
43598c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
43608c2ecf20Sopenharmony_ci} __packed;
43618c2ecf20Sopenharmony_ci
43628c2ecf20Sopenharmony_cienum wmi_roam_reason {
43638c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_BETTER_AP = 1,
43648c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_BEACON_MISS = 2,
43658c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_LOW_RSSI = 3,
43668c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_SUITABLE_AP_FOUND = 4,
43678c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_HO_FAILED = 5,
43688c2ecf20Sopenharmony_ci
43698c2ecf20Sopenharmony_ci	/* keep last */
43708c2ecf20Sopenharmony_ci	WMI_ROAM_REASON_MAX,
43718c2ecf20Sopenharmony_ci};
43728c2ecf20Sopenharmony_ci
43738c2ecf20Sopenharmony_cistruct wmi_roam_event {
43748c2ecf20Sopenharmony_ci	u32 vdev_id;
43758c2ecf20Sopenharmony_ci	u32 reason;
43768c2ecf20Sopenharmony_ci	u32 rssi;
43778c2ecf20Sopenharmony_ci} __packed;
43788c2ecf20Sopenharmony_ci
43798c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_START_RESP 0
43808c2ecf20Sopenharmony_ci#define WMI_CHAN_INFO_END_RESP 1
43818c2ecf20Sopenharmony_ci
43828c2ecf20Sopenharmony_cistruct wmi_chan_info_event {
43838c2ecf20Sopenharmony_ci	u32 err_code;
43848c2ecf20Sopenharmony_ci	u32 freq;
43858c2ecf20Sopenharmony_ci	u32 cmd_flags;
43868c2ecf20Sopenharmony_ci	u32 noise_floor;
43878c2ecf20Sopenharmony_ci	u32 rx_clear_count;
43888c2ecf20Sopenharmony_ci	u32 cycle_count;
43898c2ecf20Sopenharmony_ci	u32 chan_tx_pwr_range;
43908c2ecf20Sopenharmony_ci	u32 chan_tx_pwr_tp;
43918c2ecf20Sopenharmony_ci	u32 rx_frame_count;
43928c2ecf20Sopenharmony_ci	u32 my_bss_rx_cycle_count;
43938c2ecf20Sopenharmony_ci	u32 rx_11b_mode_data_duration;
43948c2ecf20Sopenharmony_ci	u32 tx_frame_cnt;
43958c2ecf20Sopenharmony_ci	u32 mac_clk_mhz;
43968c2ecf20Sopenharmony_ci	u32 vdev_id;
43978c2ecf20Sopenharmony_ci} __packed;
43988c2ecf20Sopenharmony_ci
43998c2ecf20Sopenharmony_cistruct ath11k_targ_cap {
44008c2ecf20Sopenharmony_ci	u32 phy_capability;
44018c2ecf20Sopenharmony_ci	u32 max_frag_entry;
44028c2ecf20Sopenharmony_ci	u32 num_rf_chains;
44038c2ecf20Sopenharmony_ci	u32 ht_cap_info;
44048c2ecf20Sopenharmony_ci	u32 vht_cap_info;
44058c2ecf20Sopenharmony_ci	u32 vht_supp_mcs;
44068c2ecf20Sopenharmony_ci	u32 hw_min_tx_power;
44078c2ecf20Sopenharmony_ci	u32 hw_max_tx_power;
44088c2ecf20Sopenharmony_ci	u32 sys_cap_info;
44098c2ecf20Sopenharmony_ci	u32 min_pkt_size_enable;
44108c2ecf20Sopenharmony_ci	u32 max_bcn_ie_size;
44118c2ecf20Sopenharmony_ci	u32 max_num_scan_channels;
44128c2ecf20Sopenharmony_ci	u32 max_supported_macs;
44138c2ecf20Sopenharmony_ci	u32 wmi_fw_sub_feat_caps;
44148c2ecf20Sopenharmony_ci	u32 txrx_chainmask;
44158c2ecf20Sopenharmony_ci	u32 default_dbs_hw_mode_index;
44168c2ecf20Sopenharmony_ci	u32 num_msdu_desc;
44178c2ecf20Sopenharmony_ci};
44188c2ecf20Sopenharmony_ci
44198c2ecf20Sopenharmony_cienum wmi_vdev_type {
44208c2ecf20Sopenharmony_ci	WMI_VDEV_TYPE_AP      = 1,
44218c2ecf20Sopenharmony_ci	WMI_VDEV_TYPE_STA     = 2,
44228c2ecf20Sopenharmony_ci	WMI_VDEV_TYPE_IBSS    = 3,
44238c2ecf20Sopenharmony_ci	WMI_VDEV_TYPE_MONITOR = 4,
44248c2ecf20Sopenharmony_ci};
44258c2ecf20Sopenharmony_ci
44268c2ecf20Sopenharmony_cienum wmi_vdev_subtype {
44278c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_NONE,
44288c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_P2P_DEVICE,
44298c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_P2P_CLIENT,
44308c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_P2P_GO,
44318c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_PROXY_STA,
44328c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_MESH_NON_11S,
44338c2ecf20Sopenharmony_ci	WMI_VDEV_SUBTYPE_MESH_11S,
44348c2ecf20Sopenharmony_ci};
44358c2ecf20Sopenharmony_ci
44368c2ecf20Sopenharmony_cienum wmi_sta_powersave_param {
44378c2ecf20Sopenharmony_ci	WMI_STA_PS_PARAM_RX_WAKE_POLICY = 0,
44388c2ecf20Sopenharmony_ci	WMI_STA_PS_PARAM_TX_WAKE_THRESHOLD = 1,
44398c2ecf20Sopenharmony_ci	WMI_STA_PS_PARAM_PSPOLL_COUNT = 2,
44408c2ecf20Sopenharmony_ci	WMI_STA_PS_PARAM_INACTIVITY_TIME = 3,
44418c2ecf20Sopenharmony_ci	WMI_STA_PS_PARAM_UAPSD = 4,
44428c2ecf20Sopenharmony_ci};
44438c2ecf20Sopenharmony_ci
44448c2ecf20Sopenharmony_ci#define WMI_UAPSD_AC_TYPE_DELI 0
44458c2ecf20Sopenharmony_ci#define WMI_UAPSD_AC_TYPE_TRIG 1
44468c2ecf20Sopenharmony_ci
44478c2ecf20Sopenharmony_ci#define WMI_UAPSD_AC_BIT_MASK(ac, type) \
44488c2ecf20Sopenharmony_ci	((type ==  WMI_UAPSD_AC_TYPE_DELI) ? \
44498c2ecf20Sopenharmony_ci	 (1 << (ac << 1)) : (1 << ((ac << 1) + 1)))
44508c2ecf20Sopenharmony_ci
44518c2ecf20Sopenharmony_cienum wmi_sta_ps_param_uapsd {
44528c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
44538c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC0_TRIGGER_EN  = (1 << 1),
44548c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC1_DELIVERY_EN = (1 << 2),
44558c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC1_TRIGGER_EN  = (1 << 3),
44568c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC2_DELIVERY_EN = (1 << 4),
44578c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC2_TRIGGER_EN  = (1 << 5),
44588c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC3_DELIVERY_EN = (1 << 6),
44598c2ecf20Sopenharmony_ci	WMI_STA_PS_UAPSD_AC3_TRIGGER_EN  = (1 << 7),
44608c2ecf20Sopenharmony_ci};
44618c2ecf20Sopenharmony_ci
44628c2ecf20Sopenharmony_ci#define WMI_STA_UAPSD_MAX_INTERVAL_MSEC UINT_MAX
44638c2ecf20Sopenharmony_ci
44648c2ecf20Sopenharmony_cistruct wmi_sta_uapsd_auto_trig_param {
44658c2ecf20Sopenharmony_ci	u32 wmm_ac;
44668c2ecf20Sopenharmony_ci	u32 user_priority;
44678c2ecf20Sopenharmony_ci	u32 service_interval;
44688c2ecf20Sopenharmony_ci	u32 suspend_interval;
44698c2ecf20Sopenharmony_ci	u32 delay_interval;
44708c2ecf20Sopenharmony_ci};
44718c2ecf20Sopenharmony_ci
44728c2ecf20Sopenharmony_cistruct wmi_sta_uapsd_auto_trig_cmd_fixed_param {
44738c2ecf20Sopenharmony_ci	u32 vdev_id;
44748c2ecf20Sopenharmony_ci	struct wmi_mac_addr peer_macaddr;
44758c2ecf20Sopenharmony_ci	u32 num_ac;
44768c2ecf20Sopenharmony_ci};
44778c2ecf20Sopenharmony_ci
44788c2ecf20Sopenharmony_cistruct wmi_sta_uapsd_auto_trig_arg {
44798c2ecf20Sopenharmony_ci	u32 wmm_ac;
44808c2ecf20Sopenharmony_ci	u32 user_priority;
44818c2ecf20Sopenharmony_ci	u32 service_interval;
44828c2ecf20Sopenharmony_ci	u32 suspend_interval;
44838c2ecf20Sopenharmony_ci	u32 delay_interval;
44848c2ecf20Sopenharmony_ci};
44858c2ecf20Sopenharmony_ci
44868c2ecf20Sopenharmony_cienum wmi_sta_ps_param_tx_wake_threshold {
44878c2ecf20Sopenharmony_ci	WMI_STA_PS_TX_WAKE_THRESHOLD_NEVER = 0,
44888c2ecf20Sopenharmony_ci	WMI_STA_PS_TX_WAKE_THRESHOLD_ALWAYS = 1,
44898c2ecf20Sopenharmony_ci
44908c2ecf20Sopenharmony_ci	/* Values greater than one indicate that many TX attempts per beacon
44918c2ecf20Sopenharmony_ci	 * interval before the STA will wake up
44928c2ecf20Sopenharmony_ci	 */
44938c2ecf20Sopenharmony_ci};
44948c2ecf20Sopenharmony_ci
44958c2ecf20Sopenharmony_ci/* The maximum number of PS-Poll frames the FW will send in response to
44968c2ecf20Sopenharmony_ci * traffic advertised in TIM before waking up (by sending a null frame with PS
44978c2ecf20Sopenharmony_ci * = 0). Value 0 has a special meaning: there is no maximum count and the FW
44988c2ecf20Sopenharmony_ci * will send as many PS-Poll as are necessary to retrieve buffered BU. This
44998c2ecf20Sopenharmony_ci * parameter is used when the RX wake policy is
45008c2ecf20Sopenharmony_ci * WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD and ignored when the RX wake
45018c2ecf20Sopenharmony_ci * policy is WMI_STA_PS_RX_WAKE_POLICY_WAKE.
45028c2ecf20Sopenharmony_ci */
45038c2ecf20Sopenharmony_cienum wmi_sta_ps_param_pspoll_count {
45048c2ecf20Sopenharmony_ci	WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0,
45058c2ecf20Sopenharmony_ci	/* Values greater than 0 indicate the maximum numer of PS-Poll frames
45068c2ecf20Sopenharmony_ci	 * FW will send before waking up.
45078c2ecf20Sopenharmony_ci	 */
45088c2ecf20Sopenharmony_ci};
45098c2ecf20Sopenharmony_ci
45108c2ecf20Sopenharmony_ci/* U-APSD configuration of peer station from (re)assoc request and TSPECs */
45118c2ecf20Sopenharmony_cienum wmi_ap_ps_param_uapsd {
45128c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
45138c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC0_TRIGGER_EN  = (1 << 1),
45148c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC1_DELIVERY_EN = (1 << 2),
45158c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC1_TRIGGER_EN  = (1 << 3),
45168c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC2_DELIVERY_EN = (1 << 4),
45178c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC2_TRIGGER_EN  = (1 << 5),
45188c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC3_DELIVERY_EN = (1 << 6),
45198c2ecf20Sopenharmony_ci	WMI_AP_PS_UAPSD_AC3_TRIGGER_EN  = (1 << 7),
45208c2ecf20Sopenharmony_ci};
45218c2ecf20Sopenharmony_ci
45228c2ecf20Sopenharmony_ci/* U-APSD maximum service period of peer station */
45238c2ecf20Sopenharmony_cienum wmi_ap_ps_peer_param_max_sp {
45248c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_MAX_SP_UNLIMITED = 0,
45258c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_MAX_SP_2 = 1,
45268c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_MAX_SP_4 = 2,
45278c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_MAX_SP_6 = 3,
45288c2ecf20Sopenharmony_ci	MAX_WMI_AP_PS_PEER_PARAM_MAX_SP,
45298c2ecf20Sopenharmony_ci};
45308c2ecf20Sopenharmony_ci
45318c2ecf20Sopenharmony_cienum wmi_ap_ps_peer_param {
45328c2ecf20Sopenharmony_ci	/** Set uapsd configuration for a given peer.
45338c2ecf20Sopenharmony_ci	 *
45348c2ecf20Sopenharmony_ci	 * This include the delivery and trigger enabled state for each AC.
45358c2ecf20Sopenharmony_ci	 * The host MLME needs to set this based on AP capability and stations
45368c2ecf20Sopenharmony_ci	 * request Set in the association request  received from the station.
45378c2ecf20Sopenharmony_ci	 *
45388c2ecf20Sopenharmony_ci	 * Lower 8 bits of the value specify the UAPSD configuration.
45398c2ecf20Sopenharmony_ci	 *
45408c2ecf20Sopenharmony_ci	 * (see enum wmi_ap_ps_param_uapsd)
45418c2ecf20Sopenharmony_ci	 * The default value is 0.
45428c2ecf20Sopenharmony_ci	 */
45438c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_UAPSD = 0,
45448c2ecf20Sopenharmony_ci
45458c2ecf20Sopenharmony_ci	/**
45468c2ecf20Sopenharmony_ci	 * Set the service period for a UAPSD capable station
45478c2ecf20Sopenharmony_ci	 *
45488c2ecf20Sopenharmony_ci	 * The service period from wme ie in the (re)assoc request frame.
45498c2ecf20Sopenharmony_ci	 *
45508c2ecf20Sopenharmony_ci	 * (see enum wmi_ap_ps_peer_param_max_sp)
45518c2ecf20Sopenharmony_ci	 */
45528c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_MAX_SP = 1,
45538c2ecf20Sopenharmony_ci
45548c2ecf20Sopenharmony_ci	/** Time in seconds for aging out buffered frames
45558c2ecf20Sopenharmony_ci	 * for STA in power save
45568c2ecf20Sopenharmony_ci	 */
45578c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_AGEOUT_TIME = 2,
45588c2ecf20Sopenharmony_ci
45598c2ecf20Sopenharmony_ci	/** Specify frame types that are considered SIFS
45608c2ecf20Sopenharmony_ci	 * RESP trigger frame
45618c2ecf20Sopenharmony_ci	 */
45628c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_SIFS_RESP_FRMTYPE = 3,
45638c2ecf20Sopenharmony_ci
45648c2ecf20Sopenharmony_ci	/** Specifies the trigger state of TID.
45658c2ecf20Sopenharmony_ci	 * Valid only for UAPSD frame type
45668c2ecf20Sopenharmony_ci	 */
45678c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_SIFS_RESP_UAPSD = 4,
45688c2ecf20Sopenharmony_ci
45698c2ecf20Sopenharmony_ci	/* Specifies the WNM sleep state of a STA */
45708c2ecf20Sopenharmony_ci	WMI_AP_PS_PEER_PARAM_WNM_SLEEP = 5,
45718c2ecf20Sopenharmony_ci};
45728c2ecf20Sopenharmony_ci
45738c2ecf20Sopenharmony_ci#define DISABLE_SIFS_RESPONSE_TRIGGER 0
45748c2ecf20Sopenharmony_ci
45758c2ecf20Sopenharmony_ci#define WMI_MAX_KEY_INDEX   3
45768c2ecf20Sopenharmony_ci#define WMI_MAX_KEY_LEN     32
45778c2ecf20Sopenharmony_ci
45788c2ecf20Sopenharmony_ci#define WMI_KEY_PAIRWISE 0x00
45798c2ecf20Sopenharmony_ci#define WMI_KEY_GROUP    0x01
45808c2ecf20Sopenharmony_ci
45818c2ecf20Sopenharmony_ci#define WMI_CIPHER_NONE     0x0 /* clear key */
45828c2ecf20Sopenharmony_ci#define WMI_CIPHER_WEP      0x1
45838c2ecf20Sopenharmony_ci#define WMI_CIPHER_TKIP     0x2
45848c2ecf20Sopenharmony_ci#define WMI_CIPHER_AES_OCB  0x3
45858c2ecf20Sopenharmony_ci#define WMI_CIPHER_AES_CCM  0x4
45868c2ecf20Sopenharmony_ci#define WMI_CIPHER_WAPI     0x5
45878c2ecf20Sopenharmony_ci#define WMI_CIPHER_CKIP     0x6
45888c2ecf20Sopenharmony_ci#define WMI_CIPHER_AES_CMAC 0x7
45898c2ecf20Sopenharmony_ci#define WMI_CIPHER_ANY      0x8
45908c2ecf20Sopenharmony_ci#define WMI_CIPHER_AES_GCM  0x9
45918c2ecf20Sopenharmony_ci#define WMI_CIPHER_AES_GMAC 0xa
45928c2ecf20Sopenharmony_ci
45938c2ecf20Sopenharmony_ci/* Value to disable fixed rate setting */
45948c2ecf20Sopenharmony_ci#define WMI_FIXED_RATE_NONE	(0xffff)
45958c2ecf20Sopenharmony_ci
45968c2ecf20Sopenharmony_ci#define ATH11K_RC_VERSION_OFFSET	28
45978c2ecf20Sopenharmony_ci#define ATH11K_RC_PREAMBLE_OFFSET	8
45988c2ecf20Sopenharmony_ci#define ATH11K_RC_NSS_OFFSET		5
45998c2ecf20Sopenharmony_ci
46008c2ecf20Sopenharmony_ci#define ATH11K_HW_RATE_CODE(rate, nss, preamble)	\
46018c2ecf20Sopenharmony_ci	((1 << ATH11K_RC_VERSION_OFFSET) |		\
46028c2ecf20Sopenharmony_ci	 ((nss) << ATH11K_RC_NSS_OFFSET) |		\
46038c2ecf20Sopenharmony_ci	 ((preamble) << ATH11K_RC_PREAMBLE_OFFSET) |	\
46048c2ecf20Sopenharmony_ci	 (rate))
46058c2ecf20Sopenharmony_ci
46068c2ecf20Sopenharmony_ci/* Preamble types to be used with VDEV fixed rate configuration */
46078c2ecf20Sopenharmony_cienum wmi_rate_preamble {
46088c2ecf20Sopenharmony_ci	WMI_RATE_PREAMBLE_OFDM,
46098c2ecf20Sopenharmony_ci	WMI_RATE_PREAMBLE_CCK,
46108c2ecf20Sopenharmony_ci	WMI_RATE_PREAMBLE_HT,
46118c2ecf20Sopenharmony_ci	WMI_RATE_PREAMBLE_VHT,
46128c2ecf20Sopenharmony_ci	WMI_RATE_PREAMBLE_HE,
46138c2ecf20Sopenharmony_ci};
46148c2ecf20Sopenharmony_ci
46158c2ecf20Sopenharmony_ci/**
46168c2ecf20Sopenharmony_ci * enum wmi_rtscts_prot_mode - Enable/Disable RTS/CTS and CTS2Self Protection.
46178c2ecf20Sopenharmony_ci * @WMI_RTS_CTS_DISABLED : RTS/CTS protection is disabled.
46188c2ecf20Sopenharmony_ci * @WMI_USE_RTS_CTS : RTS/CTS Enabled.
46198c2ecf20Sopenharmony_ci * @WMI_USE_CTS2SELF : CTS to self protection Enabled.
46208c2ecf20Sopenharmony_ci */
46218c2ecf20Sopenharmony_cienum wmi_rtscts_prot_mode {
46228c2ecf20Sopenharmony_ci	WMI_RTS_CTS_DISABLED = 0,
46238c2ecf20Sopenharmony_ci	WMI_USE_RTS_CTS = 1,
46248c2ecf20Sopenharmony_ci	WMI_USE_CTS2SELF = 2,
46258c2ecf20Sopenharmony_ci};
46268c2ecf20Sopenharmony_ci
46278c2ecf20Sopenharmony_ci/**
46288c2ecf20Sopenharmony_ci * enum wmi_rtscts_profile - Selection of RTS CTS profile along with enabling
46298c2ecf20Sopenharmony_ci *                           protection mode.
46308c2ecf20Sopenharmony_ci * @WMI_RTSCTS_FOR_NO_RATESERIES - Neither of rate-series should use RTS-CTS
46318c2ecf20Sopenharmony_ci * @WMI_RTSCTS_FOR_SECOND_RATESERIES - Only second rate-series will use RTS-CTS
46328c2ecf20Sopenharmony_ci * @WMI_RTSCTS_ACROSS_SW_RETRIES - Only the second rate-series will use RTS-CTS,
46338c2ecf20Sopenharmony_ci *                                 but if there's a sw retry, both the rate
46348c2ecf20Sopenharmony_ci *                                 series will use RTS-CTS.
46358c2ecf20Sopenharmony_ci * @WMI_RTSCTS_ERP - RTS/CTS used for ERP protection for every PPDU.
46368c2ecf20Sopenharmony_ci * @WMI_RTSCTS_FOR_ALL_RATESERIES - Enable RTS-CTS for all rate series.
46378c2ecf20Sopenharmony_ci */
46388c2ecf20Sopenharmony_cienum wmi_rtscts_profile {
46398c2ecf20Sopenharmony_ci	WMI_RTSCTS_FOR_NO_RATESERIES = 0,
46408c2ecf20Sopenharmony_ci	WMI_RTSCTS_FOR_SECOND_RATESERIES = 1,
46418c2ecf20Sopenharmony_ci	WMI_RTSCTS_ACROSS_SW_RETRIES = 2,
46428c2ecf20Sopenharmony_ci	WMI_RTSCTS_ERP = 3,
46438c2ecf20Sopenharmony_ci	WMI_RTSCTS_FOR_ALL_RATESERIES = 4,
46448c2ecf20Sopenharmony_ci};
46458c2ecf20Sopenharmony_ci
46468c2ecf20Sopenharmony_cistruct ath11k_hal_reg_cap {
46478c2ecf20Sopenharmony_ci	u32 eeprom_rd;
46488c2ecf20Sopenharmony_ci	u32 eeprom_rd_ext;
46498c2ecf20Sopenharmony_ci	u32 regcap1;
46508c2ecf20Sopenharmony_ci	u32 regcap2;
46518c2ecf20Sopenharmony_ci	u32 wireless_modes;
46528c2ecf20Sopenharmony_ci	u32 low_2ghz_chan;
46538c2ecf20Sopenharmony_ci	u32 high_2ghz_chan;
46548c2ecf20Sopenharmony_ci	u32 low_5ghz_chan;
46558c2ecf20Sopenharmony_ci	u32 high_5ghz_chan;
46568c2ecf20Sopenharmony_ci};
46578c2ecf20Sopenharmony_ci
46588c2ecf20Sopenharmony_cistruct ath11k_mem_chunk {
46598c2ecf20Sopenharmony_ci	void *vaddr;
46608c2ecf20Sopenharmony_ci	dma_addr_t paddr;
46618c2ecf20Sopenharmony_ci	u32 len;
46628c2ecf20Sopenharmony_ci	u32 req_id;
46638c2ecf20Sopenharmony_ci};
46648c2ecf20Sopenharmony_ci
46658c2ecf20Sopenharmony_ci#define WMI_SKB_HEADROOM sizeof(struct wmi_cmd_hdr)
46668c2ecf20Sopenharmony_ci
46678c2ecf20Sopenharmony_cienum wmi_sta_ps_param_rx_wake_policy {
46688c2ecf20Sopenharmony_ci	WMI_STA_PS_RX_WAKE_POLICY_WAKE = 0,
46698c2ecf20Sopenharmony_ci	WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD = 1,
46708c2ecf20Sopenharmony_ci};
46718c2ecf20Sopenharmony_ci
46728c2ecf20Sopenharmony_ci/* Do not change existing values! Used by ath11k_frame_mode parameter
46738c2ecf20Sopenharmony_ci * module parameter.
46748c2ecf20Sopenharmony_ci */
46758c2ecf20Sopenharmony_cienum ath11k_hw_txrx_mode {
46768c2ecf20Sopenharmony_ci	ATH11K_HW_TXRX_RAW = 0,
46778c2ecf20Sopenharmony_ci	ATH11K_HW_TXRX_NATIVE_WIFI = 1,
46788c2ecf20Sopenharmony_ci	ATH11K_HW_TXRX_ETHERNET = 2,
46798c2ecf20Sopenharmony_ci};
46808c2ecf20Sopenharmony_ci
46818c2ecf20Sopenharmony_cistruct wmi_wmm_params {
46828c2ecf20Sopenharmony_ci	u32 tlv_header;
46838c2ecf20Sopenharmony_ci	u32 cwmin;
46848c2ecf20Sopenharmony_ci	u32 cwmax;
46858c2ecf20Sopenharmony_ci	u32 aifs;
46868c2ecf20Sopenharmony_ci	u32 txoplimit;
46878c2ecf20Sopenharmony_ci	u32 acm;
46888c2ecf20Sopenharmony_ci	u32 no_ack;
46898c2ecf20Sopenharmony_ci} __packed;
46908c2ecf20Sopenharmony_ci
46918c2ecf20Sopenharmony_cistruct wmi_wmm_params_arg {
46928c2ecf20Sopenharmony_ci	u8 acm;
46938c2ecf20Sopenharmony_ci	u8 aifs;
46948c2ecf20Sopenharmony_ci	u16 cwmin;
46958c2ecf20Sopenharmony_ci	u16 cwmax;
46968c2ecf20Sopenharmony_ci	u16 txop;
46978c2ecf20Sopenharmony_ci	u8 no_ack;
46988c2ecf20Sopenharmony_ci};
46998c2ecf20Sopenharmony_ci
47008c2ecf20Sopenharmony_cistruct wmi_vdev_set_wmm_params_cmd {
47018c2ecf20Sopenharmony_ci	u32 tlv_header;
47028c2ecf20Sopenharmony_ci	u32 vdev_id;
47038c2ecf20Sopenharmony_ci	struct wmi_wmm_params wmm_params[4];
47048c2ecf20Sopenharmony_ci	u32 wmm_param_type;
47058c2ecf20Sopenharmony_ci} __packed;
47068c2ecf20Sopenharmony_ci
47078c2ecf20Sopenharmony_cistruct wmi_wmm_params_all_arg {
47088c2ecf20Sopenharmony_ci	struct wmi_wmm_params_arg ac_be;
47098c2ecf20Sopenharmony_ci	struct wmi_wmm_params_arg ac_bk;
47108c2ecf20Sopenharmony_ci	struct wmi_wmm_params_arg ac_vi;
47118c2ecf20Sopenharmony_ci	struct wmi_wmm_params_arg ac_vo;
47128c2ecf20Sopenharmony_ci};
47138c2ecf20Sopenharmony_ci
47148c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_STA_CONG_TIMER_MS		5000
47158c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_DEFAULT_SLOT_SIZE		10
47168c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_CONGESTION_THRESH_SETUP		50
47178c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_CONGESTION_THRESH_TEARDOWN	20
47188c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_CONGESTION_THRESH_CRITICAL	100
47198c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_INTERFERENCE_THRESH_TEARDOWN	80
47208c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_INTERFERENCE_THRESH_SETUP	50
47218c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_MIN_NO_STA_SETUP			10
47228c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_MIN_NO_STA_TEARDOWN		2
47238c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_NO_OF_BCAST_MCAST_SLOTS		2
47248c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_MIN_NO_TWT_SLOTS			2
47258c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_MAX_NO_STA_TWT			500
47268c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_MODE_CHECK_INTERVAL		10000
47278c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_ADD_STA_SLOT_INTERVAL		1000
47288c2ecf20Sopenharmony_ci#define ATH11K_TWT_DEF_REMOVE_STA_SLOT_INTERVAL		5000
47298c2ecf20Sopenharmony_ci
47308c2ecf20Sopenharmony_cistruct wmi_twt_enable_params_cmd {
47318c2ecf20Sopenharmony_ci	u32 tlv_header;
47328c2ecf20Sopenharmony_ci	u32 pdev_id;
47338c2ecf20Sopenharmony_ci	u32 sta_cong_timer_ms;
47348c2ecf20Sopenharmony_ci	u32 mbss_support;
47358c2ecf20Sopenharmony_ci	u32 default_slot_size;
47368c2ecf20Sopenharmony_ci	u32 congestion_thresh_setup;
47378c2ecf20Sopenharmony_ci	u32 congestion_thresh_teardown;
47388c2ecf20Sopenharmony_ci	u32 congestion_thresh_critical;
47398c2ecf20Sopenharmony_ci	u32 interference_thresh_teardown;
47408c2ecf20Sopenharmony_ci	u32 interference_thresh_setup;
47418c2ecf20Sopenharmony_ci	u32 min_no_sta_setup;
47428c2ecf20Sopenharmony_ci	u32 min_no_sta_teardown;
47438c2ecf20Sopenharmony_ci	u32 no_of_bcast_mcast_slots;
47448c2ecf20Sopenharmony_ci	u32 min_no_twt_slots;
47458c2ecf20Sopenharmony_ci	u32 max_no_sta_twt;
47468c2ecf20Sopenharmony_ci	u32 mode_check_interval;
47478c2ecf20Sopenharmony_ci	u32 add_sta_slot_interval;
47488c2ecf20Sopenharmony_ci	u32 remove_sta_slot_interval;
47498c2ecf20Sopenharmony_ci} __packed;
47508c2ecf20Sopenharmony_ci
47518c2ecf20Sopenharmony_cistruct wmi_twt_disable_params_cmd {
47528c2ecf20Sopenharmony_ci	u32 tlv_header;
47538c2ecf20Sopenharmony_ci	u32 pdev_id;
47548c2ecf20Sopenharmony_ci} __packed;
47558c2ecf20Sopenharmony_ci
47568c2ecf20Sopenharmony_cistruct wmi_obss_spatial_reuse_params_cmd {
47578c2ecf20Sopenharmony_ci	u32 tlv_header;
47588c2ecf20Sopenharmony_ci	u32 pdev_id;
47598c2ecf20Sopenharmony_ci	u32 enable;
47608c2ecf20Sopenharmony_ci	s32 obss_min;
47618c2ecf20Sopenharmony_ci	s32 obss_max;
47628c2ecf20Sopenharmony_ci	u32 vdev_id;
47638c2ecf20Sopenharmony_ci} __packed;
47648c2ecf20Sopenharmony_ci
47658c2ecf20Sopenharmony_ci#define ATH11K_BSS_COLOR_COLLISION_SCAN_PERIOD_MS		200
47668c2ecf20Sopenharmony_ci#define ATH11K_OBSS_COLOR_COLLISION_DETECTION_DISABLE		0
47678c2ecf20Sopenharmony_ci#define ATH11K_OBSS_COLOR_COLLISION_DETECTION			1
47688c2ecf20Sopenharmony_ci
47698c2ecf20Sopenharmony_ci#define ATH11K_BSS_COLOR_COLLISION_DETECTION_STA_PERIOD_MS	10000
47708c2ecf20Sopenharmony_ci#define ATH11K_BSS_COLOR_COLLISION_DETECTION_AP_PERIOD_MS	5000
47718c2ecf20Sopenharmony_ci
47728c2ecf20Sopenharmony_cistruct wmi_obss_color_collision_cfg_params_cmd {
47738c2ecf20Sopenharmony_ci	u32 tlv_header;
47748c2ecf20Sopenharmony_ci	u32 vdev_id;
47758c2ecf20Sopenharmony_ci	u32 flags;
47768c2ecf20Sopenharmony_ci	u32 evt_type;
47778c2ecf20Sopenharmony_ci	u32 current_bss_color;
47788c2ecf20Sopenharmony_ci	u32 detection_period_ms;
47798c2ecf20Sopenharmony_ci	u32 scan_period_ms;
47808c2ecf20Sopenharmony_ci	u32 free_slot_expiry_time_ms;
47818c2ecf20Sopenharmony_ci} __packed;
47828c2ecf20Sopenharmony_ci
47838c2ecf20Sopenharmony_cistruct wmi_bss_color_change_enable_params_cmd {
47848c2ecf20Sopenharmony_ci	u32 tlv_header;
47858c2ecf20Sopenharmony_ci	u32 vdev_id;
47868c2ecf20Sopenharmony_ci	u32 enable;
47878c2ecf20Sopenharmony_ci} __packed;
47888c2ecf20Sopenharmony_ci
47898c2ecf20Sopenharmony_ci#define ATH11K_IPV4_TH_SEED_SIZE 5
47908c2ecf20Sopenharmony_ci#define ATH11K_IPV6_TH_SEED_SIZE 11
47918c2ecf20Sopenharmony_ci
47928c2ecf20Sopenharmony_cistruct ath11k_wmi_pdev_lro_config_cmd {
47938c2ecf20Sopenharmony_ci	u32 tlv_header;
47948c2ecf20Sopenharmony_ci	u32 lro_enable;
47958c2ecf20Sopenharmony_ci	u32 res;
47968c2ecf20Sopenharmony_ci	u32 th_4[ATH11K_IPV4_TH_SEED_SIZE];
47978c2ecf20Sopenharmony_ci	u32 th_6[ATH11K_IPV6_TH_SEED_SIZE];
47988c2ecf20Sopenharmony_ci	u32 pdev_id;
47998c2ecf20Sopenharmony_ci} __packed;
48008c2ecf20Sopenharmony_ci
48018c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_COUNT_DEFAULT                 0
48028c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_PERIOD_DEFAULT              224
48038c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_PRIORITY_DEFAULT              1
48048c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_FFT_SIZE_DEFAULT              7
48058c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_GC_ENA_DEFAULT                1
48068c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_RESTART_ENA_DEFAULT           0
48078c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT     -96
48088c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_INIT_DELAY_DEFAULT           80
48098c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_NB_TONE_THR_DEFAULT          12
48108c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_STR_BIN_THR_DEFAULT           8
48118c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_WB_RPT_MODE_DEFAULT           0
48128c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_RSSI_RPT_MODE_DEFAULT         0
48138c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_RSSI_THR_DEFAULT           0xf0
48148c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_PWR_FORMAT_DEFAULT            0
48158c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_RPT_MODE_DEFAULT              2
48168c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_BIN_SCALE_DEFAULT             1
48178c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_DBM_ADJ_DEFAULT               1
48188c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_CHN_MASK_DEFAULT              1
48198c2ecf20Sopenharmony_ci
48208c2ecf20Sopenharmony_cistruct ath11k_wmi_vdev_spectral_conf_param {
48218c2ecf20Sopenharmony_ci	u32 vdev_id;
48228c2ecf20Sopenharmony_ci	u32 scan_count;
48238c2ecf20Sopenharmony_ci	u32 scan_period;
48248c2ecf20Sopenharmony_ci	u32 scan_priority;
48258c2ecf20Sopenharmony_ci	u32 scan_fft_size;
48268c2ecf20Sopenharmony_ci	u32 scan_gc_ena;
48278c2ecf20Sopenharmony_ci	u32 scan_restart_ena;
48288c2ecf20Sopenharmony_ci	u32 scan_noise_floor_ref;
48298c2ecf20Sopenharmony_ci	u32 scan_init_delay;
48308c2ecf20Sopenharmony_ci	u32 scan_nb_tone_thr;
48318c2ecf20Sopenharmony_ci	u32 scan_str_bin_thr;
48328c2ecf20Sopenharmony_ci	u32 scan_wb_rpt_mode;
48338c2ecf20Sopenharmony_ci	u32 scan_rssi_rpt_mode;
48348c2ecf20Sopenharmony_ci	u32 scan_rssi_thr;
48358c2ecf20Sopenharmony_ci	u32 scan_pwr_format;
48368c2ecf20Sopenharmony_ci	u32 scan_rpt_mode;
48378c2ecf20Sopenharmony_ci	u32 scan_bin_scale;
48388c2ecf20Sopenharmony_ci	u32 scan_dbm_adj;
48398c2ecf20Sopenharmony_ci	u32 scan_chn_mask;
48408c2ecf20Sopenharmony_ci} __packed;
48418c2ecf20Sopenharmony_ci
48428c2ecf20Sopenharmony_cistruct ath11k_wmi_vdev_spectral_conf_cmd {
48438c2ecf20Sopenharmony_ci	u32 tlv_header;
48448c2ecf20Sopenharmony_ci	struct ath11k_wmi_vdev_spectral_conf_param param;
48458c2ecf20Sopenharmony_ci} __packed;
48468c2ecf20Sopenharmony_ci
48478c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_TRIGGER_CMD_TRIGGER  1
48488c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_TRIGGER_CMD_CLEAR    2
48498c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_ENABLE_CMD_ENABLE    1
48508c2ecf20Sopenharmony_ci#define ATH11K_WMI_SPECTRAL_ENABLE_CMD_DISABLE   2
48518c2ecf20Sopenharmony_ci
48528c2ecf20Sopenharmony_cistruct ath11k_wmi_vdev_spectral_enable_cmd {
48538c2ecf20Sopenharmony_ci	u32 tlv_header;
48548c2ecf20Sopenharmony_ci	u32 vdev_id;
48558c2ecf20Sopenharmony_ci	u32 trigger_cmd;
48568c2ecf20Sopenharmony_ci	u32 enable_cmd;
48578c2ecf20Sopenharmony_ci} __packed;
48588c2ecf20Sopenharmony_ci
48598c2ecf20Sopenharmony_cistruct ath11k_wmi_pdev_dma_ring_cfg_req_cmd {
48608c2ecf20Sopenharmony_ci	u32 tlv_header;
48618c2ecf20Sopenharmony_ci	u32 pdev_id;
48628c2ecf20Sopenharmony_ci	u32 module_id;		/* see enum wmi_direct_buffer_module */
48638c2ecf20Sopenharmony_ci	u32 base_paddr_lo;
48648c2ecf20Sopenharmony_ci	u32 base_paddr_hi;
48658c2ecf20Sopenharmony_ci	u32 head_idx_paddr_lo;
48668c2ecf20Sopenharmony_ci	u32 head_idx_paddr_hi;
48678c2ecf20Sopenharmony_ci	u32 tail_idx_paddr_lo;
48688c2ecf20Sopenharmony_ci	u32 tail_idx_paddr_hi;
48698c2ecf20Sopenharmony_ci	u32 num_elems;		/* Number of elems in the ring */
48708c2ecf20Sopenharmony_ci	u32 buf_size;		/* size of allocated buffer in bytes */
48718c2ecf20Sopenharmony_ci
48728c2ecf20Sopenharmony_ci	/* Number of wmi_dma_buf_release_entry packed together */
48738c2ecf20Sopenharmony_ci	u32 num_resp_per_event;
48748c2ecf20Sopenharmony_ci
48758c2ecf20Sopenharmony_ci	/* Target should timeout and send whatever resp
48768c2ecf20Sopenharmony_ci	 * it has if this time expires, units in milliseconds
48778c2ecf20Sopenharmony_ci	 */
48788c2ecf20Sopenharmony_ci	u32 event_timeout_ms;
48798c2ecf20Sopenharmony_ci} __packed;
48808c2ecf20Sopenharmony_ci
48818c2ecf20Sopenharmony_cistruct ath11k_wmi_dma_buf_release_fixed_param {
48828c2ecf20Sopenharmony_ci	u32 pdev_id;
48838c2ecf20Sopenharmony_ci	u32 module_id;
48848c2ecf20Sopenharmony_ci	u32 num_buf_release_entry;
48858c2ecf20Sopenharmony_ci	u32 num_meta_data_entry;
48868c2ecf20Sopenharmony_ci} __packed;
48878c2ecf20Sopenharmony_ci
48888c2ecf20Sopenharmony_cistruct wmi_dma_buf_release_entry {
48898c2ecf20Sopenharmony_ci	u32 tlv_header;
48908c2ecf20Sopenharmony_ci	u32 paddr_lo;
48918c2ecf20Sopenharmony_ci
48928c2ecf20Sopenharmony_ci	/* Bits 11:0:   address of data
48938c2ecf20Sopenharmony_ci	 * Bits 31:12:  host context data
48948c2ecf20Sopenharmony_ci	 */
48958c2ecf20Sopenharmony_ci	u32 paddr_hi;
48968c2ecf20Sopenharmony_ci} __packed;
48978c2ecf20Sopenharmony_ci
48988c2ecf20Sopenharmony_ci#define WMI_SPECTRAL_META_INFO1_FREQ1		GENMASK(15, 0)
48998c2ecf20Sopenharmony_ci#define WMI_SPECTRAL_META_INFO1_FREQ2		GENMASK(31, 16)
49008c2ecf20Sopenharmony_ci
49018c2ecf20Sopenharmony_ci#define WMI_SPECTRAL_META_INFO2_CHN_WIDTH	GENMASK(7, 0)
49028c2ecf20Sopenharmony_ci
49038c2ecf20Sopenharmony_cistruct wmi_dma_buf_release_meta_data {
49048c2ecf20Sopenharmony_ci	u32 tlv_header;
49058c2ecf20Sopenharmony_ci	s32 noise_floor[WMI_MAX_CHAINS];
49068c2ecf20Sopenharmony_ci	u32 reset_delay;
49078c2ecf20Sopenharmony_ci	u32 freq1;
49088c2ecf20Sopenharmony_ci	u32 freq2;
49098c2ecf20Sopenharmony_ci	u32 ch_width;
49108c2ecf20Sopenharmony_ci} __packed;
49118c2ecf20Sopenharmony_ci
49128c2ecf20Sopenharmony_cistruct target_resource_config {
49138c2ecf20Sopenharmony_ci	u32 num_vdevs;
49148c2ecf20Sopenharmony_ci	u32 num_peers;
49158c2ecf20Sopenharmony_ci	u32 num_active_peers;
49168c2ecf20Sopenharmony_ci	u32 num_offload_peers;
49178c2ecf20Sopenharmony_ci	u32 num_offload_reorder_buffs;
49188c2ecf20Sopenharmony_ci	u32 num_peer_keys;
49198c2ecf20Sopenharmony_ci	u32 num_tids;
49208c2ecf20Sopenharmony_ci	u32 ast_skid_limit;
49218c2ecf20Sopenharmony_ci	u32 tx_chain_mask;
49228c2ecf20Sopenharmony_ci	u32 rx_chain_mask;
49238c2ecf20Sopenharmony_ci	u32 rx_timeout_pri[4];
49248c2ecf20Sopenharmony_ci	u32 rx_decap_mode;
49258c2ecf20Sopenharmony_ci	u32 scan_max_pending_req;
49268c2ecf20Sopenharmony_ci	u32 bmiss_offload_max_vdev;
49278c2ecf20Sopenharmony_ci	u32 roam_offload_max_vdev;
49288c2ecf20Sopenharmony_ci	u32 roam_offload_max_ap_profiles;
49298c2ecf20Sopenharmony_ci	u32 num_mcast_groups;
49308c2ecf20Sopenharmony_ci	u32 num_mcast_table_elems;
49318c2ecf20Sopenharmony_ci	u32 mcast2ucast_mode;
49328c2ecf20Sopenharmony_ci	u32 tx_dbg_log_size;
49338c2ecf20Sopenharmony_ci	u32 num_wds_entries;
49348c2ecf20Sopenharmony_ci	u32 dma_burst_size;
49358c2ecf20Sopenharmony_ci	u32 mac_aggr_delim;
49368c2ecf20Sopenharmony_ci	u32 rx_skip_defrag_timeout_dup_detection_check;
49378c2ecf20Sopenharmony_ci	u32 vow_config;
49388c2ecf20Sopenharmony_ci	u32 gtk_offload_max_vdev;
49398c2ecf20Sopenharmony_ci	u32 num_msdu_desc;
49408c2ecf20Sopenharmony_ci	u32 max_frag_entries;
49418c2ecf20Sopenharmony_ci	u32 max_peer_ext_stats;
49428c2ecf20Sopenharmony_ci	u32 smart_ant_cap;
49438c2ecf20Sopenharmony_ci	u32 bk_minfree;
49448c2ecf20Sopenharmony_ci	u32 be_minfree;
49458c2ecf20Sopenharmony_ci	u32 vi_minfree;
49468c2ecf20Sopenharmony_ci	u32 vo_minfree;
49478c2ecf20Sopenharmony_ci	u32 rx_batchmode;
49488c2ecf20Sopenharmony_ci	u32 tt_support;
49498c2ecf20Sopenharmony_ci	u32 atf_config;
49508c2ecf20Sopenharmony_ci	u32 iphdr_pad_config;
49518c2ecf20Sopenharmony_ci	u32 qwrap_config:16,
49528c2ecf20Sopenharmony_ci	    alloc_frag_desc_for_data_pkt:16;
49538c2ecf20Sopenharmony_ci	u32 num_tdls_vdevs;
49548c2ecf20Sopenharmony_ci	u32 num_tdls_conn_table_entries;
49558c2ecf20Sopenharmony_ci	u32 beacon_tx_offload_max_vdev;
49568c2ecf20Sopenharmony_ci	u32 num_multicast_filter_entries;
49578c2ecf20Sopenharmony_ci	u32 num_wow_filters;
49588c2ecf20Sopenharmony_ci	u32 num_keep_alive_pattern;
49598c2ecf20Sopenharmony_ci	u32 keep_alive_pattern_size;
49608c2ecf20Sopenharmony_ci	u32 max_tdls_concurrent_sleep_sta;
49618c2ecf20Sopenharmony_ci	u32 max_tdls_concurrent_buffer_sta;
49628c2ecf20Sopenharmony_ci	u32 wmi_send_separate;
49638c2ecf20Sopenharmony_ci	u32 num_ocb_vdevs;
49648c2ecf20Sopenharmony_ci	u32 num_ocb_channels;
49658c2ecf20Sopenharmony_ci	u32 num_ocb_schedules;
49668c2ecf20Sopenharmony_ci	u32 num_ns_ext_tuples_cfg;
49678c2ecf20Sopenharmony_ci	u32 bpf_instruction_size;
49688c2ecf20Sopenharmony_ci	u32 max_bssid_rx_filters;
49698c2ecf20Sopenharmony_ci	u32 use_pdev_id;
49708c2ecf20Sopenharmony_ci	u32 peer_map_unmap_v2_support;
49718c2ecf20Sopenharmony_ci	u32 sched_params;
49728c2ecf20Sopenharmony_ci	u32 twt_ap_pdev_count;
49738c2ecf20Sopenharmony_ci	u32 twt_ap_sta_count;
49748c2ecf20Sopenharmony_ci};
49758c2ecf20Sopenharmony_ci
49768c2ecf20Sopenharmony_ci#define WMI_MAX_MEM_REQS 32
49778c2ecf20Sopenharmony_ci
49788c2ecf20Sopenharmony_ci#define MAX_RADIOS 3
49798c2ecf20Sopenharmony_ci
49808c2ecf20Sopenharmony_ci#define WMI_SERVICE_READY_TIMEOUT_HZ (5 * HZ)
49818c2ecf20Sopenharmony_ci#define WMI_SEND_TIMEOUT_HZ (3 * HZ)
49828c2ecf20Sopenharmony_ci
49838c2ecf20Sopenharmony_cistruct ath11k_wmi_base {
49848c2ecf20Sopenharmony_ci	struct ath11k_base *ab;
49858c2ecf20Sopenharmony_ci	struct ath11k_pdev_wmi wmi[MAX_RADIOS];
49868c2ecf20Sopenharmony_ci	enum ath11k_htc_ep_id wmi_endpoint_id[MAX_RADIOS];
49878c2ecf20Sopenharmony_ci	u32 max_msg_len[MAX_RADIOS];
49888c2ecf20Sopenharmony_ci
49898c2ecf20Sopenharmony_ci	struct completion service_ready;
49908c2ecf20Sopenharmony_ci	struct completion unified_ready;
49918c2ecf20Sopenharmony_ci	DECLARE_BITMAP(svc_map, WMI_MAX_EXT_SERVICE);
49928c2ecf20Sopenharmony_ci	wait_queue_head_t tx_credits_wq;
49938c2ecf20Sopenharmony_ci	const struct wmi_peer_flags_map *peer_flags;
49948c2ecf20Sopenharmony_ci	u32 num_mem_chunks;
49958c2ecf20Sopenharmony_ci	u32 rx_decap_mode;
49968c2ecf20Sopenharmony_ci	struct wmi_host_mem_chunk mem_chunks[WMI_MAX_MEM_REQS];
49978c2ecf20Sopenharmony_ci
49988c2ecf20Sopenharmony_ci	enum wmi_host_hw_mode_config_type preferred_hw_mode;
49998c2ecf20Sopenharmony_ci	struct target_resource_config  wlan_resource_config;
50008c2ecf20Sopenharmony_ci
50018c2ecf20Sopenharmony_ci	struct ath11k_targ_cap *targ_cap;
50028c2ecf20Sopenharmony_ci};
50038c2ecf20Sopenharmony_ci
50048c2ecf20Sopenharmony_ciint ath11k_wmi_cmd_send(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb,
50058c2ecf20Sopenharmony_ci			u32 cmd_id);
50068c2ecf20Sopenharmony_cistruct sk_buff *ath11k_wmi_alloc_skb(struct ath11k_wmi_base *wmi_sc, u32 len);
50078c2ecf20Sopenharmony_ciint ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
50088c2ecf20Sopenharmony_ci			 struct sk_buff *frame);
50098c2ecf20Sopenharmony_ciint ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id,
50108c2ecf20Sopenharmony_ci			struct ieee80211_mutable_offsets *offs,
50118c2ecf20Sopenharmony_ci			struct sk_buff *bcn);
50128c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id);
50138c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid,
50148c2ecf20Sopenharmony_ci		       const u8 *bssid);
50158c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id);
50168c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg,
50178c2ecf20Sopenharmony_ci			  bool restart);
50188c2ecf20Sopenharmony_ciint ath11k_wmi_set_peer_param(struct ath11k *ar, const u8 *peer_addr,
50198c2ecf20Sopenharmony_ci			      u32 vdev_id, u32 param_id, u32 param_val);
50208c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_set_param(struct ath11k *ar, u32 param_id,
50218c2ecf20Sopenharmony_ci			      u32 param_value, u8 pdev_id);
50228c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_set_ps_mode(struct ath11k *ar, int vdev_id, u32 enable);
50238c2ecf20Sopenharmony_ciint ath11k_wmi_wait_for_unified_ready(struct ath11k_base *ab);
50248c2ecf20Sopenharmony_ciint ath11k_wmi_cmd_init(struct ath11k_base *ab);
50258c2ecf20Sopenharmony_ciint ath11k_wmi_wait_for_service_ready(struct ath11k_base *ab);
50268c2ecf20Sopenharmony_ciint ath11k_wmi_connect(struct ath11k_base *ab);
50278c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_attach(struct ath11k_base *ab,
50288c2ecf20Sopenharmony_ci			   u8 pdev_id);
50298c2ecf20Sopenharmony_ciint ath11k_wmi_attach(struct ath11k_base *ab);
50308c2ecf20Sopenharmony_civoid ath11k_wmi_detach(struct ath11k_base *ab);
50318c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_create(struct ath11k *ar, u8 *macaddr,
50328c2ecf20Sopenharmony_ci			   struct vdev_create_params *param);
50338c2ecf20Sopenharmony_ciint ath11k_wmi_peer_rx_reorder_queue_setup(struct ath11k *ar, int vdev_id,
50348c2ecf20Sopenharmony_ci					   const u8 *addr, dma_addr_t paddr,
50358c2ecf20Sopenharmony_ci					   u8 tid, u8 ba_window_size_valid,
50368c2ecf20Sopenharmony_ci					   u32 ba_window_size);
50378c2ecf20Sopenharmony_ciint ath11k_wmi_send_peer_create_cmd(struct ath11k *ar,
50388c2ecf20Sopenharmony_ci				    struct peer_create_params *param);
50398c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_set_param_cmd(struct ath11k *ar, u32 vdev_id,
50408c2ecf20Sopenharmony_ci				  u32 param_id, u32 param_value);
50418c2ecf20Sopenharmony_ci
50428c2ecf20Sopenharmony_ciint ath11k_wmi_set_sta_ps_param(struct ath11k *ar, u32 vdev_id,
50438c2ecf20Sopenharmony_ci				u32 param, u32 param_value);
50448c2ecf20Sopenharmony_ciint ath11k_wmi_force_fw_hang_cmd(struct ath11k *ar, u32 type, u32 delay_time_ms);
50458c2ecf20Sopenharmony_ciint ath11k_wmi_send_peer_delete_cmd(struct ath11k *ar,
50468c2ecf20Sopenharmony_ci				    const u8 *peer_addr, u8 vdev_id);
50478c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id);
50488c2ecf20Sopenharmony_civoid ath11k_wmi_start_scan_init(struct ath11k *ar, struct scan_req_params *arg);
50498c2ecf20Sopenharmony_ciint ath11k_wmi_send_scan_start_cmd(struct ath11k *ar,
50508c2ecf20Sopenharmony_ci				   struct scan_req_params *params);
50518c2ecf20Sopenharmony_ciint ath11k_wmi_send_scan_stop_cmd(struct ath11k *ar,
50528c2ecf20Sopenharmony_ci				  struct scan_cancel_param *param);
50538c2ecf20Sopenharmony_ciint ath11k_wmi_send_wmm_update_cmd_tlv(struct ath11k *ar, u32 vdev_id,
50548c2ecf20Sopenharmony_ci				       struct wmi_wmm_params_all_arg *param);
50558c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_suspend(struct ath11k *ar, u32 suspend_opt,
50568c2ecf20Sopenharmony_ci			    u32 pdev_id);
50578c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_resume(struct ath11k *ar, u32 pdev_id);
50588c2ecf20Sopenharmony_ci
50598c2ecf20Sopenharmony_ciint ath11k_wmi_send_peer_assoc_cmd(struct ath11k *ar,
50608c2ecf20Sopenharmony_ci				   struct peer_assoc_params *param);
50618c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_install_key(struct ath11k *ar,
50628c2ecf20Sopenharmony_ci				struct wmi_vdev_install_key_arg *arg);
50638c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_bss_chan_info_request(struct ath11k *ar,
50648c2ecf20Sopenharmony_ci					  enum wmi_bss_chan_info_req_type type);
50658c2ecf20Sopenharmony_ciint ath11k_wmi_send_stats_request_cmd(struct ath11k *ar,
50668c2ecf20Sopenharmony_ci				      struct stats_request_params *param);
50678c2ecf20Sopenharmony_ciint ath11k_wmi_send_pdev_temperature_cmd(struct ath11k *ar);
50688c2ecf20Sopenharmony_ciint ath11k_wmi_send_peer_flush_tids_cmd(struct ath11k *ar,
50698c2ecf20Sopenharmony_ci					u8 peer_addr[ETH_ALEN],
50708c2ecf20Sopenharmony_ci					struct peer_flush_params *param);
50718c2ecf20Sopenharmony_ciint ath11k_wmi_send_set_ap_ps_param_cmd(struct ath11k *ar, u8 *peer_addr,
50728c2ecf20Sopenharmony_ci					struct ap_ps_params *param);
50738c2ecf20Sopenharmony_ciint ath11k_wmi_send_scan_chan_list_cmd(struct ath11k *ar,
50748c2ecf20Sopenharmony_ci				       struct scan_chan_list_params *chan_list);
50758c2ecf20Sopenharmony_ciint ath11k_wmi_send_dfs_phyerr_offload_enable_cmd(struct ath11k *ar,
50768c2ecf20Sopenharmony_ci						  u32 pdev_id);
50778c2ecf20Sopenharmony_ciint ath11k_wmi_addba_clear_resp(struct ath11k *ar, u32 vdev_id, const u8 *mac);
50788c2ecf20Sopenharmony_ciint ath11k_wmi_addba_send(struct ath11k *ar, u32 vdev_id, const u8 *mac,
50798c2ecf20Sopenharmony_ci			  u32 tid, u32 buf_size);
50808c2ecf20Sopenharmony_ciint ath11k_wmi_addba_set_resp(struct ath11k *ar, u32 vdev_id, const u8 *mac,
50818c2ecf20Sopenharmony_ci			      u32 tid, u32 status);
50828c2ecf20Sopenharmony_ciint ath11k_wmi_delba_send(struct ath11k *ar, u32 vdev_id, const u8 *mac,
50838c2ecf20Sopenharmony_ci			  u32 tid, u32 initiator, u32 reason);
50848c2ecf20Sopenharmony_ciint ath11k_wmi_send_bcn_offload_control_cmd(struct ath11k *ar,
50858c2ecf20Sopenharmony_ci					    u32 vdev_id, u32 bcn_ctrl_op);
50868c2ecf20Sopenharmony_ciint
50878c2ecf20Sopenharmony_ciath11k_wmi_send_init_country_cmd(struct ath11k *ar,
50888c2ecf20Sopenharmony_ci				 struct wmi_init_country_params init_cc_param);
50898c2ecf20Sopenharmony_ciint
50908c2ecf20Sopenharmony_ciath11k_wmi_send_thermal_mitigation_param_cmd(struct ath11k *ar,
50918c2ecf20Sopenharmony_ci					     struct thermal_mitigation_params *param);
50928c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_pktlog_enable(struct ath11k *ar, u32 pktlog_filter);
50938c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_pktlog_disable(struct ath11k *ar);
50948c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_peer_pktlog_filter(struct ath11k *ar, u8 *addr, u8 enable);
50958c2ecf20Sopenharmony_ciint
50968c2ecf20Sopenharmony_ciath11k_wmi_rx_reord_queue_remove(struct ath11k *ar,
50978c2ecf20Sopenharmony_ci				 struct rx_reorder_queue_remove_params *param);
50988c2ecf20Sopenharmony_ciint ath11k_wmi_send_pdev_set_regdomain(struct ath11k *ar,
50998c2ecf20Sopenharmony_ci				       struct pdev_set_regdomain_params *param);
51008c2ecf20Sopenharmony_ciint ath11k_wmi_pull_fw_stats(struct ath11k_base *ab, struct sk_buff *skb,
51018c2ecf20Sopenharmony_ci			     struct ath11k_fw_stats *stats);
51028c2ecf20Sopenharmony_cisize_t ath11k_wmi_fw_stats_num_peers(struct list_head *head);
51038c2ecf20Sopenharmony_cisize_t ath11k_wmi_fw_stats_num_peers_extd(struct list_head *head);
51048c2ecf20Sopenharmony_cisize_t ath11k_wmi_fw_stats_num_vdevs(struct list_head *head);
51058c2ecf20Sopenharmony_civoid ath11k_wmi_fw_stats_fill(struct ath11k *ar,
51068c2ecf20Sopenharmony_ci			      struct ath11k_fw_stats *fw_stats, u32 stats_id,
51078c2ecf20Sopenharmony_ci			      char *buf);
51088c2ecf20Sopenharmony_ciint ath11k_wmi_simulate_radar(struct ath11k *ar);
51098c2ecf20Sopenharmony_ciint ath11k_wmi_send_twt_enable_cmd(struct ath11k *ar, u32 pdev_id);
51108c2ecf20Sopenharmony_ciint ath11k_wmi_send_twt_disable_cmd(struct ath11k *ar, u32 pdev_id);
51118c2ecf20Sopenharmony_ciint ath11k_wmi_send_obss_spr_cmd(struct ath11k *ar, u32 vdev_id,
51128c2ecf20Sopenharmony_ci				 struct ieee80211_he_obss_pd *he_obss_pd);
51138c2ecf20Sopenharmony_ciint ath11k_wmi_send_obss_color_collision_cfg_cmd(struct ath11k *ar, u32 vdev_id,
51148c2ecf20Sopenharmony_ci						 u8 bss_color, u32 period,
51158c2ecf20Sopenharmony_ci						 bool enable);
51168c2ecf20Sopenharmony_ciint ath11k_wmi_send_bss_color_change_enable_cmd(struct ath11k *ar, u32 vdev_id,
51178c2ecf20Sopenharmony_ci						bool enable);
51188c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_lro_cfg(struct ath11k *ar, int pdev_id);
51198c2ecf20Sopenharmony_ciint ath11k_wmi_pdev_dma_ring_cfg(struct ath11k *ar,
51208c2ecf20Sopenharmony_ci				 struct ath11k_wmi_pdev_dma_ring_cfg_req_cmd *param);
51218c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_spectral_enable(struct ath11k *ar, u32 vdev_id,
51228c2ecf20Sopenharmony_ci				    u32 trigger, u32 enable);
51238c2ecf20Sopenharmony_ciint ath11k_wmi_vdev_spectral_conf(struct ath11k *ar,
51248c2ecf20Sopenharmony_ci				  struct ath11k_wmi_vdev_spectral_conf_param *param);
51258c2ecf20Sopenharmony_ci#endif
5126