summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-10-24 04:05:50 -0700
committerspuligil <spuligil@codeaurora.org>2019-10-24 04:05:51 -0700
commitf01319c219262eeeae855c535f6b65dd85309e40 (patch)
tree618cbbe778a4eeaf449eaccc67ede0fce50aad19
parent11b5819a6cb45d5d8417e9f4a9eb53e7c0eb07db (diff)
fw-api: CL 8388967 - update fw common interface files
Change-Id: I7bf28a92a62cfcd542a6606db4983cc88cba92e2 WMI: add rsrc cfg flags to enable UL MU per pdev CRs-Fixed: 2262693
-rw-r--r--fw/htt_stats.h2
-rwxr-xr-xfw/wmi_unified.h26
-rwxr-xr-xfw/wmi_version.h2
3 files changed, 28 insertions, 2 deletions
diff --git a/fw/htt_stats.h b/fw/htt_stats.h
index 193af216af40..bd96a98ad88c 100644
--- a/fw/htt_stats.h
+++ b/fw/htt_stats.h
@@ -4079,7 +4079,7 @@ typedef struct {
* inconsequential.
*/
A_UINT32 num_spatial_reuse_opportunities;
-
+
/* DEPRECATED: num_sr_rx_ge_pd_rssi_thr
* This old name has been deprecated because it does not
* clearly and accurately reflect the information stored within
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 9fc63129a4e1..6458bcff5383 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -3392,6 +3392,27 @@ typedef struct {
* are used to read and write these bitfields.
*/
A_UINT32 msdu_flow_override_config1;
+
+ /** @brief flags2 - contains flags used for the following purposes:
+ * Configure 11ax uplink ofdma/MU-MIMO feature in FW, when chipsets
+ * are brought up in Repeater/STA mode.
+ *
+ * @details
+ * Bits 3:0
+ * Enable UL MU-OFDMA/MIMO for PDEVs WIFI0, WIFI1, WIFI2
+ * This flags should only be set when a pdev has STA VAP
+ * in repeater/self-organizing-network modes.
+ * E.g. to enable UL RESP for 5G and 2G radios, value shall be
+ * 0b00000000000000000000000000000011 = 0x3.
+ * Host shall use UCI config for a radio to populate this value,
+ * each radio entry shall have "config re_ul_resp 1" value set.
+ * Hence this can be configured dynamically.
+ *
+ * Refer to the below WMI_RSRC_CFG_FLAGS2_RE_ULRESP_PDEV_CFG_GET/SET
+ * macros.
+ * Bits 31:4 - Reserved
+ */
+ A_UINT32 flags2;
} wmi_resource_config;
#define WMI_MSDU_FLOW_AST_ENABLE_GET(msdu_flow_config0, ast_x) \
@@ -3576,6 +3597,11 @@ typedef struct {
#define WMI_RSRC_CFG_FLAG_BSS_MAX_IDLE_TIME_SUPPORT_GET(word32) \
WMI_RSRC_CFG_FLAG_GET((word32), BSS_MAX_IDLE_TIME_SUPPORT)
+#define WMI_RSRC_CFG_FLAGS2_RE_ULRESP_PDEV_CFG_GET(flags2, pdev_id) \
+ WMI_GET_BITS(flags2, pdev_id, 1)
+#define WMI_RSRC_CFG_FLAGS2_RE_ULRESP_PDEV_CFG_SET(flags2, pdev_id, value) \
+ WMI_SET_BITS(flags2, pdev_id, 1, value)
+
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index d5427a752c05..800c069f4ca6 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_ 726
+#define __WMI_REVISION_ 727
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work