qcacmn: Send roam_score_delta, roam_score_delta_bitmap to firmware
Two new WCNSS_qcom.ini values "roam_score_delta" and "roam_trigger_bitmap" are introduced. These values are sent to firmware over the WMI command WMI_ROAM_AP_PROFILE over the structure wmi_roam_cnd_scoring_param. The values to this structure are populated from struct scoring_params. Add roam_score_delta and roam_trigger_bitmap in scoring_param. Populate these values from roam request to the structure wmi_roam_cnd_scoring_param to be sent over the wmi command. Change-Id: I012867e60ddf18a276250ef3bd27015f191d8a6a CRs-Fixed: 2368263
This commit is contained in:

committed by
nshrivas

orang tua
a8a6699845
melakukan
0f63ea1cc6
@@ -1555,6 +1555,13 @@ static QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_ha
|
||||
score_param->oce_wan_scoring.score_pcnt11_to_8,
|
||||
score_param->oce_wan_scoring.score_pcnt15_to_12);
|
||||
|
||||
score_param->roam_score_delta_pcnt = ap_profile->param.roam_score_delta;
|
||||
score_param->roam_score_delta_mask =
|
||||
ap_profile->param.roam_trigger_bitmap;
|
||||
WMI_LOGD("Roam score delta:%d Roam_trigger_bitmap:%x",
|
||||
score_param->roam_score_delta_pcnt,
|
||||
score_param->roam_score_delta_mask);
|
||||
|
||||
wmi_mtrace(WMI_ROAM_AP_PROFILE, NO_SESSION, 0);
|
||||
status = wmi_unified_cmd_send(wmi_handle, buf,
|
||||
len, WMI_ROAM_AP_PROFILE);
|
||||
|
Reference in New Issue
Block a user