qcacld-3.0: Add a new INI bg_rssi_threshold
FW triggers roaming based on the RSSI score of AP(s) available after background scan. Currently, the host does not configure the value of bg_rssi_threshold RSSI. This results in ping-pong roaming after background scan, even though candidate AP RSSI is not better than 5dbm than connected AP. Fix is to configure the value of bg_rssi_threshold via new INI "bg_rssi_threshold" and configuring default value of INI as 5dB. Min: 0 Max: 100 Default: 5 Change-Id: Ib710e294c8b33ff4903d41453e3b55f02daf53ae CRs-Fixed: 2763962
Этот коммит содержится в:

коммит произвёл
snandini

родитель
e0d7d0e692
Коммит
7ac893f2af
@@ -2967,6 +2967,7 @@ send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
WMITLV_GET_STRUCT_TLVLEN(wmi_ap_profile));
|
||||
profile->flags = ap_profile->profile.flags;
|
||||
profile->rssi_threshold = ap_profile->profile.rssi_threshold;
|
||||
profile->bg_rssi_threshold = ap_profile->profile.bg_rssi_threshold;
|
||||
profile->ssid.ssid_len = ap_profile->profile.ssid.length;
|
||||
qdf_mem_copy(profile->ssid.ssid, ap_profile->profile.ssid.ssid,
|
||||
profile->ssid.ssid_len);
|
||||
@@ -2977,8 +2978,9 @@ send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
ap_profile->profile.rsn_mcastmgmtcipherset;
|
||||
profile->rssi_abs_thresh = ap_profile->profile.rssi_abs_thresh;
|
||||
|
||||
WMI_LOGD("AP PROFILE: flags %x rssi_thres:%d ssid:%.*s authmode %d uc cipher %d mc cipher %d mc mgmt cipher %d rssi abs thresh %d",
|
||||
WMI_LOGD("AP PROFILE: flags %x rssi_thres:%d bg_rssi_thres:%d ssid:%.*s authmode %d uc cipher %d mc cipher %d mc mgmt cipher %d rssi abs thresh %d",
|
||||
profile->flags, profile->rssi_threshold,
|
||||
profile->bg_rssi_threshold,
|
||||
profile->ssid.ssid_len, ap_profile->profile.ssid.ssid,
|
||||
profile->rsn_authmode, profile->rsn_ucastcipherset,
|
||||
profile->rsn_mcastcipherset, profile->rsn_mcastmgmtcipherset,
|
||||
|
Ссылка в новой задаче
Block a user