mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Use the proper attribute PARAM_A_BAND_PELT_THLD
Due to the Change-Id: I3ad995636127a5fda0635549551a24cc5b1bd2c5 PARAM_A_BAND_PELT_THLD was incorrectly replaced with PARAM_A_BAND_BOOST_THLD. Fix this and bring back the attribute PARAM_A_BAND_PELT_THLD. Change-Id: I83d21c2b4662c82d2f26f3bcd10a549889f6df1e CRs-Fixed: 2055487
This commit is contained in:
parent
72f3039ec5
commit
4ffe7c8643
1 changed files with 3 additions and 3 deletions
|
|
@ -3186,7 +3186,7 @@ wlan_hdd_set_roam_param_policy[MAX_ROAMING_PARAM + 1] = {
|
|||
[PARAM_A_BAND_MAX_BOOST] = {.type = NLA_U32},
|
||||
[PARAM_ROAM_HISTERESYS] = {.type = NLA_S32},
|
||||
[PARAM_A_BAND_BOOST_THLD] = {.type = NLA_S32},
|
||||
[PARAM_A_BAND_BOOST_THLD] = {.type = NLA_S32},
|
||||
[PARAM_A_BAND_PELT_THLD] = {.type = NLA_S32},
|
||||
[PARAM_RSSI_TRIGGER] = {.type = NLA_U32},
|
||||
[PARAM_ROAM_ENABLE] = { .type = NLA_S32},
|
||||
[PARAM_NUM_BSSID] = {.type = NLA_U32},
|
||||
|
|
@ -3495,12 +3495,12 @@ static int hdd_set_ext_roam_params(hdd_context_t *hddctx,
|
|||
hdd_debug("5G Boost Threshold (%d)",
|
||||
roam_params->raise_rssi_thresh_5g);
|
||||
/* Parse and fetch 5G Penalty Threshold */
|
||||
if (!tb[PARAM_A_BAND_BOOST_THLD]) {
|
||||
if (!tb[PARAM_A_BAND_PELT_THLD]) {
|
||||
hdd_err("5G penalty threshold failed");
|
||||
goto fail;
|
||||
}
|
||||
roam_params->drop_rssi_thresh_5g = nla_get_s32(
|
||||
tb[PARAM_A_BAND_BOOST_THLD]);
|
||||
tb[PARAM_A_BAND_PELT_THLD]);
|
||||
hdd_debug("5G Penalty Threshold (%d)",
|
||||
roam_params->drop_rssi_thresh_5g);
|
||||
/* Parse and fetch 5G Boost Factor */
|
||||
|
|
|
|||
Loading…
Reference in a new issue