Fixed PDSCH eNodeB example transmitting unpacked bits

master
ismagom 9 years ago
parent 0ff0f42999
commit 4a08a32417

@ -559,8 +559,8 @@ int main(int argc, char **argv) {
} }
} else { } else {
INFO("SF: %d, Generating %d random bits\n", sf_idx, pdsch_cfg.grant.mcs.tbs); INFO("SF: %d, Generating %d random bits\n", sf_idx, pdsch_cfg.grant.mcs.tbs);
for (i=0;i<pdsch_cfg.grant.mcs.tbs;i++) { for (i=0;i<pdsch_cfg.grant.mcs.tbs/8;i++) {
data[i] = rand()%2; data[i] = rand()%256;
} }
send_data = true; send_data = true;
} }

Loading…
Cancel
Save