summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreelakshmi Konamki <c_skonam@qti.qualcomm.com>2016-03-18 16:12:32 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-03-21 13:05:48 +0530
commitf8dcf318c91a97bfe0455465d3893260881627a2 (patch)
tree2fe48622339795d81a5ad3957765dee5a69a8765
parent605ee964983f5986a955821073b88914bd944682 (diff)
qcacld-2.0: CL 1475852 - update fw common interface files
New module ID for NAN 2.0 fwcommon change to add the support for TX Time per TPC Change-Id: Iabf3286d771d605632cb9a3711baf5eb3e84889a CRs-Fixed: 865207
-rw-r--r--CORE/SERVICES/COMMON/wlan_module_ids.h1
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h8
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
3 files changed, 10 insertions, 1 deletions
diff --git a/CORE/SERVICES/COMMON/wlan_module_ids.h b/CORE/SERVICES/COMMON/wlan_module_ids.h
index b9edddf121ce..c8284d0805f5 100644
--- a/CORE/SERVICES/COMMON/wlan_module_ids.h
+++ b/CORE/SERVICES/COMMON/wlan_module_ids.h
@@ -96,6 +96,7 @@ typedef enum {
WLAN_MODULE_MAWC,
WLAN_MODULE_CMC_QMIC, /* 0x3e */
WLAN_MODULE_EGAP, /* 0x3f */
+ WLAN_MODULE_NAN20,
WLAN_MODULE_ID_MAX,
WLAN_MODULE_ID_INVALID = WLAN_MODULE_ID_MAX,
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index dcb4418e8a06..69a48a4db88a 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -4095,6 +4095,12 @@ typedef struct {
A_UINT32 cca_busy_time;
} wmi_channel_stats;
+/*
+ * Each step represents 0.5 dB. The starting value is 0 dBm.
+ * Thus the TPC levels cover 0 dBm to 31.5 dBm inclusive in 0.5 dB steps.
+ */
+#define MAX_TPC_LEVELS 64
+
/* radio statistics */
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_radio_link_stats */
@@ -4120,6 +4126,8 @@ typedef struct {
A_UINT32 on_time_hs20;
/** number of channels */
A_UINT32 num_channels;
+ /** tx time (in milliseconds) per TPC level (0.5 dBm) */
+ A_UINT32 tx_time_per_tpc[MAX_TPC_LEVELS];
} wmi_radio_link_stats;
/** Radio statistics (once started) do not stop or get reset unless wifi_clear_link_stats is invoked */
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index c6f92852218b..f3f3d55adcec 100644
--- a/CORE/SERVICES/COMMON/wmi_version.h
+++ b/CORE/SERVICES/COMMON/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_ 221
+#define __WMI_REVISION_ 222
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work