Skip to content
Snippets Groups Projects
Commit ba5bda5c authored by Roberto Louro Magueta's avatar Roberto Louro Magueta
Browse files

Fix bw_scaling

parent 08975e45
No related branches found
No related tags found
3 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1619integration_2022_wk29,!1552SRS Measurements
......@@ -90,7 +90,7 @@ int nr_est_timing_advance_srs(NR_DL_FRAME_PARMS *frame_parms,
}
// Scale the 16 factor in N_TA calculation in 38.213 section 4.2 according to the used FFT size
uint16_t bw_scaling = frame_parms->ofdm_symbol_size >> 11;
uint16_t bw_scaling = frame_parms->ofdm_symbol_size >> 7;
// do some integer rounding to improve TA accuracy
int sync_pos_rounded;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment