Changed rv_idx to int for format1c

This commit is contained in:
Ismael Gomez 2016-06-07 12:36:27 +02:00
parent 8431e0f2a6
commit 1edeecfbfe
2 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,7 @@ typedef struct SRSLTE_API {
uint32_t mcs_idx;
uint32_t harq_process;
uint32_t rv_idx;
int rv_idx;
bool ndi;
} srslte_ra_dl_dci_t;

View File

@ -806,6 +806,7 @@ int dci_format1Cs_unpack(srslte_dci_msg_t *msg, srslte_ra_dl_dci_t *data, uint32
data->mcs_idx = srslte_bit_pack(&y, 5);
data->dci_format = SRSLTE_RA_DCI_FORMAT1C;
data->rv_idx = -1; // For SI-RNTI, get RV from TTI
msg->nof_bits = (y - msg->data);