qcacld-3.0: Fix incorrect type and range for LFR ini
Currently LFR band specific ini attributes 5g_rssi_boost_threshold and 5g_rssi_penalize_threshold programmed with wrong type and range. This can lead to ignore user-input and always use default value. To fix this, correct min and max ini values for 5Ghz network RSSI boost/penalty preference. Change-Id: If89c09fb1343a68dfaa7241b5ec14b046d1bb758 CRs-Fixed: 2452128
This commit is contained in:

committed by
nshrivas

parent
79d03a671d
commit
a15367547b
@@ -870,8 +870,8 @@
|
|||||||
/*
|
/*
|
||||||
* <ini>
|
* <ini>
|
||||||
* 5g_rssi_boost_threshold - A_band_boost_threshold above which 5G is favored.
|
* 5g_rssi_boost_threshold - A_band_boost_threshold above which 5G is favored.
|
||||||
* @Min: -55
|
* @Min: -70
|
||||||
* @Max: -70
|
* @Max: -55
|
||||||
* @Default: -60
|
* @Default: -60
|
||||||
* This ini is used to set threshold for 5GHz band preference.
|
* This ini is used to set threshold for 5GHz band preference.
|
||||||
*
|
*
|
||||||
@@ -886,8 +886,8 @@
|
|||||||
*/
|
*/
|
||||||
#define CFG_LFR_5G_RSSI_BOOST_THRESHOLD CFG_INI_INT( \
|
#define CFG_LFR_5G_RSSI_BOOST_THRESHOLD CFG_INI_INT( \
|
||||||
"5g_rssi_boost_threshold", \
|
"5g_rssi_boost_threshold", \
|
||||||
-55, \
|
|
||||||
-70, \
|
-70, \
|
||||||
|
-55, \
|
||||||
-60, \
|
-60, \
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"A_band_boost_threshold above which 5 GHz is favored")
|
"A_band_boost_threshold above which 5 GHz is favored")
|
||||||
@@ -946,8 +946,8 @@
|
|||||||
* <ini>
|
* <ini>
|
||||||
* 5g_rssi_penalize_threshold - A_band_penalize_threshold above which
|
* 5g_rssi_penalize_threshold - A_band_penalize_threshold above which
|
||||||
* 5 GHz is not favored.
|
* 5 GHz is not favored.
|
||||||
* @Min: -65
|
* @Min: -80
|
||||||
* @Max: -80
|
* @Max: -65
|
||||||
* @Default: -70
|
* @Default: -70
|
||||||
* This ini is used to set threshold for 5GHz band preference.
|
* This ini is used to set threshold for 5GHz band preference.
|
||||||
*
|
*
|
||||||
@@ -962,8 +962,8 @@
|
|||||||
*/
|
*/
|
||||||
#define CFG_LFR_5G_RSSI_PENALIZE_THRESHOLD CFG_INI_INT( \
|
#define CFG_LFR_5G_RSSI_PENALIZE_THRESHOLD CFG_INI_INT( \
|
||||||
"5g_rssi_penalize_threshold", \
|
"5g_rssi_penalize_threshold", \
|
||||||
-65, \
|
|
||||||
-80, \
|
-80, \
|
||||||
|
-65, \
|
||||||
-70, \
|
-70, \
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"A_band_penalize_threshold above which 5 GHz is not favored")
|
"A_band_penalize_threshold above which 5 GHz is not favored")
|
||||||
|
Reference in New Issue
Block a user