Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
619d34d7
Commit
619d34d7
authored
Dec 19, 2016
by
hbilel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OAI-UE] UE T-tracer updates part 2
parent
d9255b5c
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
78 additions
and
21 deletions
+78
-21
common/utils/T/T_messages.txt
common/utils/T/T_messages.txt
+9
-5
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
+2
-1
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci.c
+11
-4
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+10
-0
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+12
-2
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/phich.c
+7
-2
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/LTE_TRANSPORT/proto.h
+2
-0
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+13
-7
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
+1
-0
openair1/SIMULATION/LTE_PHY/pdcchsim.c
openair1/SIMULATION/LTE_PHY/pdcchsim.c
+1
-0
openair1/SIMULATION/LTE_PHY/syncsim.c
openair1/SIMULATION/LTE_PHY/syncsim.c
+5
-0
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+5
-0
No files found.
common/utils/T/T_messages.txt
View file @
619d34d7
...
...
@@ -1992,11 +1992,11 @@ ID = UE_PHY_DL_CHANNEL_ESTIMATE
ID = UE_PHY_PDCCH_IQ
DESC = UE PDCCH received IQ data
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,
eNB_ID : int,UE_ID : int,frame : int,subframe : int,I : int,Q
FORMAT = int,
nb_rb : int,NB_RB_DL : int,symbols_per_tti : buffer,rxdataF_comp
ID = UE_PHY_PDCCH_ENERGY
DESC = UE PDSCH 1 energy and threshold
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,
energy : int,threshold
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,
pdcch_ch_level00 : int,pdcch_ch_level01 : int,pdcch_ch_level10: int,pdcch_ch_level11
ID = UE_PHY_PDSCH_IQ
DESC = UE PDSCH received IQ data
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
...
...
@@ -2004,12 +2004,16 @@ ID = UE_PHY_PDSCH_IQ
ID = UE_PHY_PDSCH_ENERGY
DESC = UE PDSCH 1 energy and threshold
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,
energy : int,threshold
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,
pdsch_ch_level00 : int,pdsch_ch_level01 : int,pdsch_ch_level10: int,pdsch_ch_level11
ID = UE_PHY_PUSCH_TX_POWER
DESC = UE PUSCH tx power
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,eNB_ID : int,UE_
ID : int,frame : int,subframe : int,power
FORMAT = int,eNB_ID : int,UE_
id : int,frame : int,subframe : int,p0_pusch : int,ampl
ID = UE_PHY_PUCCH_TX_POWER
DESC = UE PDSCH 1 energy and threshold
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,power
FORMAT = int,eNB_ID : int,UE_id : int,frame : int,subframe : int,p0_pucch : int,ampl
ID = UE_PHY_MEAS
DESC = UE PHY measurements
GROUP = ALL:PHY:GRAPHIC:HEAVY:UE
FORMAT = int,eNB_ID : int,UE_ID : int,frame : int,subframe : int,rsrp : int,rssi : int,snr
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
View file @
619d34d7
...
...
@@ -25,6 +25,7 @@
#include "defs.h"
#include "PHY/defs.h"
#include "filt96_32.h"
#include "T.h"
//#define DEBUG_CH
int
lte_dl_channel_estimation
(
PHY_VARS_UE
*
ue
,
...
...
@@ -739,7 +740,7 @@ int lte_dl_channel_estimation(PHY_VARS_UE *ue,
}
#if T_TRACER
T
(
T_
ENB_PHY_U
L_CHANNEL_ESTIMATE
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T
(
T_
UE_PHY_D
L_CHANNEL_ESTIMATE
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
ue
->
proc
.
proc_rxtx
[(
Ns
>>
1
)
&
1
].
frame_rx
%
1024
),
T_INT
(
ue
->
proc
.
proc_rxtx
[(
Ns
>>
1
)
&
1
].
subframe_rx
),
T_INT
(
0
),
T_BUFFER
(
&
ue
->
common_vars
.
dl_ch_estimates_time
[
eNB_offset
][
0
][
0
],
512
*
4
));
#endif
...
...
openair1/PHY/LTE_TRANSPORT/dci.c
View file @
619d34d7
...
...
@@ -41,6 +41,7 @@
#include "PHY/sse_intrin.h"
#include "assertions.h"
#include "T.h"
//#define DEBUG_DCI_ENCODING 1
//#define DEBUG_DCI_DECODING 1
...
...
@@ -1684,6 +1685,7 @@ int32_t avgP[4];
int32_t
rx_pdcch
(
LTE_UE_COMMON
*
common_vars
,
LTE_UE_PDCCH
**
pdcch_vars
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
frame
,
uint8_t
subframe
,
uint8_t
eNB_id
,
MIMO_mode_t
mimo_mode
,
...
...
@@ -1754,6 +1756,10 @@ int32_t rx_pdcch(LTE_UE_COMMON *common_vars,
LOG_I
(
PHY
,
"subframe %d: pdcch log2_maxh = %d (%d,%d)
\n
"
,
subframe
,
log2_maxh
,
avgP
[
0
],
avgs
);
#endif
#if T_TRACER
T
(
T_UE_PHY_PDCCH_ENERGY
,
T_INT
(
eNB_id
),
T_INT
(
0
),
T_INT
(
frame
%
1024
),
T_INT
(
subframe
),
T_INT
(
avgP
[
0
]),
T_INT
(
avgP
[
1
]),
T_INT
(
avgP
[
2
]),
T_INT
(
avgP
[
3
]));
#endif
for
(
s
=
0
;
s
<
n_pdcch_symbols
;
s
++
)
{
pdcch_channel_compensation
(
pdcch_vars
[
eNB_id
]
->
rxdataF_ext
,
pdcch_vars
[
eNB_id
]
->
dl_ch_estimates_ext
,
...
...
@@ -1858,10 +1864,11 @@ int32_t rx_pdcch(LTE_UE_COMMON *common_vars,
}
T
(
T_UE_PHY_PDCCH_IQ
,
T_INT
(
eNB_id
),
T_INT
(
0
),
T_INT
(
-
1
),
T_INT
(
subframe
),
T_INT
(
0
),
T_BUFFER
(
pdcch_vars
[
eNB_id
]
->
llr
,
frame_parms
->
N_RB_DL
*
12
*
n_pdcch_symbols
*
4
));
#if T_TRACER
T
(
T_UE_PHY_PDCCH_IQ
,
T_INT
(
frame_parms
->
N_RB_DL
),
T_INT
(
frame_parms
->
N_RB_DL
),
T_INT
(
n_pdcch_symbols
),
T_BUFFER
(
pdcch_vars
[
eNB_id
]
->
rxdataF_comp
,
frame_parms
->
N_RB_DL
*
12
*
n_pdcch_symbols
*
4
));
#endif
// decode pcfich here
n_pdcch_symbols
=
rx_pcfich
(
frame_parms
,
...
...
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
619d34d7
...
...
@@ -5584,6 +5584,16 @@ int generate_ue_dlsch_params_from_dci(int frame,
printf
(
"PDSCH dlsch0 UE: pwr_off %d
\n
"
,
dlsch0_harq
->
dl_power_off
);
}
#endif
#if T_TRACER
if
(
(
dlsch
[
0
]
->
rnti
!=
si_rnti
)
&&
(
dlsch
[
0
]
->
rnti
!=
ra_rnti
)
&&
(
dlsch
[
0
]
->
rnti
!=
p_rnti
))
{
T
(
T_UE_PHY_DLSCH_UE_DCI
,
T_INT
(
0
),
T_INT
(
frame
%
1024
),
T_INT
(
subframe
),
T_INT
(
0
),
T_INT
(
dlsch
[
0
]
->
rnti
),
T_INT
(
dci_format
),
T_INT
(
harq_pid
),
T_INT
(
dlsch0_harq
->
mcs
),
T_INT
(
dlsch0_harq
->
TBS
));
}
#endif
dlsch
[
0
]
->
active
=
1
;
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
619d34d7
...
...
@@ -35,7 +35,7 @@
#include "defs.h"
#include "extern.h"
#include "PHY/sse_intrin.h"
#include "T.h"
#ifndef USER_MODE
#define NOCYGWIN_STATIC static
...
...
@@ -74,6 +74,7 @@ int rx_pdsch(PHY_VARS_UE *ue,
PDSCH_t
type
,
unsigned
char
eNB_id
,
unsigned
char
eNB_id_i
,
//if this == ue->n_connected_eNB, we assume MU interference
uint32_t
frame
,
uint8_t
subframe
,
unsigned
char
symbol
,
unsigned
char
first_symbol_flag
,
...
...
@@ -297,6 +298,13 @@ int rx_pdsch(PHY_VARS_UE *ue,
// avgs = cmax(avgs,avg[(aarx<<1)+aatx]);
#if T_TRACER
if
(
type
==
PDSCH
)
{
T
(
T_UE_PHY_PDSCH_ENERGY
,
T_INT
(
eNB_id
),
T_INT
(
0
),
T_INT
(
frame
%
1024
),
T_INT
(
subframe
),
T_INT
(
avg
[
0
]),
T_INT
(
avg
[
1
]),
T_INT
(
avg
[
2
]),
T_INT
(
avg
[
3
]));
}
#endif
pdsch_vars
[
eNB_id
]
->
log2_maxh
=
(
log2_approx
(
avgs
)
/
2
)
+
1
;
// + log2_approx(frame_parms->nb_antenna_ports_eNB-1) //-1 because log2_approx counts the number of bits
...
...
@@ -826,11 +834,13 @@ int rx_pdsch(PHY_VARS_UE *ue,
break
;
}
T
(
T_UE_PHY_PDSCH_IQ
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
-
1
),
#if T_TRACER
T
(
T_UE_PHY_PDSCH_IQ
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame
%
1024
),
T_INT
(
subframe
),
T_INT
(
nb_rb
),
T_INT
(
frame_parms
->
N_RB_UL
),
T_INT
(
frame_parms
->
symbols_per_tti
),
T_BUFFER
(
&
pdsch_vars
[
eNB_id
]
->
rxdataF_comp0
[
eNB_id
][
0
],
2
*
/* ulsch[UE_id]->harq_processes[harq_pid]->nb_rb */
frame_parms
->
N_RB_UL
*
12
*
frame_parms
->
symbols_per_tti
*
2
));
#endif
return
(
0
);
}
...
...
openair1/PHY/LTE_TRANSPORT/phich.c
View file @
619d34d7
...
...
@@ -1414,8 +1414,10 @@ void rx_phich(PHY_VARS_UE *ue,
//LOG_I(PHY,"[HARQ-UL harqId: %d] PHICH NACK ==> subframe_scheduling_flag = %d round: %d\n", harq_pid, ulsch->harq_processes[harq_pid]->subframe_scheduling_flag,ulsch->harq_processes[harq_pid]->round);
}
}
T
(
T_UE_PHY_ULSCH_UE_NACK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
subframe
),
T_INT
(
i
),
T_INT
(
ulsch
->
rnti
),
#if T_TRACER
T
(
T_UE_PHY_ULSCH_UE_NACK
,
T_INT
(
eNB_id
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
subframe
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
ulsch
->
rnti
),
T_INT
(
harq_pid
));
#endif
}
else
{
//ACK
if
(
ue
->
ulsch_Msg3_active
[
eNB_id
]
==
1
)
{
...
...
@@ -1450,8 +1452,11 @@ void rx_phich(PHY_VARS_UE *ue,
// inform MAC?
ue
->
ulsch_Msg3_active
[
eNB_id
]
=
0
;
T
(
T_UE_PHY_ULSCH_UE_ACK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
subframe
),
T_INT
(
i
),
T_INT
(
ulsch
->
rnti
),
#if T_TRACER
T
(
T_UE_PHY_ULSCH_UE_ACK
,
T_INT
(
eNB_id
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
subframe
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
ulsch
->
rnti
),
T_INT
(
harq_pid
));
#endif
}
}
...
...
openair1/PHY/LTE_TRANSPORT/proto.h
View file @
619d34d7
...
...
@@ -1179,6 +1179,7 @@ int32_t rx_pdsch(PHY_VARS_UE *phy_vars_ue,
PDSCH_t
type
,
uint8_t
eNB_id
,
uint8_t
eNB_id_i
,
uint32_t
frame
,
uint8_t
subframe
,
uint8_t
symbol
,
uint8_t
first_symbol_flag
,
...
...
@@ -1189,6 +1190,7 @@ int32_t rx_pdsch(PHY_VARS_UE *phy_vars_ue,
int32_t
rx_pdcch
(
LTE_UE_COMMON
*
lte_ue_common_vars
,
LTE_UE_PDCCH
**
lte_ue_pdcch_vars
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
frame
,
uint8_t
subframe
,
uint8_t
eNB_id
,
MIMO_mode_t
mimo_mode
,
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
619d34d7
...
...
@@ -66,6 +66,8 @@ fifo_dump_emos_UE emos_dump_UE;
#include "PHY/CODING/extern.h"
#include "T.h"
#define DLSCH_RB_ALLOC 0x1fbf // skip DC RB (total 23/25 RBs)
#define DLSCH_RB_ALLOC_12 0x0aaa // skip DC RB (total 23/25 RBs)
...
...
@@ -2484,6 +2486,7 @@ int ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint
rx_pdcch
(
&
ue
->
common_vars
,
ue
->
pdcch_vars
,
&
ue
->
frame_parms
,
proc
->
frame_rx
,
subframe_rx
,
eNB_id
,
(
ue
->
frame_parms
.
mode1_flag
==
1
)
?
SISO
:
ALAMOUTI
,
...
...
@@ -2604,11 +2607,12 @@ int ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint
P_RNTI
,
ue
->
transmission_mode
[
eNB_id
]
<
7
?
0
:
ue
->
transmission_mode
[
eNB_id
])
==
0
))
{
T
(
T_UE_PHY_DLSCH_UE_DCI
,
T_INT
(
eNB_id
),
T_INT
(
frame_rx
%
1024
),
T_INT
(
subframe_rx
),
T_INT
(
ue
->
Mod_id
),
/*T(T_UE_PHY_DLSCH_UE_DCI, T_INT(eNB_id), T_INT(frame_rx%1024), T_INT(subframe_rx), T_INT(ue->Mod_id),
T_INT(dci_alloc_rx[i].rnti), T_INT(dci_alloc_rx[i].format),
T_INT(ue->dlsch[eNB_id][0]->current_harq_pid),
T_INT(ue->dlsch[eNB_id][0]->harq_processes[ue->dlsch[eNB_id][0]->current_harq_pid]->mcs),
T_INT
(
ue
->
dlsch
[
eNB_id
][
0
]
->
harq_processes
[
ue
->
dlsch
[
eNB_id
][
0
]
->
current_harq_pid
]
->
TBS
));
T_INT(ue->dlsch[eNB_id][0]->harq_processes[ue->dlsch[eNB_id][0]->current_harq_pid]->TBS));
*/
ue
->
dlsch_received
[
eNB_id
]
++
;
...
...
@@ -2750,11 +2754,8 @@ int ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint
eNB_id
,
0
)
==
0
))
{
#ifdef DEBUG_PHY_PROC
LOG_D
(
PHY
,
"[UE %d] Generate UE ULSCH C_RNTI format 0 (subframe %d)
\n
"
,
ue
->
Mod_id
,
subframe_rx
);
#endif
LTE_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
#if T_TRACER
LTE_DL_FRAME_PARMS
*
frame_parms
=
&
ue
->
frame_parms
;
uint8_t
harq_pid
=
subframe2harq_pid
(
frame_parms
,
pdcch_alloc2ul_frame
(
frame_parms
,
proc
->
frame_rx
,
proc
->
subframe_rx
),
pdcch_alloc2ul_subframe
(
frame_parms
,
proc
->
subframe_rx
));
...
...
@@ -2766,6 +2767,10 @@ int ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint
T_INT
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
first_rb
),
T_INT
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
nb_rb
),
T_INT
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
TBS
));
#endif
#ifdef DEBUG_PHY_PROC
LOG_D
(
PHY
,
"[UE %d] Generate UE ULSCH C_RNTI format 0 (subframe %d)
\n
"
,
ue
->
Mod_id
,
subframe_rx
);
#endif
}
}
else
if
(
(
dci_alloc_rx
[
i
].
rnti
==
ue
->
ulsch
[
eNB_id
]
->
cba_rnti
[
0
])
&&
...
...
@@ -3015,6 +3020,7 @@ void ue_pdsch_procedures(PHY_VARS_UE *ue, UE_rxtx_proc_t *proc, int eNB_id, PDSC
pdsch
,
eNB_id
,
eNB_id_i
,
proc
->
frame_rx
,
subframe_rx
,
// subframe,
m
,
first_symbol_flag
,
...
...
openair1/SIMULATION/LTE_PHY/dlsim_tm7.c
View file @
619d34d7
...
...
@@ -3199,6 +3199,7 @@ PMI_FEEDBACK:
rx_pdcch
(
&
UE
->
common_vars
,
UE
->
pdcch_vars
,
&
UE
->
frame_parms
,
0
,
// frame
subframe
,
0
,
(
UE
->
frame_parms
.
mode1_flag
==
1
)
?
SISO
:
ALAMOUTI
,
...
...
openair1/SIMULATION/LTE_PHY/pdcchsim.c
View file @
619d34d7
...
...
@@ -1091,6 +1091,7 @@ int main(int argc, char **argv)
rx_pdcch
(
&
UE
->
common_vars
,
UE
->
pdcch_vars
,
&
UE
->
frame_parms
,
frame
,
subframe
,
0
,
(
UE
->
frame_parms
.
mode1_flag
==
1
)
?
SISO
:
ALAMOUTI
,
...
...
openair1/SIMULATION/LTE_PHY/syncsim.c
View file @
619d34d7
...
...
@@ -1490,6 +1490,7 @@ int main(int argc, char **argv)
rx_pdcch
(
&
PHY_vars_UE
[
UE_idx
]
->
lte_ue_common_vars
,
PHY_vars_UE
[
UE_idx
]
->
lte_ue_pdcch_vars
,
&
PHY_vars_UE
[
UE_idx
]
->
lte_frame_parms
,
frame
,
subframe
,
0
,
(
PHY_vars_UE
[
UE_idx
]
->
lte_frame_parms
.
mode1_flag
==
1
)
?
SISO
:
ALAMOUTI
,
...
...
@@ -1534,6 +1535,7 @@ int main(int argc, char **argv)
PDSCH
,
0
,
1
,
frame
,
subframe
,
// subframe,
l
,
// symbol
(
l
==
PHY_vars_UE
[
UE_idx
]
->
lte_ue_pdcch_vars
[
0
]
->
num_pdcch_symbols
)
?
1
:
0
,
// first_symbol_flag
...
...
@@ -1564,6 +1566,7 @@ int main(int argc, char **argv)
PDSCH
,
0
,
1
,
frame
,
subframe
,
// subframe,
l
,
// symbol
0
,
// first_symbol_flag
...
...
@@ -1588,6 +1591,7 @@ int main(int argc, char **argv)
PDSCH
,
0
,
1
,
frame
,
subframe
,
// subframe,
l
,
// symbol
0
,
// first_symbol_flag
...
...
@@ -1618,6 +1622,7 @@ int main(int argc, char **argv)
PDSCH
,
0
,
1
,
frame
,
subframe
,
// subframe,
l
,
// symbol
0
,
// first_symbol_flag
...
...
targets/RT/USER/lte-ue.c
View file @
619d34d7
...
...
@@ -75,6 +75,8 @@
#include "UTIL/LOG/vcd_signal_dumper.h"
#include "UTIL/OPT/opt.h"
#include "T.h"
#define FRAME_PERIOD 100000000ULL
#define DAQ_PERIOD 66667ULL
...
...
@@ -1182,6 +1184,9 @@ void *UE_thread(void *arg) {
proc
->
frame_tx
=
proc
->
frame_rx
+
((
proc
->
subframe_rx
>
5
)
?
1
:
0
);
proc
->
timestamp_tx
=
timestamp
+
(
4
*
UE
->
frame_parms
.
samples_per_tti
)
-
UE
->
frame_parms
.
ofdm_symbol_size
-
UE
->
frame_parms
.
nb_prefix_samples0
;
#if T_TRACER
T
(
T_UE_MASTER_TICK
,
T_INT
(
0
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
proc
->
subframe_rx
));
#endif
/*
if (sf != (timestamp/UE->frame_parms.samples_per_tti)%10) {
LOG_E(PHY,"steady-state UE_thread error : frame_rx %d, subframe_rx %d, frame_tx %d, subframe_tx %d, rx subframe %d\n",proc->frame_rx,proc->subframe_rx,proc->frame_tx,proc->subframe_tx,(timestamp/UE->frame_parms.samples_per_tti)%10);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment