Commit 447150b0 authored by francescomani's avatar francescomani

bugfix for PRACH format C2

parent 7c7d54e4
...@@ -450,7 +450,7 @@ int32_t generate_nr_prach(PHY_VARS_NR_UE *ue, uint8_t gNB_id, int frame, uint8_t ...@@ -450,7 +450,7 @@ int32_t generate_nr_prach(PHY_VARS_NR_UE *ue, uint8_t gNB_id, int frame, uint8_t
memcpy(prach, prach+(dftlen<<1), (Ncp<<2)); memcpy(prach, prach+(dftlen<<1), (Ncp<<2));
// here we have | Prefix | Prach | Prach | // here we have | Prefix | Prach | Prach |
prach_len = (dftlen*2)+Ncp; prach_len = (dftlen*2)+Ncp;
} else if (prach_fmt_id == 5) { // 4xdftlen } else if (prach_fmt_id == 5 || prach_fmt_id == 10) { // 4xdftlen
// here we have | empty | Prach | empty | empty | empty | // here we have | empty | Prach | empty | empty | empty |
memcpy(prach2+(dftlen<<1), prach2, (dftlen<<2)); memcpy(prach2+(dftlen<<1), prach2, (dftlen<<2));
// here we have | empty | Prach | Prach | empty | empty | // here we have | empty | Prach | Prach | empty | empty |
......
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