mirror of https://github.com/PentHertz/srsLTE.git
Disable RSSI sensor by default and expose rx_gain for calibration
This commit is contained in:
parent
8474c6e3aa
commit
9c416aa97e
|
@ -159,11 +159,11 @@ void parse_args(all_args_t *args, int argc, char *argv[]) {
|
|||
"Pregenerate uplink signals after attach. Improves CPU performance.")
|
||||
|
||||
("expert.rssi_sensor_enabled",
|
||||
bpo::value<bool>(&args->expert.phy.rssi_sensor_enabled)->default_value(true),
|
||||
bpo::value<bool>(&args->expert.phy.rssi_sensor_enabled)->default_value(false),
|
||||
"Enable or disable RF frontend RSSI sensor. In some USRP devices can cause segmentation fault")
|
||||
|
||||
("expert.rx_gain_offset",
|
||||
bpo::value<float>(&args->expert.phy.rx_gain_offset)->default_value(10),
|
||||
bpo::value<float>(&args->expert.phy.rx_gain_offset)->default_value(62),
|
||||
"RX Gain offset to add to rx_gain to correct RSRP value")
|
||||
|
||||
("expert.prach_gain",
|
||||
|
|
|
@ -389,7 +389,7 @@ void rrc::run_si_acquisition_procedure()
|
|||
last_win_start = si_win_start;
|
||||
|
||||
mac->bcch_start_rx(si_win_start, si_win_len);
|
||||
rrc_log->info("Instructed MAC to search for system info, win_start=%d, win_len=%d\n",
|
||||
rrc_log->debug("Instructed MAC to search for system info, win_start=%d, win_len=%d\n",
|
||||
si_win_start, si_win_len);
|
||||
}
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ enable = false
|
|||
# ip_netmask: Netmask of the tun_srsue device. Default: 255.255.255.0
|
||||
# rssi_sensor_enabled: Enable or disable RF frontend RSSI sensor. Required for RSRP metrics but
|
||||
# can cause UHD instability for long-duration testing. Default true.
|
||||
# rx_gain_offset: RX Gain offset to add to rx_gain to calibrate RSRP readings
|
||||
# prach_gain: PRACH gain (dB). If defined, forces a gain for the tranmsission of PRACH only.,
|
||||
# Default is to use tx_gain in [rf] section.
|
||||
# cqi_max: Upper bound on the maximum CQI to be reported. Default 15.
|
||||
|
@ -176,6 +177,7 @@ enable = false
|
|||
[expert]
|
||||
#ip_netmask = 255.255.255.0
|
||||
#rssi_sensor_enabled = false
|
||||
#rx_gain_offset = 62
|
||||
#prach_gain = 30
|
||||
#cqi_max = 15
|
||||
#cqi_fixed = 10
|
||||
|
|
Loading…
Reference in New Issue