From 6edc08b321c06bd025dfa00daa2319f904894ed5 Mon Sep 17 00:00:00 2001 From: "Selvaraj, Sridhar" Date: Mon, 29 May 2017 18:38:52 +0530 Subject: [PATCH] qcacmn: Add support to pass lca_disallow_config_params to fw Add LCA[Last Connected AP] AP disallow params to roam_scan_filter_params structure. Change-Id: Id7a47bdc40d08b356483114b71981df352386172 CRs-Fixed: 2054195 --- wmi_unified_param.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wmi_unified_param.h b/wmi_unified_param.h index af5e192d45..8d5371fdc8 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -3168,6 +3168,14 @@ struct ssid_hotlist_param { * @ssid_allowed_list: Whitelist SSID's * @bssid_favored: Favorable BSSID's * @bssid_favored_factor: RSSI to be added to this BSSID to prefer it + * @lca_disallow_config_present: LCA [Last Connected AP] disallow config present + * @disallow_duration: How long LCA AP will be disallowed before it + * can be a roaming candidate again, in seconds + * @rssi_channel_penalization:How much RSSI will be penalized if candidate(s) + * are found in the same channel as disallowed AP's, + * in units of db + * @num_disallowed_aps: How many APs the target should maintain in its + * LCA list * * This structure holds all the key parameters related to * initial connection and roaming connections. @@ -3184,6 +3192,10 @@ struct roam_scan_filter_params { struct mac_ssid ssid_allowed_list[MAX_SSID_ALLOWED_LIST]; struct qdf_mac_addr bssid_favored[MAX_BSSID_FAVORED]; uint8_t bssid_favored_factor[MAX_BSSID_FAVORED]; + uint8_t lca_disallow_config_present; + uint32_t disallow_duration; + uint32_t rssi_channel_penalization; + uint32_t num_disallowed_aps; }; /**