From d9280869036429fa7ff642f6934eabe36b6b72ec Mon Sep 17 00:00:00 2001 From: spuligil Date: Mon, 20 May 2019 12:01:28 -0700 Subject: [PATCH] fw-api: CL 7187250 - update fw common interface files Change-Id: I6576061bccba03dedb4a84f9f12ad7d77252300a WMI: add SRATE and RTS flags in WLM_CONFIG_CMD msg CRs-Fixed: 2262693 --- fw/wmi_unified.h | 18 +++++++++++++----- fw/wmi_version.h | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index c73e134322..88f611d017 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -24528,11 +24528,11 @@ typedef enum { /* * Lay out of flags in wmi_wlm_config_cmd_fixed_param * -* |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 | +* |31 19| 18 | 17|16 14| 13 | 12| 11 | 10 | 9 | 8 |7 6|5 4|3 2| 1 | 0 | +* +-----+-----+---+-----+----+---+----+----+-----+----+----+----+----+---+---+ +* | RSVD|SRATE|RTS| NSS |EDCA|TRY|SSLP|CSLP|DBMPS|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 @@ -24543,6 +24543,10 @@ typedef enum { * 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 +* RTS: (0) default protection +* (1) always enable RTS/CTS protection +* SRATE: (0) default secondary rate policy +* (1) disable secondary rate */ /* 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 */ @@ -24619,6 +24623,10 @@ typedef enum { #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) +#define WLM_FLAGS_WAL_ALWAYS_RTS_PROTECTION(flag) WMI_GET_BITS(flag, 17, 1) +#define WLM_FLAGS_WAL_RTS_PROTECTION_SET(flag, val) WMI_SET_BITS(flag, 17, 1, val) +#define WLM_FLAGS_WAL_DISABLE_SECONDARY_RATE(flag) WMI_GET_BITS(flag, 18, 1) +#define WLM_FLAGS_WAL_SECONDARY_RATE_SET(flag, val) WMI_SET_BITS(flag, 18, 1, val) typedef struct { /** TLV tag and len; tag equals diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 0730775a57..30b8918fa6 100644 --- 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_ 665 +#define __WMI_REVISION_ 666 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work