summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2018-06-14 17:02:40 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-18 15:15:17 -0700
commit19b1fe69d06ac39a1898c4c8e1f8c5bbb41f554f (patch)
tree50cd0442014f45331e761ee50ce916b8663a6104
parent71cedde3d7b919795e39da1db50594dec6392d8d (diff)
fw-api: CL 4805563 - update fw common interface files
Add WMI_VDEV_PARAM_SET_HE_SOUNDING_MODE def Change-Id: Idfc9c5473df1765d7ec99b68162ab550841db8f4 CRs-Fixed: 1107600
-rwxr-xr-xfw/wmi_unified.h35
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 36 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 5ac939e23492..2135ebae044b 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -8546,6 +8546,37 @@ typedef enum {
*/
WMI_VDEV_PARAM_DISABLE_CABQ, /* 0x86 */
+ /**
+ * For SU and MU sounding
+ * switch between su ac/ax sounding and mu ac/ax sounding
+ * switch between triggered/ non-triggered on ax sounding enabled.
+ * each bit toggles the corresponding modes by enabling/disabling
+ *
+ * Bit 1 doesn't carry any operation for now and may change later,
+ * so reserved.
+ *
+ *-----------------------
+ * bit(0) | mode
+ *-----------------------
+ * 0 | AC
+ * 1 | AX
+ *-----------------------
+ *
+ * bit(1) | Reserved
+ *
+ *-----------------------
+ * bit(2) | mode
+ *-----------------------
+ * 0 | SU
+ * 1 | MU
+ *-----------------------
+ * bit(3) | mode
+ *-----------------------
+ * 0 | non -triggered
+ * 1 | triggered
+ */
+ WMI_VDEV_PARAM_SET_HE_SOUNDING_MODE, /* 0x87 */
+
/*=== ADD NEW VDEV PARAM TYPES ABOVE THIS LINE ===
* The below vdev param types are used for prototyping, and are
@@ -8606,6 +8637,10 @@ typedef enum {
#define WMI_VDEV_HE_ULMUMIMO_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 1)
#define WMI_VDEV_HE_ULMUMIMO_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 0)
+#define WMI_VDEV_HE_AX_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 0, 1)
+#define WMI_VDEV_HE_MU_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 2, 1)
+#define WMI_VDEV_HE_AX_TRIG_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 3, 1)
+
/* vdev capabilities bit mask */
#define WMI_VDEV_BEACON_SUPPORT 0x1
#define WMI_VDEV_WDS_LRN_ENABLED 0x2
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 03cc360f79e8..193ec005bcd0 100755
--- 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_ 546
+#define __WMI_REVISION_ 547
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work