wmi.h (594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2) wmi.h (8e1debd82466a3fe711784ab37e6b54e56011267)
1/* SPDX-License-Identifier: ISC */
2/*
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
7 */
8

--- 3020 unchanged lines hidden (view full) ---

3029 WMI_10_4_TDLS_CONN_TRACKER_IN_HOST_MODE = BIT(11),
3030 WMI_10_4_TDLS_EXPLICIT_MODE_ONLY = BIT(12),
3031 WMI_10_4_TX_DATA_ACK_RSSI = BIT(16),
3032 WMI_10_4_EXT_PEER_TID_CONFIGS_SUPPORT = BIT(17),
3033 WMI_10_4_REPORT_AIRTIME = BIT(18),
3034
3035};
3036
1/* SPDX-License-Identifier: ISC */
2/*
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
7 */
8

--- 3020 unchanged lines hidden (view full) ---

3029 WMI_10_4_TDLS_CONN_TRACKER_IN_HOST_MODE = BIT(11),
3030 WMI_10_4_TDLS_EXPLICIT_MODE_ONLY = BIT(12),
3031 WMI_10_4_TX_DATA_ACK_RSSI = BIT(16),
3032 WMI_10_4_EXT_PEER_TID_CONFIGS_SUPPORT = BIT(17),
3033 WMI_10_4_REPORT_AIRTIME = BIT(18),
3034
3035};
3036
3037/* WMI_GPIO_CONFIG_CMDID */
3038enum {
3039 WMI_GPIO_PULL_NONE,
3040 WMI_GPIO_PULL_UP,
3041 WMI_GPIO_PULL_DOWN,
3042};
3043
3044enum {
3045 WMI_GPIO_INTTYPE_DISABLE,
3046 WMI_GPIO_INTTYPE_RISING_EDGE,
3047 WMI_GPIO_INTTYPE_FALLING_EDGE,
3048 WMI_GPIO_INTTYPE_BOTH_EDGE,
3049 WMI_GPIO_INTTYPE_LEVEL_LOW,
3050 WMI_GPIO_INTTYPE_LEVEL_HIGH
3051};
3052
3053/* WMI_GPIO_CONFIG_CMDID */
3054struct wmi_gpio_config_cmd {
3055 __le32 gpio_num; /* GPIO number to be setup */
3056 __le32 input; /* 0 - Output/ 1 - Input */
3057 __le32 pull_type; /* Pull type defined above */
3058 __le32 intr_mode; /* Interrupt mode defined above (Input) */
3059} __packed;
3060
3061/* WMI_GPIO_OUTPUT_CMDID */
3062struct wmi_gpio_output_cmd {
3063 __le32 gpio_num; /* GPIO number to be setup */
3064 __le32 set; /* Set the GPIO pin*/
3065} __packed;
3066
3067/* WMI_GPIO_INPUT_EVENTID */
3068struct wmi_gpio_input_event {
3069 __le32 gpio_num; /* GPIO number which changed state */
3070} __packed;
3071
3037struct wmi_ext_resource_config_10_4_cmd {
3038 /* contains enum wmi_host_platform_type */
3039 __le32 host_platform_config;
3040 /* see enum wmi_10_4_feature_mask */
3041 __le32 fw_feature_bitmap;
3042 /* WLAN priority GPIO number */
3043 __le32 wlan_gpio_priority;
3044 /* see enum wmi_coex_version */

--- 4446 unchanged lines hidden ---
3072struct wmi_ext_resource_config_10_4_cmd {
3073 /* contains enum wmi_host_platform_type */
3074 __le32 host_platform_config;
3075 /* see enum wmi_10_4_feature_mask */
3076 __le32 fw_feature_bitmap;
3077 /* WLAN priority GPIO number */
3078 __le32 wlan_gpio_priority;
3079 /* see enum wmi_coex_version */

--- 4446 unchanged lines hidden ---