mirror of https://github.com/PentHertz/srsLTE.git
srsue,rrc: check present flag before parsing UCI PUSCH scaling info
This commit is contained in:
parent
82429d1742
commit
1b891bb600
|
@ -1537,10 +1537,12 @@ bool rrc_nr::apply_sp_cell_ded_ul_pusch(const asn1::rrc_nr::pusch_cfg_s& pusch_c
|
||||||
logger.warning("Option beta_offsets not of type semi_static");
|
logger.warning("Option beta_offsets not of type semi_static");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (pusch_cfg.uci_on_pusch_present) {
|
||||||
if (make_phy_pusch_scaling(pusch_cfg.uci_on_pusch.setup(), &phy_cfg.pusch.scaling) == false) {
|
if (make_phy_pusch_scaling(pusch_cfg.uci_on_pusch.setup(), &phy_cfg.pusch.scaling) == false) {
|
||||||
logger.warning("Warning while building scaling structure");
|
logger.warning("Warning while building scaling structure");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.warning("Option beta_offsets not present");
|
logger.warning("Option beta_offsets not present");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue