mirror of https://github.com/PentHertz/srsLTE.git
Fixed UE_SYNC can't do SSS on track
This commit is contained in:
parent
c257d4f94b
commit
04b8f00fe7
|
@ -118,16 +118,20 @@ int srslte_ue_sync_init(srslte_ue_sync_t *q,
|
|||
q->sf_len = SRSLTE_SF_LEN(q->fft_size);
|
||||
q->file_mode = false;
|
||||
q->correct_cfo = true;
|
||||
q->decode_sss_on_track = true;
|
||||
|
||||
if (cell.id == 1000) {
|
||||
|
||||
/* If the cell is unkown, we search PSS/SSS in 5 ms */
|
||||
q->nof_recv_sf = 5;
|
||||
|
||||
q->decode_sss_on_track = true;
|
||||
|
||||
} else {
|
||||
|
||||
/* If the cell is known, we work on a 1ms basis */
|
||||
q->nof_recv_sf = 1;
|
||||
|
||||
q->decode_sss_on_track = false;
|
||||
}
|
||||
|
||||
q->frame_len = q->nof_recv_sf*q->sf_len;
|
||||
|
|
Loading…
Reference in New Issue