summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNandini Suresh <snandini@codeaurora.org>2017-01-30 11:09:51 -0800
committerNandini Suresh <snandini@codeaurora.org>2017-01-30 11:09:51 -0800
commit7ef57443690035fe48498eb8a10cf8e50a0d2888 (patch)
tree87e2fb91e6658d8ecb84308f6184d93163c37fad
parent9111b645383112c87221af1c952a24a30907f5f5 (diff)
fw-api: CL 2823551 - update fw common interface files
WMI Changes for Connected PNO Change-Id: I09716348b293662abb2954b810d4827835e7a32a CRs-Fixed: 1107600
-rwxr-xr-xfw/wmi_tlv_defs.h6
-rwxr-xr-xfw/wmi_unified.h16
-rwxr-xr-xfw/wmi_version.h2
3 files changed, 19 insertions, 5 deletions
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index f9c8d9cd9c71..c7bf181e77eb 100755
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2010-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -793,6 +793,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param,
WMITLV_TAG_STRUC_wmi_bpf_set_vdev_active_mode_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref,
} WMITLV_TAG_ID;
/*
@@ -1871,7 +1872,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
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_STRUC_wmi_connected_nlo_rssi_params, connected_nlo_rssi_params, cnlo_rssi_params, WMITLV_SIZE_FIX)
+ 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_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, connected_nlo_bss_band_rssi_pref, cnlo_bss_band_rssi_pref, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
/* Passpoint list offload config Cmd */
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 625f06cceebb..28bd1d6fd262 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -8561,6 +8561,7 @@ typedef enum
#define WMI_ROAM_NOTIF_INVALID 0x0 /** invalid notification. Do not interpret notif field */
#define WMI_ROAM_NOTIF_ROAM_START 0x1 /** indicate that roaming is started. sent only in non WOW state */
#define WMI_ROAM_NOTIF_ROAM_ABORT 0x2 /** indicate that roaming is aborted. sent only in non WOW state */
+#define WMI_ROAM_NOTIF_ROAM_REASSOC 0x3 /** indicate that reassociation is done. sent only in non WOW state */
/**whenever RIC request information change, host driver should pass all ric related information to firmware (now only support tsepc)
* Once, 11r roaming happens, firmware can generate RIC request in reassoc request based on these informations
@@ -10030,6 +10031,14 @@ typedef struct enlo_candidate_score_params_t {
A_UINT32 band5GHz_bonus; /* 5GHz RSSI score bonus (applied to all 5GHz networks) */
} enlo_candidate_score_params;
+typedef struct connected_nlo_bss_band_rssi_pref_t {
+ A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref */
+ /** band which needs to get preference over other band - see wmi_set_vdev_ie_band enum */
+ A_UINT32 band;
+ /* Amount of RSSI preference (in dB) that can be given to band (mentioned above) over other band */
+ A_INT32 rssi_pref;
+} connected_nlo_bss_band_rssi_pref;
+
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
@@ -10064,13 +10073,16 @@ typedef struct wmi_nlo_config {
A_UINT32 ie_bitmap[WMI_IE_BITMAP_SIZE];
/** Number of vendor OUIs. In the TLV vendor_oui[] **/
A_UINT32 num_vendor_oui;
+ /** Number of connected NLO band preferences **/
+ A_UINT32 num_cnlo_band_pref;
/* The TLVs will follow.
* nlo_configured_parameters nlo_list[];
- * A_UINT32 channel_list[];
+ * A_UINT32 channel_list[num_of_channels];
* nlo_channel_prediction_cfg ch_prediction_cfg;
* enlo_candidate_score_params candidate_score_params;
- * wmi_vendor_oui vendor_oui[];
+ * wmi_vendor_oui vendor_oui[num_vendor_oui];
* connected_nlo_rssi_params cnlo_rssi_params;
+ * connected_nlo_bss_band_rssi_pref cnlo_bss_band_rssi_pref[num_cnlo_band_pref];
*/
} wmi_nlo_config_cmd_fixed_param;
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index e33f9ad4d16d..50d8ff0ca780 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_ 338
+#define __WMI_REVISION_ 339
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work