dci: added missing flag 1a/1c in pack functions

master
Ismael Gomez 8 years ago
parent 1d7bfc79c2
commit f4ed3c4821

@ -649,6 +649,8 @@ int dci_format1As_pack(srslte_ra_dl_dci_t *data, srslte_dci_msg_t *msg, uint32_t
return SRSLTE_ERROR; return SRSLTE_ERROR;
} }
data->dci_is_1a = true;
*y++ = data->type2_alloc.mode; // localized or distributed VRB assignment *y++ = data->type2_alloc.mode; // localized or distributed VRB assignment
if (data->type2_alloc.mode == SRSLTE_RA_TYPE2_LOC) { if (data->type2_alloc.mode == SRSLTE_RA_TYPE2_LOC) {
@ -879,6 +881,8 @@ int dci_format1Cs_pack(srslte_ra_dl_dci_t *data, srslte_dci_msg_t *msg, uint32_t
return SRSLTE_ERROR; return SRSLTE_ERROR;
} }
data->dci_is_1c = true;
if (nof_prb >= 50) { if (nof_prb >= 50) {
*y++ = data->type2_alloc.n_gap; *y++ = data->type2_alloc.n_gap;
} }

Loading…
Cancel
Save