Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbbdb2b3 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge d6bb9ea9 on remote branch

Change-Id: Ie86e6797e9e3ffcb503c47119eea5602343c74aa
parents 35c2576d d6bb9ea9
Loading
Loading
Loading
Loading
+42 −2
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@

#define HTT_BA_64_BIT_MAP_SIZE_DWORDS 2
#define HTT_BA_256_BIT_MAP_SIZE_DWORDS 8
#define HTT_BA_1024_BIT_MAP_SIZE_DWORDS 32

enum htt_ppdu_stats_tlv_tag {
    HTT_PPDU_STATS_COMMON_TLV,                    /* htt_ppdu_stats_common_tlv */
    HTT_PPDU_STATS_USR_COMMON_TLV,                /* htt_ppdu_stats_user_common_tlv */
@@ -38,8 +40,8 @@ enum htt_ppdu_stats_tlv_tag {
    HTT_PPDU_STATS_USR_MPDU_ENQ_BITMAP_64_TLV,    /* htt_ppdu_stats_enq_mpdu_bitmap_64_tlv */
    HTT_PPDU_STATS_USR_MPDU_ENQ_BITMAP_256_TLV,   /* htt_ppdu_stats_enq_mpdu_bitmap_256_tlv */
    HTT_PPDU_STATS_SCH_CMD_STATUS_TLV,            /* htt_ppdu_stats_sch_cmd_tlv_v */
    HTT_PPDU_STATS_USR_COMPLTN_COMMON_TLV,        /* htt_ppdu_stats_user_cmpltn_common_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_BA_BITMAP_64_TLV,  /* htt_ppdu_stats_user_cmpltn_ba_bitmap_64_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_COMMON_TLV,        /* htt_ppdu_stats_user_compltn_common_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_BA_BITMAP_64_TLV,  /* htt_ppdu_stats_user_compltn_ba_bitmap_64_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_BA_BITMAP_256_TLV, /* htt_ppdu_stats_user_cmpltn_ba_bitmap_256_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_ACK_BA_STATUS_TLV, /* htt_ppdu_stats_user_cmpltn_ack_ba_status_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_FLUSH_TLV,         /* htt_ppdu_stats_flush_tlv */
@@ -47,6 +49,8 @@ enum htt_ppdu_stats_tlv_tag {
    HTT_PPDU_STATS_INFO_TLV,                      /* htt_ppdu_stats_info */
    HTT_PPDU_STATS_TX_MGMTCTRL_PAYLOAD_TLV,       /* htt_ppdu_stats_tx_mgmtctrl_payload_tlv */
    HTT_PPDU_STATS_USERS_INFO_TLV,                /* htt_ppdu_stats_users_info_tlv */
    HTT_PPDU_STATS_USR_MPDU_ENQ_BITMAP_1024_TLV,  /* htt_ppdu_stats_enq_mpdu_bitmap_1024_tlv */
    HTT_PPDU_STATS_USR_COMPLTN_BA_BITMAP_1024_TLV,/* htt_ppdu_stats_user_compltn_ba_bitmap_1024_tlv */

    /* New TLV's are added above to this line */
    HTT_PPDU_STATS_MAX_TAG,
@@ -1595,6 +1599,24 @@ typedef struct {
    A_UINT32 enq_bitmap[HTT_BA_256_BIT_MAP_SIZE_DWORDS];
} htt_ppdu_stats_enq_mpdu_bitmap_256_tlv;

typedef struct {
    htt_tlv_hdr_t tlv_hdr;
    /* BIT [ 7 :   0]   :- tid_num
     * BIT [ 15:   8]   :- reserved0
     * BIT [ 31:  16]   :- sw_peer_id
     */
    union {
        A_UINT32 sw_peer_id__tid_num;
        struct {
            A_UINT32 tid_num:         8,
                     reserved0:       8,
                     sw_peer_id:     16;
        };
    };
    A_UINT32 start_seq;
    A_UINT32 enq_bitmap[HTT_BA_1024_BIT_MAP_SIZE_DWORDS];
} htt_ppdu_stats_enq_mpdu_bitmap_1024_tlv;

/* COMPLETION_STATUS defined in HTT_PPDU_STATS_USER_COMPLETION_STATUS */
#define HTT_PPDU_STATS_USER_CMPLTN_COMMON_TLV_COMPLETION_STATUS_M     0x000000ff
#define HTT_PPDU_STATS_USER_CMPLTN_COMMON_TLV_COMPLETION_STATUS_S              0
@@ -2020,6 +2042,24 @@ typedef struct {
    A_UINT32 ba_bitmap[HTT_BA_256_BIT_MAP_SIZE_DWORDS];
} htt_ppdu_stats_user_compltn_ba_bitmap_256_tlv;

typedef struct {
    htt_tlv_hdr_t tlv_hdr;
    /* BIT [ 7 :   0]   :- tid_num
     * BIT [ 15:   8]   :- reserved0
     * BIT [ 31:  16]   :- sw_peer_id
     */
    union {
        A_UINT32 sw_peer_id__tid_num;
        struct {
            A_UINT32 tid_num:        8,
                     reserved0:      8,
                     sw_peer_id:    16;
        };
    };
    A_UINT32 ba_seq_no;
    A_UINT32 ba_bitmap[HTT_BA_1024_BIT_MAP_SIZE_DWORDS];
} htt_ppdu_stats_user_compltn_ba_bitmap_1024_tlv;

#define HTT_PPDU_STATS_USER_CMPLTN_ACK_BA_STATUS_TLV_SW_PEER_ID_M     0x0000ffff
#define HTT_PPDU_STATS_USER_CMPLTN_ACK_BA_STATUS_TLV_SW_PEER_ID_S              0

+1 −0
Original line number Diff line number Diff line
@@ -483,6 +483,7 @@ typedef enum {
    WMI_SERVICE_PASSIVE_SCAN_START_TIME_ENHANCE = 263, /* Indicates FW support to not skip beacon if passive scan dwell time + channel switch delay is lesser than beacon interval */
    WMI_SERVICE_QOS_NULL_FRAME_TX_OVER_WMI = 264, /* Indicates that FW supports tx of QoS null frame downloaded through WMI interface */
    WMI_SERVICE_SCAN_CONFIG_PER_CHANNEL = 265, /* Indicates that FW supports per channel configuration support in the scan start command */
    WMI_SERVICE_CSA_BEACON_TEMPLATE = 266, /* Indicates that FW supports updating CSA count in beacon template */


    WMI_MAX_EXT2_SERVICE
+9 −1
Original line number Diff line number Diff line
@@ -1117,6 +1117,13 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_ctrl_path_mem_stats_struct,
    WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_complete_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param,
} WMITLV_TAG_ID;

/*
@@ -4181,7 +4188,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_channel_info, roam_neighbor_report_chan_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_frame_info, roam_frame_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_initial_info, roam_initial_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_response_info, roam_btm_response_info, WMITLV_SIZE_VAR)
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_response_info, roam_btm_response_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_msg_info, roam_msg_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);

/* Motion detection cmd */
+188 −2
Original line number Diff line number Diff line
@@ -70,6 +70,11 @@ extern "C" {
#include <wlan_defs.h>
#include <wmi_services.h>
/*
 * Include the defs of vendor-specific messages (or possibly dummy defs
 * if there are no actual vendor-specific message defs).
 */
#include <wmi_unified_vendor.h>
#define ATH_MAC_LEN             6               /**< length of MAC in bytes */
#define WMI_EVENT_STATUS_SUCCESS 0 /* Success return status to host */
@@ -121,7 +126,7 @@ extern "C" {
    (((num_entries) / (32 / (bits_per_entry))) +            \
    (((num_entries) % (32 / (bits_per_entry))) ? 1 : 0))
#define WMI_RETURN_STRING(str) case ((str)): return (uint8_t *)(# str);
#define WMI_RETURN_STRING(str) case ((str)): return (A_UINT8 *)(# str);
static INLINE A_UINT32 wmi_packed_arr_get_bits(A_UINT32 *arr,
    A_UINT32 entry_index, A_UINT32 bits_per_entry)
@@ -260,6 +265,7 @@ typedef enum {
    WMI_GRP_AUDIO,          /* 0x43 */
    WMI_GRP_CFR_CAPTURE,    /* 0x44 */
    WMI_GRP_ATM,            /* 0x45 ATM (Air Time Management group) */
    WMI_GRP_VENDOR,         /* 0x46 vendor specific group */
} WMI_GRP_ID;
#define WMI_CMD_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
@@ -1338,6 +1344,12 @@ typedef enum {
    WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID,
    /** ATF Peer Extended Request command */
    WMI_PEER_ATF_EXT_REQUEST_CMDID,
    /** Vendor Defined WMI commands **/
    WMI_VENDOR_PDEV_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_VENDOR),
    WMI_VENDOR_VDEV_CMDID,
    WMI_VENDOR_PEER_CMDID,
    /** Further vendor cmd IDs can be added below **/
} WMI_CMD_ID;
typedef enum {
@@ -2036,6 +2048,11 @@ typedef enum {
    WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_AUDIO),
    WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID,
    /** Vendor defined WMI events **/
    WMI_VENDOR_PDEV_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VENDOR),
    WMI_VENDOR_VDEV_EVENTID,
    WMI_VENDOR_PEER_EVENTID,
    /** Further vendor event IDs can be added below **/
} WMI_EVT_ID;
/* defines for OEM message sub-types */
@@ -7061,6 +7078,14 @@ typedef enum {
    /* Param to enable/disable PCIE HW ILP */
    WMI_PDEV_PARAM_PCIE_HW_ILP,
    /*
     * Configure the TXTD_START_TIMESTAMP parameters
     * The timestamp units are nanoseconds.
     * This parameter can be used to adjust at what point the TXTD module
     * will start operating after the STA connects to an AP.
     */
    WMI_PDEV_PARAM_SET_TXTD_START_TIMESTAMP,
} WMI_PDEV_PARAM;
#define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)
@@ -11738,6 +11763,7 @@ typedef enum {
         *  5  | UL OFDMA, for AP its Tx OFDMA trigger for Sta its Rx OFDMA
         *     |           trigger receive & UL response
         *  6  | UL MUMIMO
         *  7  | TXBF+OFDMA
         */
        WMI_VDEV_PARAM_SET_HEMU_MODE,                         /* 0x8002 */
        WMI_VDEV_PARAM_HEOPS_0_31,                            /* 0x8003 */
@@ -11773,6 +11799,10 @@ typedef enum {
#define WMI_VDEV_HE_ULMUMIMO_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 1)
#define WMI_VDEV_HE_ULMUMIMO_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 0)
#define WMI_VDEV_HE_TXBF_OFDMA_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 7, 1)
#define WMI_VDEV_HE_TXBF_OFDMA_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 7, 1, 1)
#define WMI_VDEV_HE_TXBF_OFDMA_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 7, 1, 0)
#define WMI_VDEV_HE_AX_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 0, 1)
#define WMI_VDEV_HE_MU_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 2, 1)
#define WMI_VDEV_HE_AX_TRIG_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 3, 1)
@@ -19936,6 +19966,8 @@ typedef struct {
#define WMI_NAN_SET_RANGING_INITIATOR_ROLE(flag, val) WMI_SET_BITS(flag, 0, 1, val)
#define WMI_NAN_GET_RANGING_RESPONDER_ROLE(flag)      WMI_GET_BITS(flag, 1, 1)
#define WMI_NAN_SET_RANGING_RESPONDER_ROLE(flag, val) WMI_SET_BITS(flag, 1, 1, val)
#define WMI_NAN_GET_NAN_6G_DISABLE(flag)              WMI_GET_BITS(flag, 2, 1)
#define WMI_NAN_SET_NAN_6G_DISABLE(flag, val)         WMI_SET_BITS(flag, 2, 1, val)
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_nan_host_config_param */
@@ -19945,7 +19977,8 @@ typedef struct {
    /** Flags: refer to WMI_NAN_GET/SET macros
     *  Bit   0    -> Nan ranging initiator role (0 - Disable, 1 - Enable)
     *  Bit   1    -> Nan ranging responder role (0 - Disable, 1 - Enable)
     *  Bits  2-31 -> Reserved
     *  Bit   2    -> Nan 6 GHz support          (1 - Disable, 0 - Enable)
     *  Bits  3-31 -> Reserved
     */
    A_UINT32 flags;
} wmi_nan_host_config_param_PROTOTYPE;
@@ -26590,6 +26623,11 @@ typedef enum {
    WMI_THERMAL_MITIGATION      = 1,
    /* shut down the tx completely */
    WMI_THERMAL_SHUTOFF         = 2,
    /* THERMAL_SHUTDOWN_TGT
     * The target is over the temperature limit even with tx shut off.
     * The target will be shut down entirely to control the temperature.
     */
    WMI_THERMAL_SHUTDOWN_TGT    = 3,
} WMI_THERMAL_THROT_LEVEL;
/** FW response with the stats event id for every pdev and zones */
@@ -29320,6 +29358,29 @@ typedef struct {
    A_UINT32 timer_canceled;
} wmi_roam_initial_info;
typedef enum {
    WMI_ROAM_MSG_RSSI_RECOVERED = 1, /* Connected AP RSSI is recovered to good region */
} WMI_ROAM_MSG_ID;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param */
    /*
     * timestamp is the absolute time (in milliseconds) w.r.t host timer
     * which is synchronized between the host and target
     */
    A_UINT32 timestamp;
    A_UINT32 msg_id; /* Message ID from WMI_ROAM_MSG_ID */
    /* msg_param values are interpreted differently for different msg_id values.
     * if msg_id == WMI_ROAM_MSG_RSSI_RECOVERED:
     *     msg_param1 contains current AP RSSI in dBm
     *         (unsigned -> signed conversion is required)
     *     msg_param2 contains next trigger RSSI threshold in dBm
     *         (unsigned -> signed conversion is required)
     */
    A_UINT32 msg_param1;
    A_UINT32 msg_param2;
} wmi_roam_msg_info;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param */
    A_UINT32 vdev_id;
@@ -29677,9 +29738,21 @@ typedef struct {
    A_UINT32 chan_width; /* wmi_channel_width */
} wmi_chan_width_peer_list;
#define WMI_PEER_CHAN_WIDTH_SWITCH_SET_VALID_VDEV_ID(comp) WMI_SET_BITS(comp, 31,1, 1)
#define WMI_PEER_CHAN_WIDTH_SWITCH_GET_VALID_VDEV_ID(comp) WMI_GET_BITS(comp, 31, 1)
#define WMI_PEER_CHAN_WIDTH_SWITCH_SET_VDEV_ID(comp, value) WMI_SET_BITS(comp, 0, 8, value)
#define WMI_PEER_CHAN_WIDTH_SWITCH_GET_VDEV_ID(comp) WMI_GET_BITS(comp, 0, 8)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param */
    A_UINT32 num_peers;
    /* vdev_var:
     * The MSb (bit 31) indicates that the vdev_id is valid.
     * The LSB is used to infer the actual vdev_id.
     * The other bits can be used for future enhancements.
     */
    A_UINT32 vdev_var;
    /*
     * Following this structure is the TLV:
     * struct wmi_chan_width_peer_list chan_width_peer_info[num_peers];
@@ -32335,6 +32408,119 @@ typedef struct {
     */
} wmi_pdev_twt_session_stats_event_fixed_param;
typedef struct wmi_pdev_vendor_event
{
    /* type is WMI_PDEV_VENDOR_EVENTID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_pdev_vendor_event_val evt;
    /* NOTE:
     * Future changes may increase the size of pdev_vendor_event.
     * Consequently, no fields can be added here after pdev_vendor_event,
     * because their offsets within wmi_pdev_vendor_event_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_pdev_vendor_event_fixed_param;
typedef struct wmi_vdev_vendor_event
{
    /* type is WMI_VDEV_VENDOR_EVENTID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_vdev_vendor_event_val evt;
    /* NOTE:
     * Future changes may increase the size of vdev_vendor_event.
     * Consequently, no fields can be added here after vdev_vendor_event,
     * because their offsets within wmi_vdev_vendor_event_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_vdev_vendor_event_fixed_param;
typedef struct wmi_peer_vendor_event
{
    /* type is WMI_PEER_VENDOR_EVENTID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /* peer MAC address */
    wmi_mac_addr peer_macaddr;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_peer_vendor_event_val evt;
    /* NOTE:
     * Future changes may increase the size of peer_vendor_event.
     * Consequently, no fields can be added here after peer_vendor_event,
     * because their offsets within wmi_peer_vendor_event_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_peer_vendor_event_fixed_param;
typedef struct wmi_pdev_vendor_cmd
{
    /* type is WMI_PDEV_VENDOR_CMDID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_pdev_vendor_cmd_val cmd;
    /* NOTE:
     * Future changes may increase the size of pdev_vendor_cmd.
     * Consequently, no fields can be added here after pdev_vendor_cmd,
     * because their offsets within wmi_pdev_vendor_cmd_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_pdev_vendor_cmd_fixed_param;
typedef struct wmi_vdev_vendor_cmd
{
    /* type is WMI_VDEV_VENDOR_CMDID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_vdev_vendor_cmd_val cmd;
    /* NOTE:
     * Future changes may increase the size of vdev_vendor_cmd.
     * Consequently, no fields can be added here after vdev_vendor_cmd,
     * because their offsets within wmi_vdev_vendor_cmd_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_vdev_vendor_cmd_fixed_param;
typedef struct wmi_peer_vendor_cmd
{
    /* type is WMI_PEER_VENDOR_CMDID */
    A_UINT32 tlv_header;
    /* pdev_id for identifying the MAC.  See macros starting with WMI_PDEV_ID_ for values. */
    A_UINT32 pdev_id;
    /* unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /* peer MAC address */
    wmi_mac_addr peer_macaddr;
    /* Any vendor specialization cases will need to add sub_type enum defs. */
    A_UINT32 sub_type;
    wmi_peer_vendor_cmd_val cmd;
    /* NOTE:
     * Future changes may increase the size of peer_vendor_cmd.
     * Consequently, no fields can be added here after peer_vendor_cmd,
     * because their offsets within wmi_peer_vendor_cmd_fixed_param
     * would change, causing backwards incompatibilities.
     */
} wmi_peer_vendor_cmd_fixed_param;
/* ADD NEW DEFS HERE */
+62 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020 The Linux Foundation. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
 * above copyright notice and this permission notice appear in all
 * copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 */

/** @file
 *  This File provides dummy defs for the vendor-specific message content structs defined in wmi_unified.h.
 *  Vendor may replace this file wmi_unified_vendor.h with there own vendor defs header file containing the real vendor defs.
 **/
#ifndef _WMI_UNIFIED_VENDOR_H_
#define _WMI_UNIFIED_VENDOR_H_

typedef union
{
    A_UINT32 pdev_sample1_cmd;
    A_UINT32 pdev_sample2_cmd;
} wmi_pdev_vendor_cmd_val;

typedef union
{
    A_UINT32 pdev_sample1_event;
    A_UINT32 pdev_sample2_event;
} wmi_pdev_vendor_event_val;

typedef union
{
    A_UINT32 vdev_sample1_cmd;
    A_UINT32 vdev_sample2_cmd;
} wmi_vdev_vendor_cmd_val;

typedef union
{
    A_UINT32 vdev_sample1_event;
    A_UINT32 vdev_sample2_event;
} wmi_vdev_vendor_event_val;

typedef union
{
    A_UINT32 peer_sample1_cmd;
    A_UINT32 peer_sample2_cmd;
} wmi_peer_vendor_cmd_val;

typedef union
{
    A_UINT32 peer_sample1_event;
    A_UINT32 peer_sample2_event;
} wmi_peer_vendor_event_val;

#endif /* _WMI_UNIFIED_VENDOR_H_ */
Loading