|
@@ -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)
|