Don't use msgTx inside nr_dlsch_encoding() and nr_generate_pdsch()

A later commit will remove "msgTx" altogether. Push it out from L1
functions.
This commit is contained in:
Robert Schmidt
2025-11-14 12:25:05 +01:00
parent 751cab3d89
commit 2be5ff361f
5 changed files with 27 additions and 28 deletions
+1 -2
View File
@@ -515,8 +515,7 @@ int main(int argc, char **argv)
unsigned char output[rel15->rbSize * NR_SYMBOLS_PER_SLOT * NR_NB_SC_PER_RB * NR_MAX_NB_LAYERS] __attribute__((aligned(64)));
bzero(output, sizeof(output));
if (input_fd == NULL) {
msgDataTx.num_pdsch_slot = 1;
nr_dlsch_encoding(gNB, &msgDataTx, frame, slot, frame_parms, output, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
nr_dlsch_encoding(gNB, 1, dlsch, frame, slot, frame_parms, output, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
}
for (SNR = snr0; SNR < snr1 && !stop; SNR += snr_step) {