[[Kite][SQC2.0][BE7200][Function][BS2.0]: 5G OL and 2G NOL phybased enable-->legacy Sta should connect to 5G]
[Description]
Fix RSSI set issue for IDLE Band Steering.
[Release-log]
N/A
diff --git a/src/logan_wifi/wifi_hal.c b/src/logan_wifi/wifi_hal.c
index 23c7866..341a520 100644
--- a/src/logan_wifi/wifi_hal.c
+++ b/src/logan_wifi/wifi_hal.c
@@ -15014,6 +15014,13 @@
char buf[256] = {0};
char conf_file[MAX_BUF_SIZE] = {0};
+ if ((rssiThreshold >= 0 && rssiThreshold <= 60) || (rssiThreshold >= -94 && rssiThreshold <= -30)) {
+ wifi_debug(DEBUG_ERROR, "Valid threshold!\n");
+ } else {
+ wifi_debug(DEBUG_ERROR, "ERROR! Input is invalid threshold!, Valid range from -30 to -94 or 0 to 60\n");
+ return RETURN_ERR;
+ }
+
band = radio_index_to_band(radioIndex);
res = snprintf(conf_file, sizeof(conf_file), "/etc/mapd_strng.conf");
@@ -22462,7 +22469,7 @@
}
}
- cap->BandSteeringSupported = FALSE;
+ cap->BandSteeringSupported = TRUE;
#ifdef WIFI_7992
cap->wifi_prop.mu_bands = WIFI_BAND_2_5;
#else