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

Commit 70073610 authored by spuligil's avatar spuligil
Browse files

fw-api: CL 13480534 - update fw common interface files

Change-Id: Idd075e8c010a4192d96e90e78f8485517d570ec0
WMI: add VDEV_IGMP_OFFLOAD_CMD msg def
CRs-Fixed: 2262693
parent 016dc710
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -529,6 +529,7 @@ typedef enum {
    WMI_SERVICE_DISABLE_UPPER_6G_EDGE_CH_SUPP = 284, /* Indicates FW support for disabling upper 6 GHz edge channel 7115 */
    WMI_SERVICE_FORCED_DTIM_SUPP = 285, /* Indicates FW supports forced DTIM configuration */
    WMI_SERVICE_DCS_AWGN_INT_SUPPORT = 286, /* Indicates FW supports AWGN Int */
    WMI_SERVICE_IGMP_OFFLOAD_SUPPORT = 287, /* FW supports igmp offload during APPS suspend */


    WMI_MAX_EXT2_SERVICE
+8 −0
Original line number Diff line number Diff line
@@ -1149,6 +1149,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_mlo_ready_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_mlo_teardown_fixed_param,
    WMITLV_TAG_STRUC_wmi_mlo_teardown_complete_fixed_param,
    WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1610,6 +1611,7 @@ typedef enum {
    OP(WMI_MLO_SETUP_CMDID) \
    OP(WMI_MLO_READY_CMDID) \
    OP(WMI_MLO_TEARDOWN_CMDID) \
    OP(WMI_VDEV_IGMP_OFFLOAD_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -4642,6 +4644,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_MLO_READY_CMDID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_teardown_fixed_param, wmi_mlo_teardown_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_MLO_TEARDOWN_CMDID);

/* Mcast ipv4 address filter list cmd */
#define WMITLV_TABLE_WMI_VDEV_IGMP_OFFLOAD_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param, wmi_igmp_offload_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, WMI_IPV4_ADDR, mc_ipv4_list, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_IGMP_OFFLOAD_CMDID);


/************************** TLV definitions of WMI events *******************************/

+21 −0
Original line number Diff line number Diff line
@@ -535,6 +535,8 @@ typedef enum {
    WMI_VDEV_GET_BIG_DATA_P2_CMDID,
    /** set TPC PSD/non-PSD power */
    WMI_VDEV_SET_TPC_POWER_CMDID,
    /** IGMP OFFLOAD */
    WMI_VDEV_IGMP_OFFLOAD_CMDID,
    /* peer specific commands */
@@ -28471,6 +28473,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
        WMI_RETURN_STRING(WMI_MLO_SETUP_CMDID);
        WMI_RETURN_STRING(WMI_MLO_READY_CMDID);
        WMI_RETURN_STRING(WMI_MLO_TEARDOWN_CMDID);
        WMI_RETURN_STRING(WMI_VDEV_IGMP_OFFLOAD_CMDID);
    }
    return "Invalid WMI cmd";
@@ -33968,6 +33971,24 @@ typedef struct {
    A_UINT32 status;
} wmi_mlo_teardown_complete_fixed_param;
#define WMI_IGMP_OFFLOAD_SUPPORT_DISABLE_BITMASK    0x0
#define WMI_IGMP_V1_OFFLOAD_SUPPORT_BITMASK         0x1
#define WMI_IGMP_V2_OFFLOAD_SUPPORT_BITMASK         0x2
#define WMI_IGMP_V3_OFFLOAD_SUPPORT_BITMASK         0x4
#define WMI_IGMP_OFFLOAD_SUPPORT_ALL_VERSION        0x7
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param */
    A_UINT32 vdev_id;                   /** VDEV identifier */
    A_UINT32 enable;                    /** IGMP offload support enable/disable */
    A_UINT32 version_support_bitmask;   /** IGMP version support v1, v2 and/or v3*/
/* Following this structure are the TLVs:
 *     WMI_IPV4_ADDR  grp_ip_address[num_mcast_ipv4_addr];
 */
} wmi_igmp_offload_fixed_param;
/* ADD NEW DEFS HERE */
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_    0
/** WMI revision number has to be incremented when there is a
 *  change that may or may not break compatibility. */
#define __WMI_REVISION_ 979
#define __WMI_REVISION_ 980

/** The Version Namespace should not be normally changed. Only
 *  host and firmware of the same WMI namespace will work