Commit ab299dd2 authored by Francesco Mani's avatar Francesco Mani

modification to pbchsim without initial sync

parent 97f4ec96
...@@ -618,9 +618,18 @@ int main(int argc, char **argv) ...@@ -618,9 +618,18 @@ int main(int argc, char **argv)
0, 0,
0, 0,
NR_PBCH_EST); NR_PBCH_EST);
nr_pbch_channel_estimation(UE,0,0,i,i-(UE->symbol_offset+1),ssb_index%8,n_hf);
} }
ret = nr_pbch_detection(UE,UE->symbol_offset+1,0); ret = nr_rx_pbch(UE,
0,
UE->pbch_vars[0],
frame_parms,
0,
ssb_index%8,
SISO,
UE->high_speed_flag);
if (ret==0) { if (ret==0) {
//UE->rx_ind.rx_indication_body->mib_pdu.ssb_index; //not yet detected automatically //UE->rx_ind.rx_indication_body->mib_pdu.ssb_index; //not yet detected automatically
......
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