qcacld-3.0: Disable early stop feature as per config
If early stop feature is disabled in the configuration, then let the firmware know to disable it. There is no WMI item to let firmware know about disabling the feature explicitly. Hence, set the roam_earlystop_thres_min and roam_earlystop_thres_max to zero which the firmware uses to disable the feature. CRs-Fixed: 1017635 Change-Id: I122677ee3d73403748091832ec52cbc3f17500d6
Tento commit je obsažen v:

odevzdal
Gerrit - the friendly Code Review server

rodič
a9c259402e
revize
21953a2f64
@@ -854,12 +854,17 @@ QDF_STATUS wma_roam_scan_offload_rssi_thresh(tp_wma_handle wma_handle,
|
||||
WMA_LOGD("WMA --> good_rssi_threshold=%d",
|
||||
params.good_rssi_threshold);
|
||||
|
||||
params.roam_earlystop_thres_min =
|
||||
roam_req->early_stop_scan_min_threshold -
|
||||
WMA_NOISE_FLOOR_DBM_DEFAULT;
|
||||
params.roam_earlystop_thres_max =
|
||||
roam_req->early_stop_scan_max_threshold -
|
||||
WMA_NOISE_FLOOR_DBM_DEFAULT;
|
||||
if (roam_req->early_stop_scan_enable) {
|
||||
params.roam_earlystop_thres_min =
|
||||
roam_req->early_stop_scan_min_threshold -
|
||||
WMA_NOISE_FLOOR_DBM_DEFAULT;
|
||||
params.roam_earlystop_thres_max =
|
||||
roam_req->early_stop_scan_max_threshold -
|
||||
WMA_NOISE_FLOOR_DBM_DEFAULT;
|
||||
} else {
|
||||
params.roam_earlystop_thres_min = 0;
|
||||
params.roam_earlystop_thres_max = 0;
|
||||
}
|
||||
|
||||
WMA_LOGD("early_stop_thresholds en=%d, min=%d, max=%d",
|
||||
roam_req->early_stop_scan_enable,
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele