From b831d07aa53a9af8a43cefc1e7fb0b349a3a4af0 Mon Sep 17 00:00:00 2001 From: Sunil Ravi Date: Mon, 8 Feb 2021 16:55:27 -0800 Subject: [PATCH] Wifi: Enable BTM offload feature 1. Added btm_offload in wpa_supplicant_overlay.conf file to let firmware handle the roaming logic and provide the BTM frame contents to framework. 2. Enable BTM offload feature required parameters in driver through WCNSS_qcom_cfg.ini. Bug: 169528463 Test: Manual - Triggered BTM frame and verified the contents from wifi dumpsys. Change-Id: I478e48635a77a41a0f4e3acea028964be91da24b --- WCNSS_qcom_cfg.ini | 5 ++++- wpa_supplicant_overlay.conf | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WCNSS_qcom_cfg.ini b/WCNSS_qcom_cfg.ini index b58b105c..755a839e 100644 --- a/WCNSS_qcom_cfg.ini +++ b/WCNSS_qcom_cfg.ini @@ -387,7 +387,10 @@ channel_select_logic_conc=0 # 010, 011, 100, 101, 110, 111 reserved # BIT 6: Set this to 1 will send BTM query frame and 0 not sent. # BIT 7-31: Reserved -btm_offload_config=0 +btm_offload_config=1473 +btm_disassoc_timer_threshold=10000 +minimum_btm_candidate_score=0 +roam_candidate_validity_timer=0 #Timer waiting for interface up from the upper layer gInterfaceChangeWait=2000 diff --git a/wpa_supplicant_overlay.conf b/wpa_supplicant_overlay.conf index c71f2772..bfe358a9 100644 --- a/wpa_supplicant_overlay.conf +++ b/wpa_supplicant_overlay.conf @@ -7,3 +7,4 @@ interworking=1 hs20=1 auto_interworking=0 driver_param=use_p2p_group_interface=1 +btm_offload=1