diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f08d471fab..0582c558eb 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -10531,7 +10531,21 @@ typedef enum { WMI_CHAN_WIDTH_MAX, } wmi_channel_width; -/*Clear stats*/ +/* channel width switch type */ +typedef enum { + WMI_CHAN_WIDTH_SWITCH_TYPE_TXRX = 0, + WMI_CHAN_WIDTH_SWITCH_TYPE_TXONLY = 1, + + WMI_CHAN_WIDTH_SWITCH_TYPE_MAX, +} wmi_chan_width_switch_type; + +#define WMI_VDEV_CHAN_WIDTH_NOTIFY_GET_CHAN_WIDTH(chwidth_notify) WMI_GET_BITS(chwidth_notify, 0, 8) +#define WMI_VDEV_CHAN_WIDTH_NOTIFY_SET_CHAN_WIDTH(chwidth_notify, value) WMI_SET_BITS(chwidth_notify, 0, 8, value) + +#define WMI_VDEV_CHAN_WIDTH_NOTIFY_GET_SWITCH_TYPE(chwidth_notify) WMI_GET_BITS(chwidth_notify, 8, 2) +#define WMI_VDEV_CHAN_WIDTH_NOTIFY_SET_SWITCH_TYPE(chwidth_notify, value) WMI_SET_BITS(chwidth_notify, 8, 2, value) + +/* Clear stats */ typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_clear_link_stats_cmd_fixed_param */ /** unique id identifying the VDEV, generated by the caller */ @@ -18038,9 +18052,13 @@ typedef enum { * (except TDLS) about change in bandwidth, through OMN/OMI notification * before performing bandwidth update internally. * Please note incase of STA VDEV only BSS peer gets updated, - * associated TDLS peer bandwidth wont be impacted. + * associated TDLS peer bandwidth won't be impacted. * - * The the updated bandwith is specified with a wmi_channel_width value. + * bit 7:0 the updated bandwidth is specified with + * a wmi_channel_width value + * bit 9:8 the updated bandwidth switch type is specified with + * a wmi_chan_width_switch_type value + * bit 31:10 reserved */ WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY, /* 0xBA */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index d8b20f4402..7373da4a43 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_ 1353 +#define __WMI_REVISION_ 1354 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work