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

Commit 889f06f0 authored by spuligil's avatar spuligil
Browse files

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

Change-Id: Id91c2193d1911e22556e953da5248d010b6f38a6
WMI: add mlo_params TLV to PEER_DELETE_CMD msg
CRs-Fixed: 2262693
parent 21ebab1f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1268,6 +1268,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_tid_to_link_map,
    WMITLV_TAG_STRUC_wmi_peer_tid_to_link_map_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_assoc_tid_to_link_map,
    WMITLV_TAG_STRUC_wmi_peer_delete_mlo_params,
} WMITLV_TAG_ID;

/*
@@ -2073,7 +2074,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CMDID);

/* Peer delete Cmd */
#define WMITLV_TABLE_WMI_PEER_DELETE_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param, wmi_peer_delete_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param, wmi_peer_delete_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_delete_mlo_params, mlo_params, WMITLV_SIZE_VAR)

WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_CMDID);

+12 −0
Original line number Diff line number Diff line
@@ -15537,12 +15537,24 @@ typedef struct {
 */
} wmi_peer_create_cmd_fixed_param;
/* this TLV structure is used for providing MLO parameters on peer delete */
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len */
    A_UINT32 mlo_hw_link_id_bitmap; /* Hardware link id of the link which has crashed or was not created in the first place */
} wmi_peer_delete_mlo_params;
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param */
    /** unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /** peer MAC address */
    wmi_mac_addr peer_macaddr;
/* The TLVs follows this structure:
 * wmi_peer_delete_mlo_params mlo_params[]; <-- MLO flags on peer_delete
 *     Optional TLV, only present for MLO peers.
 *     If the peer is non-MLO, the array length should be 0.
 *     Used for Link peer deleted.
 */
} wmi_peer_delete_cmd_fixed_param;
#define WMI_VDEV_ALL_PEER_MAX_BITMAP_WORD32 ((WMI_PEER_TYPE_HOST_MAX+31) / 32)
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,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_ 1148
#define __WMI_REVISION_ 1149

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