diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f9a371bd94..4c044f99e1 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9323,6 +9323,18 @@ typedef enum { * b'8-b'15 indicate the MCS (MCS value can be from 0-15) * b'16 Enable or disable nss cap * b'17 Enable or disable mcs cap + * b'18 To determine the direction for caping DL_direction + * b'19 To determine the direction for caping UL_direction + * + * For backwards compatibility, if bits 18+19 are both + * cleared, then the rate cap applies to both DL and UL. + * To summarize: + * bit 19 | bit 18 | rate cap applied + * -------+--------+------------------ + * 0 | 0 | cap rates for both UL and DL + * 0 | 1 | cap rates only for DL + * 1 | 0 | cap rates only for UL + * 1 | 1 | cap rates for both UL and DL */ WMI_PDEV_PARAM_RATE_UPPER_CAP, @@ -9624,6 +9636,10 @@ typedef enum { #define WMI_PDEV_UPPER_CAP_NSS_VALID_SET(_value, value) WMI_SET_BITS(_value, 16, 1, value) #define WMI_PDEV_UPPER_CAP_MCS_VALID_GET(value) WMI_GET_BITS(value, 17, 1) #define WMI_PDEV_UPPER_CAP_MCS_VALID_SET(_value, value) WMI_SET_BITS(_value, 17, 1, value) +#define WMI_PDEV_UPPER_CAP_DL_DIR_GET(value) WMI_GET_BITS(value, 18, 1) +#define WMI_PDEV_UPPER_CAP_DL_DIR_SET(_value, value) WMI_SET_BITS(_value, 18, 1, value) +#define WMI_PDEV_UPPER_CAP_UL_DIR_GET(value) WMI_GET_BITS(value, 19, 1) +#define WMI_PDEV_UPPER_CAP_UL_DIR_SET(_value, value) WMI_SET_BITS(_value, 19, 1, value) #define WMI_PDEV_RATE_DROP_NUM_MCS_GET(value) WMI_GET_BITS(value, 0, 8) #define WMI_PDEV_RATE_DROP_NUM_MCS_SET(_value, value) WMI_SET_BITS(_value, 0, 8, value) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index c306ff9de6..ca6cf2e77b 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_ 1454 +#define __WMI_REVISION_ 1455 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work