Fixed incorrect DCI location assignment in pdsch_enodeb.c example

master
Robert Falkenberg 5 years ago committed by Andre Puschmann
parent 4a76801459
commit c75f314c3f

@ -917,8 +917,8 @@ int main(int argc, char **argv) {
/* Encode PDCCH */ /* Encode PDCCH */
INFO("Putting DCI to location: n=%d, L=%d\n", locations[sf_idx][0].ncce, locations[sf_idx][0].L); INFO("Putting DCI to location: n=%d, L=%d\n", locations[sf_idx][0].ncce, locations[sf_idx][0].L);
dci_msg.location = locations[sf_idx][0];
srslte_dci_msg_pack_pdsch(&cell, &dl_sf, NULL, &dci_dl, &dci_msg); srslte_dci_msg_pack_pdsch(&cell, &dl_sf, NULL, &dci_dl, &dci_msg);
dci_msg.location = locations[sf_idx][0];
if (srslte_pdcch_encode(&pdcch, &dl_sf, &dci_msg, sf_symbols)) { if (srslte_pdcch_encode(&pdcch, &dl_sf, &dci_msg, sf_symbols)) {
ERROR("Error encoding DCI message\n"); ERROR("Error encoding DCI message\n");
exit(-1); exit(-1);

Loading…
Cancel
Save