Increased PUCCH RLF threshold and default number of errors

This commit is contained in:
Ismael Gomez 2018-07-05 14:09:46 +02:00
parent c64e26559e
commit cf5a6f0580
3 changed files with 5 additions and 3 deletions

View File

@ -71,7 +71,7 @@ public:
private:
const static float PUSCH_RL_SNR_DB_TH = 1.0;
const static float PUCCH_RL_CORR_TH = 0.1;
const static float PUCCH_RL_CORR_TH = 0.15;
void work_imp();

View File

@ -167,7 +167,7 @@ void parse_args(all_args_t *args, int argc, char* argv[]) {
"Number of PHY threads")
("expert.link_failure_nof_err",
bpo::value<int>(&args->expert.mac.link_failure_nof_err)->default_value(50),
bpo::value<int>(&args->expert.mac.link_failure_nof_err)->default_value(100),
"Number of PUSCH failures after which a radio-link failure is triggered")
("expert.max_prach_offset_us",

View File

@ -557,7 +557,7 @@ void rrc::parse_ul_dcch(uint16_t rnti, uint32_t lcid, byte_buffer_t *pdu)
void rrc::process_rl_failure(uint16_t rnti)
{
if (users.count(rnti) == 0) {
if (users.count(rnti) == 1) {
uint32_t n_rfl = users[rnti].rl_failure();
if (n_rfl == 1) {
rrc_log->info("Radio-Link failure detected rnti=0x%x\n", rnti);
@ -573,6 +573,8 @@ void rrc::process_rl_failure(uint16_t rnti)
} else {
rrc_log->info("%d Radio-Link failure detected rnti=0x%x\n", n_rfl, rnti);
}
} else {
rrc_log->error("Radio-Link failure detected for uknown rnti=0x%x\n", rnti);
}
}