From 20ec0b021eda65008e18b34497e81b27f264205e Mon Sep 17 00:00:00 2001 From: Lionel Gauthier Date: Thu, 30 Apr 2015 09:49:42 +0000 Subject: [PATCH] Sebastian Held patches15/0044-UE-USRP-set-correct-TX-frequency.patch git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7346 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/RT/USER/lte-ue.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/targets/RT/USER/lte-ue.c b/targets/RT/USER/lte-ue.c index a09fae17c5..a777d4fbcb 100644 --- a/targets/RT/USER/lte-ue.c +++ b/targets/RT/USER/lte-ue.c @@ -250,10 +250,20 @@ static void *UE_thread_synch(void *arg) exit_fun("Can't find EUTRA band for frequency"); return &UE_thread_synch_retval; } + +#ifdef OAI_USRP + // now we know the uplink_frequency_offset + // set the correct TX frequency + for (i=0; iUE_scan == 1) { + else if (UE->UE_scan == 1) { current_band=0; + for (card=0; card