summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2018-02-09 09:01:55 -0800
committerspuligil <spuligil@codeaurora.org>2018-02-09 09:01:55 -0800
commite2128e5d3b63a34d385ed1e0e468026071551e5f (patch)
tree112326973caebcaf2506407cd7b9b3fda89df88b
parent92f37f049e64919e7cb62d34b7bd663fda7a014f (diff)
fw-api: CL 4142830 - update fw common interface files
Change-Id: I68693b625a05d66b4c50c3c33991a32b8a045a94 WMI: add 3 WLM_FLAG defs CRs-Fixed: 1107600
-rwxr-xr-xfw/wmi_unified.h27
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 22 insertions, 7 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 5b9bc4b522ca..5931871d4eab 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -21755,12 +21755,21 @@ typedef enum {
/*
* Lay out of flags in wmi_wlm_config_cmd_fixed_param
*
-* |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
-* +------+------+------+------+------+------+------+-----+-----+
-* | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
-* +------+-------------+-------------+-------------------------+
-* | WAL | PS | Roam | Scan |
+* |31 17|16 14| 13 | 12 | 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
+* +------+-----+----+----+------+------+------+------+------+------+-----+-----+
+* | RSVD | NSS |EDCA| TRY| SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
+* +----------------------+-------------+-------------+-------------------------+
+* | WAL | PS | Roam | Scan |
*
+* Flag values:
+* TRY: (1) enable short limit for retrying unacked tx, where the limit is
+* based on the traffic's latency level
+* (0) default tx retry behavior
+* EDCA: (1) Apply VO parameters on BE
+* (0) default behavior
+* NSS: (0) no Nss limits, other than those negotiatied during association
+* (1) during 2-chain operation, tx only a single spatial stream
+* (2) - (7) reserved / invalid
*/
/* bit 0-3 of flags is used for scan operation */
/* bit 0: WLM_FLAGS_SCAN_SUPPRESS, suppress all scan and other bits would be ignored if bit is set */
@@ -21812,7 +21821,7 @@ typedef enum {
#define WLM_FLAGS_PS_DISABLE_SYS_SLEEP 1 /* disable sys sleep */
-/* bit 12-31 of flags is reserved for powersave and WAL */
+/* bit 17-31 of flags is reserved for powersave and WAL */
#define WLM_FLAGS_SCAN_IS_SUPPRESS(flag) WMI_GET_BITS(flag, 0, 1)
#define WLM_FLAGS_SCAN_SET_SUPPRESS(flag, val) WMI_SET_BITS(flag, 0, 1, val)
@@ -21826,6 +21835,12 @@ typedef enum {
#define WLM_FLAGS_PS_SET_CSS_CLPS_DISABLE(flag, val) WMI_SET_BITS(flag, 10, 1, val)
#define WLM_FLAGS_PS_IS_SYS_SLP_DISABLED(flag) WMI_GET_BITS(flag, 11, 1)
#define WLM_FLAGS_PS_SET_SYS_SLP_DISABLE(flag, val) WMI_SET_BITS(flag, 11, 1, val)
+#define WLM_FLAGS_WAL_LIMIT_TRY_ENABLED(flag) WMI_GET_BITS(flag, 12, 1)
+#define WLM_FLAGS_WAL_LIMIT_TRY_SET(flag, val) WMI_SET_BITS(flag, 12, 1, val)
+#define WLM_FLAGS_WAL_ADJUST_EDCA_ENABLED(flag) WMI_GET_BITS(flag, 13, 1)
+#define WLM_FLAGS_WAL_ADJUST_EDCA_SET(flag, val) WMI_SET_BITS(flag, 13, 1, val)
+#define WLM_FLAGS_WAL_1NSS_ENABLED(flag) (WMI_GET_BITS(flag, 14, 3) & 0x1)
+#define WLM_FLAGS_WAL_NSS_SET(flag, val) WMI_SET_BITS(flag, 14, 3, val)
typedef struct {
/** TLV tag and len; tag equals
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index e21def6ba43e..60b5e6db3f43 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_ 501
+#define __WMI_REVISION_ 502
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work