diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index acabf2831a55..771a65e1b573 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -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); diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 10728000b880..88185b0091c2 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -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) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 32d4ffb405df..e9bb57553292 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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