Commit bb3b5d40 authored by Robert Schmidt's avatar Robert Schmidt

Track RBs in vrb_map as binary

parent 8d9b113e
......@@ -928,7 +928,7 @@ void nr_generate_Msg2(module_id_t module_idP,
/* mark the corresponding RBs as used */
uint16_t *vrb_map = cc[CC_id].vrb_map;
for (int rb = 0; rb < pdsch_pdu_rel15->rbSize; rb++)
vrb_map[rb + pdsch_pdu_rel15->rbStart] = 0x3fff; // mark all 14 symb
vrb_map[rb + pdsch_pdu_rel15->rbStart] = 1;
}
}
......
......@@ -206,5 +206,5 @@ void fill_ssb_vrb_map (NR_COMMON_channels_t *cc, int rbStart, int CC_id) {
uint16_t *vrb_map = cc[CC_id].vrb_map;
for (int rb = 0; rb < 20; rb++)
vrb_map[rbStart + rb] = 0xf; // mark the first four symbols as occupied
vrb_map[rbStart + rb] = 1;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment