Commit 065614f0 authored by Guy De Souza's avatar Guy De Souza

RE jump fix

parent 5e980ccd
...@@ -129,8 +129,8 @@ int nr_generate_pbch_dmrs(uint32_t *gold_pbch_dmrs, ...@@ -129,8 +129,8 @@ int nr_generate_pbch_dmrs(uint32_t *gold_pbch_dmrs,
} }
void nr_pbch_scrambling(uint32_t Nid, void nr_pbch_scrambling(uint32_t Nid,
uint8_t *pbch_a,
uint8_t nushift, uint8_t nushift,
uint8_t *pbch_a,
uint32_t length) uint32_t length)
{ {
uint8_t reset; uint8_t reset;
...@@ -268,8 +268,10 @@ int nr_generate_pbch(NR_gNB_PBCH *pbch, ...@@ -268,8 +268,10 @@ int nr_generate_pbch(NR_gNB_PBCH *pbch,
k-=frame_parms->ofdm_symbol_size; k-=frame_parms->ofdm_symbol_size;
} }
k+=145; k += 144;
l++; if (k >= frame_parms->ofdm_symbol_size)
k-=frame_parms->ofdm_symbol_size;
m=216; m=216;
for (int ssb_sc_idx = 192; ssb_sc_idx < 240; ssb_sc_idx++) { for (int ssb_sc_idx = 192; ssb_sc_idx < 240; ssb_sc_idx++) {
......
...@@ -72,8 +72,8 @@ int nr_generate_pbch_dmrs(uint32_t *gold_pbch_dmrs, ...@@ -72,8 +72,8 @@ int nr_generate_pbch_dmrs(uint32_t *gold_pbch_dmrs,
@param @param
*/ */
void nr_pbch_scrambling(uint32_t Nid, void nr_pbch_scrambling(uint32_t Nid,
uint8_t *pbch_a,
uint8_t nushift, uint8_t nushift,
uint8_t *pbch_a,
uint32_t length); uint32_t length);
/*! /*!
......
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