diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 1b6682847ee1..f460fc47cf6a 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -29697,9 +29697,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]; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 7e145c6ce866..d82317c153dd 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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_ 914 +#define __WMI_REVISION_ 915 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work