Bläddra i källkod

fw-api: CL 16650276 - update fw common interface files

Change-Id: Iab3118ef8158088cc7c2f3b8706508810059be81
WMI: add cfg flag to enable/disable SAWF tx sched
CRs-Fixed: 2262693
Sandeep Puligilla 3 år sedan
förälder
incheckning
2b9e5a0f38
2 ändrade filer med 12 tillägg och 2 borttagningar
  1. 11 1
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 11 - 1
fw/wmi_unified.h

@@ -4063,8 +4063,13 @@ typedef struct {
      *      2 - WMM_AC_VI
      *      3 - WMM_AC_VO
      *      Refer to WMI_RSRC_CFG_FLAGS2_ARP_AC_OVERRIDE_GET/SET macros.
+     * Bit 13 - sawf_sched
+     *      SAWF feature flag for scheduler
+     *      0  -> disable SAWF based scheduling
+     *      1  -> enable SAWF based scheduling
+     *      Refer to WMI_RSRC_CFG_FLAGS2_SAWF_CONFIG_ENABLE_GET/SET macros.
      *
-     *  Bits 31:13 - Reserved
+     *  Bits 31:14 - Reserved
      */
     A_UINT32 flags2;
     /** @brief host_service_flags - can be used by Host to indicate
@@ -4459,6 +4464,11 @@ typedef struct {
 #define WMI_RSRC_CFG_FLAGS2_ARP_AC_OVERRIDE_SET(flags2, value) \
     WMI_SET_BITS(flags2, 11, 2, value)
 
+#define WMI_RSRC_CFG_FLAGS2_SAWF_CONFIG_ENABLE_GET(flags2) \
+    WMI_GET_BITS(flags2, 13, 1)
+#define WMI_RSRC_CFG_FLAGS2_SAWF_CONFIG_ENABLE_SET(flags2, value) \
+    WMI_SET_BITS(flags2, 13, 1, value)
+
 #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \
     WMI_GET_BITS(host_service_flags, 0, 1)
 #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_SET(host_service_flags, val) \

+ 1 - 1
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_ 1094
+#define __WMI_REVISION_ 1095
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work