parse fixed CQI for NR

fix-cqi
Raphael 8 months ago
parent be93a5ef44
commit aa0f5fc8fa

@ -106,6 +106,7 @@ struct phy_args_t {
bool detect_cp = false;
bool nr_store_pdsch_ko = false;
uint32_t nr_fix_wideband_cqi = 15;
float in_sync_rsrp_dbm_th = -130.0f;
float in_sync_snr_db_th = 1.0f;

@ -445,6 +445,9 @@ static int parse_args(all_args_t* args, int argc, char* argv[])
("phy.nr.store_pdsch_ko",
bpo::value<bool>(&args->phy.nr_store_pdsch_ko)->default_value(false),
"Dumps the PDSCH baseband samples into a file on KO reception.")
("phy.nr.fix_wideband_cqi",
bpo::value<uint32_t>(&args->phy.nr_fix_wideband_cqi)->default_value(15),
"Fixes the reported wideband CQI to a constant value. Default 15.")
// UE simulation args
("sim.airplane_t_on_ms",

@ -91,6 +91,7 @@ int ue::init(const all_args_t& args_)
phy_args_nr.worker_cpu_mask = args.phy.worker_cpu_mask;
phy_args_nr.log = args.phy.log;
phy_args_nr.store_pdsch_ko = args.phy.nr_store_pdsch_ko;
phy_args_nr.fix_wideband_cqi = args.phy.nr_fix_wideband_cqi;
phy_args_nr.srate_hz = args.rf.srate_hz;
// init layers

Loading…
Cancel
Save