Merge remote-tracking branch 'origin/ue-RF-warmup' into integration_2024_w40b

This commit is contained in:
Jaroslava Fiedlerova
2024-10-04 07:53:17 +02:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -815,6 +815,11 @@ void *UE_thread(void *arg)
if (get_softmodem_params()->sync_ref && UE->sl_mode == 2) {
UE->is_synchronized = 1;
} else {
//warm up the RF board
int64_t tmp;
for (int i = 0; i < 50; i++)
readFrame(UE, &tmp, true);
}
while (!oai_exit) {
@@ -202,7 +202,7 @@ void nr_scan_ssb(void *arg)
/* process pss search on received buffer */
ssbInfo->syncRes.frame_id = frame_id;
int nid2;
int freq_offset_pss;
int freq_offset_pss = 0;
const int sync_pos = pss_synchro_nr((const c16_t **)rxdata,
fp,
pssTime,