Commit 7790a10b authored by Matthieu Kanj's avatar Matthieu Kanj

correction to npbch pdu flip

parent 2f898817
...@@ -144,12 +144,7 @@ int generate_npbch(NB_IoT_eNB_NPBCH *eNB_npbch, ...@@ -144,12 +144,7 @@ int generate_npbch(NB_IoT_eNB_NPBCH *eNB_npbch,
for (i=0; i<5; i++) // set input bits stream for (i=0; i<5; i++) // set input bits stream
{ {
if (i !=4 ) npbch_a[5-i-1] = npbch_pdu[i]; // & 0xc0 //??/** in LTE 24 bits with 3 bytes, but in NB_IoT 34 bits will require 4 bytes+2 bits !! to check
{
npbch_a[5-i-1] = npbch_pdu[i]; // ????????/*****?? in LTE 24 bits with 3 bytes, but in NB_IoT 34 bits will require 4 bytes+2 bits !! to verify
} else {
npbch_a[5-i-1]= npbch_pdu[i] & 0x03;
}
} }
if (frame_parms->mode1_flag == 1) // setting CRC mask depending on the number of used eNB antennas if (frame_parms->mode1_flag == 1) // setting CRC mask depending on the number of used eNB antennas
......
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