Commit 2f636037 authored by Robert Schmidt's avatar Robert Schmidt

Fixup: compute_PDU_length()

parent 09e1e6c6
...@@ -747,10 +747,10 @@ static void other_sib_sched_control(module_id_t module_idP, ...@@ -747,10 +747,10 @@ static void other_sib_sched_control(module_id_t module_idP,
// Data to be transmitted // Data to be transmitted
memcpy(tx_req->TLVs[0].value.direct, sib_bcch_pdu, sched_pdsch_otherSI.tb_size); memcpy(tx_req->TLVs[0].value.direct, sib_bcch_pdu, sched_pdsch_otherSI.tb_size);
tx_req->PDU_length = sched_pdsch_otherSI.tb_size;
tx_req->PDU_index = pdu_index; tx_req->PDU_index = pdu_index;
tx_req->num_TLV = 1; tx_req->num_TLV = 1;
tx_req->TLVs[0].length = sched_pdsch_otherSI.tb_size + 2; tx_req->TLVs[0].length = sched_pdsch_otherSI.tb_size;
tx_req->PDU_length = compute_PDU_length(tx_req->num_TLV, tx_req->TLVs[0].length);
TX_req->Number_of_PDUs++; TX_req->Number_of_PDUs++;
TX_req->SFN = frame; TX_req->SFN = frame;
TX_req->Slot = slot; TX_req->Slot = slot;
......
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