wmi.h (ca0df43d211039dded5a8f8553356414c9a74731) wmi.h (480c9df5778774117546f6389be1a8dc8cc935db)
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */
2/*
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
5 */
6
7#ifndef ATH12K_WMI_H
8#define ATH12K_WMI_H

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

3997 __le32 segment_id;
3998 __le32 timestamp;
3999 __le32 is_chirp;
4000 a_sle32 freq_offset;
4001 a_sle32 sidx;
4002} __packed;
4003
4004struct wmi_pdev_temperature_event {
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */
2/*
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
5 */
6
7#ifndef ATH12K_WMI_H
8#define ATH12K_WMI_H

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

3997 __le32 segment_id;
3998 __le32 timestamp;
3999 __le32 is_chirp;
4000 a_sle32 freq_offset;
4001 a_sle32 sidx;
4002} __packed;
4003
4004struct wmi_pdev_temperature_event {
4005 /* temperature value in Celcius degree */
4005 /* temperature value in Celsius degree */
4006 a_sle32 temp;
4007 __le32 pdev_id;
4008} __packed;
4009
4010#define WMI_RX_STATUS_OK 0x00
4011#define WMI_RX_STATUS_ERR_CRC 0x01
4012#define WMI_RX_STATUS_ERR_DECRYPT 0x08
4013#define WMI_RX_STATUS_ERR_MIC 0x10

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

4187 * = 0). Value 0 has a special meaning: there is no maximum count and the FW
4188 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
4189 * parameter is used when the RX wake policy is
4190 * WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD and ignored when the RX wake
4191 * policy is WMI_STA_PS_RX_WAKE_POLICY_WAKE.
4192 */
4193enum wmi_sta_ps_param_pspoll_count {
4194 WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0,
4006 a_sle32 temp;
4007 __le32 pdev_id;
4008} __packed;
4009
4010#define WMI_RX_STATUS_OK 0x00
4011#define WMI_RX_STATUS_ERR_CRC 0x01
4012#define WMI_RX_STATUS_ERR_DECRYPT 0x08
4013#define WMI_RX_STATUS_ERR_MIC 0x10

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

4187 * = 0). Value 0 has a special meaning: there is no maximum count and the FW
4188 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
4189 * parameter is used when the RX wake policy is
4190 * WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD and ignored when the RX wake
4191 * policy is WMI_STA_PS_RX_WAKE_POLICY_WAKE.
4192 */
4193enum wmi_sta_ps_param_pspoll_count {
4194 WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0,
4195 /* Values greater than 0 indicate the maximum numer of PS-Poll frames
4195 /* Values greater than 0 indicate the maximum number of PS-Poll frames
4196 * FW will send before waking up.
4197 */
4198};
4199
4200/* U-APSD configuration of peer station from (re)assoc request and TSPECs */
4201enum wmi_ap_ps_param_uapsd {
4202 WMI_AP_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
4203 WMI_AP_PS_UAPSD_AC0_TRIGGER_EN = (1 << 1),

--- 600 unchanged lines hidden ---
4196 * FW will send before waking up.
4197 */
4198};
4199
4200/* U-APSD configuration of peer station from (re)assoc request and TSPECs */
4201enum wmi_ap_ps_param_uapsd {
4202 WMI_AP_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
4203 WMI_AP_PS_UAPSD_AC0_TRIGGER_EN = (1 << 1),

--- 600 unchanged lines hidden ---