mirror of https://github.com/PentHertz/srsLTE.git
Set DCI unpacking errors to info (#1781)
This commit is contained in:
parent
85544bb8d3
commit
4e88daae21
|
@ -399,7 +399,7 @@ static int dl_dci_compute_tb(bool pdsch_use_tbs_index_alt, const srslte_dci_dl_t
|
|||
if (grant->tb[i].tbs < 0) {
|
||||
char str[128];
|
||||
srslte_dci_dl_info(dci, str, sizeof(str));
|
||||
ERROR("Computing TBS from %s\n", str);
|
||||
INFO("Error computing TBS from %s\n", str);
|
||||
return SRSLTE_ERROR;
|
||||
}
|
||||
} else {
|
||||
|
@ -624,7 +624,7 @@ int srslte_ra_dl_dci_to_grant(const srslte_cell_t* cell,
|
|||
}
|
||||
}
|
||||
} else {
|
||||
ERROR("Configuring TB Info\n");
|
||||
INFO("Configuring TB Info\n");
|
||||
return SRSLTE_ERROR;
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -310,7 +310,7 @@ int srslte_ra_ul_dci_to_grant(srslte_cell_t* cell,
|
|||
}
|
||||
|
||||
if (grant->nof_symb == 0 || grant->nof_re == 0) {
|
||||
ERROR("Converting ul_dci to grant, nof_symb=%d, nof_re=%d\n", grant->nof_symb, grant->nof_re);
|
||||
INFO("Error converting ul_dci to grant, nof_symb=%d, nof_re=%d\n", grant->nof_symb, grant->nof_re);
|
||||
return SRSLTE_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
@ -274,7 +274,7 @@ bool cc_worker::work_dl_regular()
|
|||
}
|
||||
// Generate PHY grant
|
||||
if (srslte_ue_dl_dci_to_pdsch_grant(&ue_dl, &sf_cfg_dl, &ue_dl_cfg, &dci_dl, &ue_dl_cfg.cfg.pdsch.grant)) {
|
||||
Error("Converting DCI message to DL dci\n");
|
||||
Info("Converting DCI message to DL dci\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -615,10 +615,10 @@ bool cc_worker::work_ul(srslte_uci_data_t* uci_data)
|
|||
|
||||
// Generate PHY grant
|
||||
if (srslte_ue_ul_dci_to_pusch_grant(&ue_ul, &sf_cfg_ul, &ue_ul_cfg, &dci_ul, &ue_ul_cfg.ul_cfg.pusch.grant)) {
|
||||
if (log_h->get_level() >= srslte::LOG_LEVEL_ERROR) {
|
||||
if (log_h->get_level() >= srslte::LOG_LEVEL_INFO) {
|
||||
char str[128];
|
||||
srslte_dci_ul_info(&dci_ul, str, sizeof(str));
|
||||
Error("Converting DCI message to UL grant %s\n", str);
|
||||
Info("Converting DCI message to UL grant %s\n", str);
|
||||
}
|
||||
ul_grant_available = false;
|
||||
} else if (ue_ul_cfg.ul_cfg.pusch.grant.tb.mod == SRSLTE_MOD_BPSK) {
|
||||
|
|
Loading…
Reference in New Issue