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

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

Merge f33e8639 on remote branch

Change-Id: I91b9cc90feb512b0c79f83aa41e12497a2616411
parents cb0b04c0 f33e8639
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -166,12 +166,16 @@ typedef PREPACK struct _HTC_FRAME_HDR{
/* base message ID header */
typedef PREPACK struct {
    A_UINT32 MessageID: 16,
             reserved : 16;
             MetaData:   8,
             reserved:   8;
} POSTPACK HTC_UNKNOWN_MSG;

#define HTC_UNKNOWN_MSG_MESSAGEID_LSB                 0
#define HTC_UNKNOWN_MSG_MESSAGEID_MASK                0x0000ffff
#define HTC_UNKNOWN_MSG_MESSAGEID_OFFSET              0x00000000
#define HTC_UNKNOWN_MSG_METADATA_LSB                  16
#define HTC_UNKNOWN_MSG_METADATA_MASK                 0X00ff0000
#define HTC_UNKNOWN_MSG_METADATA_OFFSET               0x00000000

/* HTC ready message
 * direction : target-to-host  */
+5 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012, 2014-2017, 2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
 *
@@ -61,7 +61,10 @@ typedef enum {
#define WMI_CONTROL_SVC_WMAC2  MAKE_SERVICE_ID(WMI_SERVICE_GROUP,6)
#define WMI_CONTROL_DIAG_SVC   MAKE_SERVICE_ID(WMI_SERVICE_GROUP,7)
#define WMI_CONTROL_DBR_SVC    MAKE_SERVICE_ID(WMI_SERVICE_GROUP,8)
#define WMI_MAX_SERVICES  9
/* WMI_CONTROL_SVC_WMAC3,4: WMI service for MACs 3 and 4 (where applicable) */
#define WMI_CONTROL_SVC_WMAC3  MAKE_SERVICE_ID(WMI_SERVICE_GROUP,9)
#define WMI_CONTROL_SVC_WMAC4  MAKE_SERVICE_ID(WMI_SERVICE_GROUP,10)
#define WMI_MAX_SERVICES  11

#define NMI_CONTROL_SVC   MAKE_SERVICE_ID(NMI_SERVICE_GROUP,0)
#define NMI_DATA_SVC      MAKE_SERVICE_ID(NMI_SERVICE_GROUP,1)
+45 −12
Original line number Diff line number Diff line
@@ -796,6 +796,15 @@ typedef enum {
    HTT_STATS_TX_PDEV_MLO_TXOP_ABORT_TAG           = 178, /* htt_tx_pdev_stats_mlo_txop_abort_tlv_v */
    HTT_STATS_UMAC_SSR_TAG                         = 179, /* htt_umac_ssr_stats_tlv */
    HTT_STATS_PEER_BE_OFDMA_STATS_TAG              = 180, /* htt_peer_be_ofdma_stats_tlv */
    HTT_STATS_MLO_UMAC_SSR_TRIGGER_TAG             = 181, /* htt_mlo_umac_ssr_trigger_stats_tlv */
    HTT_STATS_MLO_UMAC_SSR_CMN_TAG                 = 182, /* htt_mlo_umac_ssr_common_stats_tlv */
    HTT_STATS_MLO_UMAC_SSR_KPI_TSTMP_TAG           = 183, /* htt_mlo_umac_ssr_kpi_tstamp_stats_tlv */
    HTT_STATS_MLO_UMAC_SSR_DBG_TAG                 = 184, /* htt_mlo_umac_ssr_dbg_tlv */
    HTT_STATS_MLO_UMAC_SSR_HANDSHAKE_TAG           = 185, /* htt_mlo_umac_htt_handshake_stats_tlv */
    HTT_STATS_MLO_UMAC_SSR_MLO_TAG                 = 186, /* htt_mlo_umac_ssr_mlo_stats_tlv */
    HTT_STATS_PDEV_TDMA_TAG                        = 187, /* htt_pdev_tdma_stats_tlv */
    HTT_STATS_CODEL_SVC_CLASS_TAG                  = 188, /* htt_codel_svc_class_stats_tlv */
    HTT_STATS_CODEL_MSDUQ_TAG                      = 189, /* htt_codel_msduq_stats_tlv */
    HTT_STATS_MAX_TAG,
@@ -10767,7 +10776,7 @@ enum htt_t2h_msg_type {
    HTT_T2H_MSG_TYPE_RX_ADDBA_EXTN                 = 0x31,
    HTT_T2H_MSG_TYPE_RX_DELBA_EXTN                 = 0x32,
    HTT_T2H_MSG_TYPE_RX_CCE_SUPER_RULE_SETUP_DONE  = 0x33,
    HTT_T2H_CODEL_MSDUQ_LATENCIES_ARRAY_CFG_IND    = 0x34,
    HTT_T2H_CODEL_MSDUQ_LATENCIES_ARRAY_CFG_IND    = 0x34, /* DEPRECATED */
    HTT_T2H_MSG_TYPE_RX_DATA_IND                   = 0x35,
    HTT_T2H_MSG_TYPE_SOFT_UMAC_TX_COMPL_IND        = 0x36,
    HTT_T2H_MSG_TYPE_PRIMARY_LINK_PEER_MIGRATE_IND = 0x37,
@@ -17813,12 +17822,12 @@ enum htt_dbg_ext_stats_status {
 * to host ppdu stats indication message.
 *
 *
 * |31                         16|15   12|11   10|9      8|7            0 |
 * |----------------------------------------------------------------------|
 * |31         24|23           16|15   12|11   10|9      8|7            0 |
 * |-----------------------------+-------+-------+--------+---------------|
 * |    payload_size             | rsvd  |pdev_id|mac_id  |    msg type   |
 * |----------------------------------------------------------------------|
 * |                          ppdu_id                                     |
 * |----------------------------------------------------------------------|
 * |-------------+---------------+-------+-------+--------+---------------|
 * | tgt_private |                     ppdu_id                            |
 * |-------------+--------------------------------------------------------|
 * |                        Timestamp in us                               |
 * |----------------------------------------------------------------------|
 * |                          reserved                                    |
@@ -17858,8 +17867,9 @@ enum htt_dbg_ext_stats_status {
#define HTT_T2H_PPDU_STATS_PAYLOAD_SIZE_M     0xFFFF0000
#define HTT_T2H_PPDU_STATS_PAYLOAD_SIZE_S     16
#define HTT_T2H_PPDU_STATS_PPDU_ID_M          0xFFFFFFFF
#define HTT_T2H_PPDU_STATS_PPDU_ID_M          0x00FFFFFF
#define HTT_T2H_PPDU_STATS_PPDU_ID_S          0
/* bits 31:24 are used by the target for internal purposes */
#define HTT_T2H_PPDU_STATS_MAC_ID_SET(word, value)             \
    do {                                                         \
@@ -17890,7 +17900,7 @@ enum htt_dbg_ext_stats_status {
#define HTT_T2H_PPDU_STATS_PPDU_ID_SET(word, value)             \
    do {                                                         \
        HTT_CHECK_SET_VAL(HTT_T2H_PPDU_STATS_PPDU_ID, value);   \
        /*HTT_CHECK_SET_VAL(HTT_T2H_PPDU_STATS_PPDU_ID, value);*/   \
        (word) |= (value)  << HTT_T2H_PPDU_STATS_PPDU_ID_S;     \
    } while (0)
#define HTT_T2H_PPDU_STATS_PPDU_ID_GET(word) \
@@ -19094,9 +19104,9 @@ struct htt_ul_ofdma_user_info_v0_bitmap_w1 {
#define HTT_UL_OFDMA_USER_INFO_V1_BITMAP_W0 \
    A_UINT32 w0_fw_rsvd:27; \
    A_UINT32 w0_sub_version:3;  /* set to a value of “0” on WKK/Beryllium targets (future expansion) */ \
    A_UINT32 w0_sub_version:3;  /* set to a value of "0" on WKK/Beryllium targets (future expansion) */ \
    A_UINT32 w0_valid:1; /* field aligns with V0 definition */ \
    A_UINT32 w0_version:1;  /* set to a value of “1” to indicate picking htt_ul_ofdma_user_info_v1_bitmap (field aligns with V0 definition) */
    A_UINT32 w0_version:1;  /* set to a value of "1" to indicate picking htt_ul_ofdma_user_info_v1_bitmap (field aligns with V0 definition) */
struct htt_ul_ofdma_user_info_v1_bitmap_w0 {
    HTT_UL_OFDMA_USER_INFO_V1_BITMAP_W0
@@ -21067,6 +21077,8 @@ PREPACK struct htt_rx_cce_super_rule_setup_done_t {
        } while (0)
/**
 * THE BELOW MESSAGE HAS BEEN DEPRECATED
 *======================================
 * @brief target -> host CoDel MSDU queue latencies array configuration
 *
 * MSG_TYPE => HTT_T2H_CODEL_MSDUQ_LATENCIES_ARRAY_CFG_IND
@@ -21117,7 +21129,7 @@ typedef struct {
             num_elem: 16; /* bits 31:16 */
    A_UINT32 paddr_low;
    A_UINT32 paddr_high;
} htt_t2h_codel_msduq_latencies_array_cfg_int_t;
} htt_t2h_codel_msduq_latencies_array_cfg_int_t; /* DEPRECATED */
#define HTT_T2H_CODEL_MSDUQ_LATENCIES_ARRAY_CFG_SIZE 12 /* bytes */
@@ -21276,7 +21288,17 @@ struct htt_t2h_rx_data_msdu_info
    A_UINT32 /* word 1 */
        buffer_addr_high        :  8,
        sw_buffer_cookie        : 21,
        rsvd1                   :  3;
        /* fw_offloads_inspected:
         * When reo_destination_indication is 6 in reo_entrance_ring
         * of the RXDMA2REO MPDU upload, all the MSDUs that are part
         * of the MPDU are inspected by FW offloads layer, subsequently
         * the MSDUs are qualified to be host interested.
         * In such case the fw_offloads_inspected is set to 1, else 0.
         * This will assist host to not consider such MSDUs for FISA
         * flow addition.
         */
        fw_offloads_inspected   :  1,
        rsvd1                   :  2;
    A_UINT32 /* word 2 */
        mpdu_retry_bit          :  1, /* used for stats maintenance */
        raw_mpdu_frame          :  1, /* used for pkt drop and processing */
@@ -21397,6 +21419,17 @@ struct htt_t2h_rx_data_msdu_info
#define HTT_RX_DATA_MSDU_INFO_SW_BUFFER_COOKIE_GET(word) \
    (((word) & HTT_RX_DATA_MSDU_INFO_SW_BUFFER_COOKIE_M) >> HTT_RX_DATA_MSDU_INFO_SW_BUFFER_COOKIE_S)
#define HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_M   0x20000000
#define HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_S   29
#define HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_SET(word, value) \
    do { \
        HTT_CHECK_SET_VAL(HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED, value); \
        (word) |= (value)  << HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_S; \
    } while (0)
#define HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_GET(word) \
    (((word) & HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_M) >> HTT_RX_DATA_MSDU_INFO_FW_OFFLOADS_INSPECTED_S)
#define HTT_RX_DATA_MSDU_INFO_MPDU_RETRY_BIT_M          0x00000001
#define HTT_RX_DATA_MSDU_INFO_MPDU_RETRY_BIT_S          0
+5 −0
Original line number Diff line number Diff line
@@ -881,6 +881,11 @@ typedef struct {
     * from the Host
     */
    A_UINT32 is_manual_ulofdma_trigger;
    /* is_combined_ul_bsrp_trigger:
     * Flag to indicate if a given UL BSRP trigger is sent combined as
     * part of existing DL/UL data sequence
     */
    A_UINT32 is_combined_ul_bsrp_trigger;
} htt_ppdu_stats_common_tlv;

#define HTT_PPDU_STATS_USER_COMMON_TLV_TID_NUM_M     0x000000ff
+746 −4

File changed.

Preview size limit exceeded, changes collapsed.

Loading