Commit 5035a59d authored by Navid Nikaein's avatar Navid Nikaein

setting back the Ue timing advance to zero

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6606 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 09ea2024
...@@ -139,7 +139,7 @@ uint8_t phich_frame2_pusch_frame(LTE_DL_FRAME_PARMS *frame_parms,frame_t frame,u ...@@ -139,7 +139,7 @@ uint8_t phich_frame2_pusch_frame(LTE_DL_FRAME_PARMS *frame_parms,frame_t frame,u
uint8_t phich_subframe2_pusch_subframe(LTE_DL_FRAME_PARMS *frame_parms,uint8_t subframe) { uint8_t phich_subframe2_pusch_subframe(LTE_DL_FRAME_PARMS *frame_parms,uint8_t subframe) {
if (frame_parms->frame_type == FDD) if (frame_parms->frame_type == FDD)
return(subframe<4 ? ((subframe+6)%10) : subframe-4); return(subframe<4 ? (subframe+6) : (subframe-4));
switch (frame_parms->tdd_config) { switch (frame_parms->tdd_config) {
case 0: case 0:
......
...@@ -2612,7 +2612,7 @@ int main(int argc, char **argv) { ...@@ -2612,7 +2612,7 @@ int main(int argc, char **argv) {
// connect the TX/RX buffers // connect the TX/RX buffers
if (UE_flag==1) { if (UE_flag==1) {
openair_daq_vars.timing_advance = 170; openair_daq_vars.timing_advance = 0;//170;
if (setup_ue_buffers(UE,&openair0_cfg[0],rf_map)!=0) { if (setup_ue_buffers(UE,&openair0_cfg[0],rf_map)!=0) {
printf("Error setting up eNB buffer\n"); printf("Error setting up eNB buffer\n");
exit(-1); exit(-1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment