Change NR PDSCH/PUSCH freq/time resource format in log

master
Xavier Arteaga 3 years ago committed by Andre Puschmann
parent 6b506ec357
commit 530b381c6c

@ -569,7 +569,14 @@ static uint32_t pdsch_nr_grant_info(const srsran_pdsch_nr_t* q,
}
// Append time-domain resource mapping
len = srsran_print_check(str, str_len, len, "prb=%d:%d symb=%d:%d ", first_prb, grant->nof_prb, grant->S, grant->L);
len = srsran_print_check(str,
str_len,
len,
"prb=(%d,%d) symb=(%d,%d) ",
first_prb,
first_prb + grant->nof_prb - 1,
grant->S,
grant->S + grant->L - 1);
// Append TB info
for (uint32_t i = 0; i < SRSRAN_MAX_TB; i++) {

@ -1011,7 +1011,14 @@ static uint32_t pusch_nr_grant_info(const srsran_pusch_nr_t* q,
}
// Append time-domain resource mapping
len = srsran_print_check(str, str_len, len, "prb=%d:%d symb=%d:%d ", first_prb, grant->nof_prb, grant->S, grant->L);
len = srsran_print_check(str,
str_len,
len,
"prb=(%d,%d) symb=(%d,%d) ",
first_prb,
first_prb + grant->nof_prb - 1,
grant->S,
grant->S + grant->L - 1);
// Append TB info
for (uint32_t i = 0; i < SRSRAN_MAX_TB; i++) {

Loading…
Cancel
Save