Commit b2d05eaf authored by Matthieu Kanj's avatar Matthieu Kanj

bug fix

parent ee0dd14d
...@@ -224,7 +224,7 @@ int generate_NDLSCH_NB_IoT(PHY_VARS_eNB *eNB, ...@@ -224,7 +224,7 @@ int generate_NDLSCH_NB_IoT(PHY_VARS_eNB *eNB,
if(RAR->active_msg2 == 1) if(RAR->active_msg2 == 1)
{ {
uint8_t one_byte = RAR_pdu[2]>>3; uint8_t one_byte = RAR_pdu[2]>>3;
uint8_t subcarrier_spacing = one_byte^0x01; uint8_t subcarrier_spacing = one_byte & 0x01;
eNB->ulsch_NB_IoT[0]->harq_process->subcarrier_spacing = subcarrier_spacing; eNB->ulsch_NB_IoT[0]->harq_process->subcarrier_spacing = subcarrier_spacing;
} }
// to be added at the end of NPDSCH process // to be added at the end of NPDSCH process
......
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