From 1384bb06e98e4656587dfcf5f33fe637a3c176e5 Mon Sep 17 00:00:00 2001 From: Vignesh Viswanathan Date: Thu, 7 Sep 2017 18:58:08 +0530 Subject: [PATCH] qcacmn: Pass new Bad RSSI threshold offset for 2G and flags to FW Add new Bad RSSI threshold offset for 2G to 5G roam and flags to roam_offload_scan_rssi_params and fill them in the WMI cmd TLV to pass it to the firmware. Change-Id: I78876f5104e67280b1342ec0957d0162edbaf502 CRs-Fixed: 2105894 --- wmi_unified_param.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 8d6922de07..bcd0acca2a 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -1997,7 +1997,11 @@ struct roam_offload_scan_params { * @initial_dense_status: dense status detected by host * @traffic_threshold: dense roam RSSI threshold * @bg_scan_bad_rssi_thresh: Bad RSSI threshold to perform bg scan + * @roam_bad_rssi_thresh_offset_2g: Offset from Bad RSSI threshold for 2G to 5G Roam * @bg_scan_client_bitmap: Bitmap used to identify the client scans to snoop + * @flags: Flags for Background Roaming + * Bit 0 : BG roaming enabled when we connect to 2G AP only and roaming to 5G AP only. + * Bit 1-31: Reserved */ struct roam_offload_scan_rssi_params { int8_t rssi_thresh; @@ -2022,7 +2026,9 @@ struct roam_offload_scan_rssi_params { int traffic_threshold; int32_t rssi_thresh_offset_5g; int8_t bg_scan_bad_rssi_thresh; + uint8_t roam_bad_rssi_thresh_offset_2g; uint32_t bg_scan_client_bitmap; + uint32_t flags; }; /**