|
@@ -592,8 +592,8 @@ wma_roam_scan_offload_rssi_thresh(tp_wma_handle wma_handle,
|
|
|
params.roam_data_rssi_threshold =
|
|
|
roam_params->roam_data_rssi_threshold;
|
|
|
} else {
|
|
|
- params.roam_data_rssi_threshold =
|
|
|
- roam_params->roam_data_rssi_threshold -
|
|
|
+ params.bg_scan_bad_rssi_thresh =
|
|
|
+ roam_params->bg_scan_bad_rssi_thresh -
|
|
|
WMA_NOISE_FLOOR_DBM_DEFAULT;
|
|
|
params.roam_data_rssi_threshold =
|
|
|
roam_params->roam_data_rssi_threshold -
|
|
@@ -605,6 +605,9 @@ wma_roam_scan_offload_rssi_thresh(tp_wma_handle wma_handle,
|
|
|
roam_params->roam_bad_rssi_thresh_offset_2g;
|
|
|
if (params.roam_bad_rssi_thresh_offset_2g)
|
|
|
params.flags |= WMI_ROAM_BG_SCAN_FLAGS_2G_TO_5G_ONLY;
|
|
|
+ params.roam_data_rssi_threshold_triggers =
|
|
|
+ roam_params->roam_data_rssi_threshold_triggers;
|
|
|
+ params.rx_data_inactivity_time = roam_params->rx_data_inactivity_time;
|
|
|
|
|
|
/*
|
|
|
* The current Noise floor in firmware is -96dBm. Penalty/Boost
|
|
@@ -721,10 +724,7 @@ wma_roam_scan_offload_rssi_thresh(tp_wma_handle wma_handle,
|
|
|
roam_params->bg_scan_bad_rssi_thresh,
|
|
|
roam_params->bg_scan_client_bitmap,
|
|
|
roam_params->roam_bad_rssi_thresh_offset_2g);
|
|
|
- wma_debug("Roam data rssi triggers:0x%x, threshold:%d, rx time:%d",
|
|
|
- roam_params->roam_data_rssi_threshold_triggers,
|
|
|
- roam_params->roam_data_rssi_threshold,
|
|
|
- roam_params->rx_data_inactivity_time);
|
|
|
+
|
|
|
return status;
|
|
|
}
|
|
|
|