mirror of https://github.com/PentHertz/srsLTE.git
feature - make minimum SNR, under which the RRC is notified with UL KO, configurable
This commit is contained in:
parent
8708043a5f
commit
357bc10a17
|
@ -25,6 +25,7 @@ struct mac_args_t {
|
|||
int nr_tb_size = -1;
|
||||
uint32_t nof_prealloc_ues; ///< Number of UE resources to pre-allocate at eNB startup
|
||||
uint32_t max_nof_kos;
|
||||
int rlf_min_ul_snr_estim;
|
||||
};
|
||||
|
||||
/* Interface PHY -> MAC */
|
||||
|
|
|
@ -338,6 +338,8 @@ enable = false
|
|||
# gtpu_tunnel_timeout: Time that GTPU takes to release indirect forwarding tunnel since the last received GTPU PDU (0 for no timer).
|
||||
#ts1_reloc_prep_timeout: S1AP TS 36.413 TS1RelocPrep Expiry Timeout value in milliseconds
|
||||
#ts1_reloc_overall_timeout: S1AP TS 36.413 TS1RelocOverall Expiry Timeout value in milliseconds
|
||||
# rlf_release_timer_ms: Time taken by eNB to release UE context after it detects an RLF
|
||||
# rlf_min_ul_snr_estim: SNR threshold in dB below which the enb is notified with rlf ko
|
||||
#
|
||||
#####################################################################
|
||||
[expert]
|
||||
|
@ -369,3 +371,5 @@ enable = false
|
|||
#extended_cp = false
|
||||
#ts1_reloc_prep_timeout = 10000
|
||||
#ts1_reloc_overall_timeout = 10000
|
||||
#rlf_release_timer_ms = 4000
|
||||
#rlf_min_ul_snr_estim = -2
|
||||
|
|
|
@ -241,6 +241,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
|
|||
("expert.extended_cp", bpo::value<bool>(&args->phy.extended_cp)->default_value(false), "Use extended cyclic prefix")
|
||||
("expert.ts1_reloc_prep_timeout", bpo::value<uint32_t>(&args->stack.s1ap.ts1_reloc_prep_timeout)->default_value(10000), "S1AP TS 36.413 TS1RelocPrep Expiry Timeout value in milliseconds")
|
||||
("expert.ts1_reloc_overall_timeout", bpo::value<uint32_t>(&args->stack.s1ap.ts1_reloc_overall_timeout)->default_value(10000), "S1AP TS 36.413 TS1RelocOverall Expiry Timeout value in milliseconds")
|
||||
("expert.rlf_min_ul_snr_estim", bpo::value<int>(&args->stack.mac.rlf_min_ul_snr_estim)->default_value(-2), "SNR threshold in dB below which the eNB is notified with rlf ko.")
|
||||
|
||||
|
||||
// eMBMS section
|
||||
|
|
|
@ -401,7 +401,7 @@ int mac::snr_info(uint32_t tti_rx, uint16_t rnti, uint32_t enb_cc_idx, float snr
|
|||
return SRSRAN_ERROR;
|
||||
}
|
||||
|
||||
rrc_h->set_radiolink_ul_state(rnti, snr > 0);
|
||||
rrc_h->set_radiolink_ul_state(rnti, snr >= args.rlf_min_ul_snr_estim);
|
||||
|
||||
return scheduler.ul_snr_info(tti_rx, rnti, enb_cc_idx, snr, (uint32_t)ch);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue