mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
qcacmn: Fix qbss calculation in case of good RSSI threshold
Currently, when Current RSSI is better than good RSSI threshold first driver calculates qbss percentage and set qbss score accordingly and when current RSSI is weaker than or equal to good RSSI threshold (-70dBm) driver directly sets 10% as qbss score. But as per requirement Driver should calulate qbss percentage in order to set qbss score for RSSI = -70db Fix is to allow driver to ignore qbss percentag calculation only when current RSSI is less than good RSSI threshold. Change-Id: I1be2ab71016d779a60d21923a34340ae19d6c7f5 CRs-Fixed: 2261635
This commit is contained in:
parent
d005ca2492
commit
bfbf4422a7
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ static int32_t scm_calculate_congestion_score(
|
|||
score_params->rssi_score.good_rssi_threshold * (-1);
|
||||
|
||||
/* For bad zone rssi get score from last index */
|
||||
if (entry->rssi_raw < good_rssi_threshold)
|
||||
if (entry->rssi_raw <= good_rssi_threshold)
|
||||
return scm_get_score_for_index(
|
||||
score_params->esp_qbss_scoring.num_slot,
|
||||
score_params->weight_cfg.
|
||||
|
|
|
|||
Loading…
Reference in a new issue