mirror of https://github.com/PentHertz/srsLTE.git
Test change SSS to Full
This commit is contained in:
parent
3874eb0434
commit
19129cf152
|
@ -71,7 +71,7 @@ int srslte_sync_init_decim(srslte_sync_t *q, uint32_t frame_size, uint32_t max_o
|
||||||
q->N_id_1 = 1000;
|
q->N_id_1 = 1000;
|
||||||
|
|
||||||
q->cfo_ema_alpha = CFO_EMA_ALPHA;
|
q->cfo_ema_alpha = CFO_EMA_ALPHA;
|
||||||
q->sss_alg = SSS_PARTIAL_3;
|
q->sss_alg = SSS_FULL;
|
||||||
|
|
||||||
q->detect_cp = true;
|
q->detect_cp = true;
|
||||||
q->sss_en = true;
|
q->sss_en = true;
|
||||||
|
|
|
@ -1326,8 +1326,9 @@ int phch_recv::scell_recv::find_cells(cf_t *input_buffer, float rx_gain_offset,
|
||||||
|
|
||||||
for (uint32_t sf5_cnt=0;sf5_cnt<nof_sf/5;sf5_cnt++) {
|
for (uint32_t sf5_cnt=0;sf5_cnt<nof_sf/5;sf5_cnt++) {
|
||||||
sync_res = srslte_sync_find(&sync_find, input_buffer, sf5_cnt*5*sf_len, &peak_idx);
|
sync_res = srslte_sync_find(&sync_find, input_buffer, sf5_cnt*5*sf_len, &peak_idx);
|
||||||
Info("INTRA: n_id_2=%d, cnt=%d/%d, sync_res=%d, sf_idx=%d, peak_idx=%d, peak_value=%f\n",
|
Info("INTRA: n_id_2=%d, cnt=%d/%d, sync_res=%d, cell_id=%d, sf_idx=%d, peak_idx=%d, peak_value=%f\n",
|
||||||
n_id_2, sf5_cnt, nof_sf/5, sync_res, srslte_sync_get_sf_idx(&sync_find), peak_idx, sync_find.peak_value);
|
n_id_2, sf5_cnt, nof_sf/5, sync_res, srslte_sync_get_cell_id(&sync_find),
|
||||||
|
srslte_sync_get_sf_idx(&sync_find), peak_idx, sync_find.peak_value);
|
||||||
|
|
||||||
if (sync_find.peak_value > max_peak && sync_res == SRSLTE_SYNC_FOUND) {
|
if (sync_find.peak_value > max_peak && sync_res == SRSLTE_SYNC_FOUND) {
|
||||||
best_sync_res = sync_res;
|
best_sync_res = sync_res;
|
||||||
|
|
Loading…
Reference in New Issue