summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjeet Singh <manjee@codeaurora.org>2016-12-20 15:40:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-06 20:52:47 -0800
commit85962e92fa8d49b2317997029973e755ce254a42 (patch)
tree5dd464239990d9684bba28cb8a98366ebaee7ef7
parent98436e8fb34b12cfa7928e39137fd75c3fe2a86a (diff)
qcacld-3.0: CL 2733238 - update fw common interface files
WMI Changes for Connected PNO. Change-Id: Id26aa4be1efc9729df4858cb11c8546918835f24 CRs-Fixed: 865207
-rw-r--r--target/inc/wmi_tlv_defs.h4
-rw-r--r--target/inc/wmi_unified.h13
-rw-r--r--target/inc/wmi_version.h2
3 files changed, 16 insertions, 3 deletions
diff --git a/target/inc/wmi_tlv_defs.h b/target/inc/wmi_tlv_defs.h
index 73bfec31efe4..ae49330e04b5 100644
--- a/target/inc/wmi_tlv_defs.h
+++ b/target/inc/wmi_tlv_defs.h
@@ -771,6 +771,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_peer_stats_info,
WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param,
WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params,
} WMITLV_TAG_ID;
/*
@@ -1826,7 +1827,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, nlo_channel_prediction_cfg, channel_prediction_param, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_enlo_candidate_score_param, enlo_candidate_score_params, candidate_score_params, WMITLV_SIZE_FIX) \
- WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR)
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params, connected_nlo_rssi_params, cnlo_rssi_params, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h
index 26744ba8ea72..1dea75eb7898 100644
--- a/target/inc/wmi_unified.h
+++ b/target/inc/wmi_unified.h
@@ -10419,6 +10419,7 @@ typedef enum _WMI_NLO_SSID_BcastNwType {
#define WMI_NLO_CONFIG_SPOOFED_MAC_IN_PROBE_REQ (0x1 << 10)
#define WMI_NLO_CONFIG_RANDOM_SEQ_NO_IN_PROBE_REQ (0x1 << 11)
#define WMI_NLO_CONFIG_ENABLE_IE_WHITELIST_IN_PROBE_REQ (0x1 << 12)
+#define WMI_NLO_CONFIG_ENABLE_CNLO_RSSI_CONFIG (0x1 << 13)
/* Whether directed scan needs to be performed (for hidden SSIDs) */
#define WMI_ENLO_FLAG_DIRECTED_SCAN 1
@@ -10527,6 +10528,16 @@ typedef struct enlo_candidate_score_params_t {
A_UINT32 band5GHz_bonus;
} enlo_candidate_score_params;
+typedef struct connected_nlo_rssi_params_t {
+ A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params */
+ /* Relative rssi threshold (in dB) by which new BSS should have better rssi than
+ * the current connected BSS.
+ */
+ A_INT32 relative_rssi;
+ /* The amount of rssi preference (in dB) that can be given to a 5G BSS over 2.4G BSS. */
+ A_INT32 relative_rssi_5g_pref;
+} connected_nlo_rssi_params;
+
typedef struct wmi_nlo_config {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_nlo_config_cmd_fixed_param */
A_UINT32 flags;
@@ -10557,8 +10568,8 @@ typedef struct wmi_nlo_config {
* nlo_channel_prediction_cfg ch_prediction_cfg;
* enlo_candidate_score_params candidate_score_params;
* wmi_vendor_oui vendor_oui[];
+ * connected_nlo_rssi_params cnlo_rssi_params;
*/
-
} wmi_nlo_config_cmd_fixed_param;
typedef struct wmi_nlo_event {
diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h
index 00b0edce87da..8638db53f088 100644
--- a/target/inc/wmi_version.h
+++ b/target/inc/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_ 325
+#define __WMI_REVISION_ 326
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work