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
canghaiwuhen
OpenXG-RAN
Commits
378020ce
Commit
378020ce
authored
Dec 13, 2016
by
hbilel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt oai-ue to t tracer part 2
parent
15a1af31
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
common/utils/T/tracer/ue.c
common/utils/T/tracer/ue.c
+3
-3
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
+2
-2
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci.c
+1
-1
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+1
-1
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/phich.c
+2
-2
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+5
-5
No files found.
common/utils/T/tracer/ue.c
View file @
378020ce
...
...
@@ -228,8 +228,8 @@ static void ue_main_gui(ue_gui *e, gui *g, event_handler *h, void *database,
logger
*
timelog
;
view
*
timeview
;
view
*
subview
;
//
widget *text;
//
view *textview;
widget
*
text
;
view
*
textview
;
int
i
;
widget
*
w
,
*
w2
;
view
*
v
;
...
...
@@ -482,7 +482,7 @@ static void ue_main_gui(ue_gui *e, gui *g, event_handler *h, void *database,
e
->
ul_nack_logger
[
i
]
=
timelog
;
}
#if
0
#if
1
/* phy/mac/rlc/pdcp/rrc textlog */
line
=
new_container
(
g
,
HORIZONTAL
);
widget_add_child
(
g
,
top_container
,
line
,
-
1
);
...
...
openair1/PHY/LTE_ESTIMATION/lte_dl_channel_estimation.c
View file @
378020ce
...
...
@@ -740,8 +740,8 @@ int lte_dl_channel_estimation(PHY_VARS_UE *ue,
#if T_TRACER
T
(
T_ENB_PHY_UL_CHANNEL_ESTIMATE
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
ue
->
proc
.
proc_rxtx
[(
Ns
>>
1
)
&
1
].
frame_rx
),
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
));
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
return
(
0
);
...
...
openair1/PHY/LTE_TRANSPORT/dci.c
View file @
378020ce
...
...
@@ -1860,7 +1860,7 @@ 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
[
0
]
,
frame_parms
->
N_RB_DL
*
12
*
n_pdcch_symbols
*
4
));
T_INT
(
0
),
T_BUFFER
(
pdcch_vars
[
eNB_id
]
->
llr
,
frame_parms
->
N_RB_DL
*
12
*
n_pdcch_symbols
*
4
));
// decode pcfich here
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
378020ce
...
...
@@ -829,7 +829,7 @@ int rx_pdsch(PHY_VARS_UE *ue,
T
(
T_UE_PHY_PDSCH_IQ
,
T_INT
(
eNB_id
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
-
1
),
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
],
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
));
return
(
0
);
...
...
openair1/PHY/LTE_TRANSPORT/phich.c
View file @
378020ce
...
...
@@ -1414,7 +1414,7 @@ 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
),
T_INT
(
subframe
),
T_INT
(
i
),
T_INT
(
ulsch
->
rnti
),
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
),
T_INT
(
harq_pid
));
}
else
{
//ACK
...
...
@@ -1450,7 +1450,7 @@ 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
),
T_INT
(
subframe
),
T_INT
(
i
),
T_INT
(
ulsch
->
rnti
),
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
),
T_INT
(
harq_pid
));
}
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
378020ce
...
...
@@ -1885,7 +1885,7 @@ void phy_procedures_UE_TX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,ui
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_TX
,
VCD_FUNCTION_IN
);
T
(
T_UE_PHY_UL_TICK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_tx
),
T_INT
(
subframe_tx
));
T
(
T_UE_PHY_UL_TICK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_tx
%
1024
),
T_INT
(
subframe_tx
));
ue
->
generate_ul_signal
[
eNB_id
]
=
0
;
...
...
@@ -2604,7 +2604,7 @@ 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
),
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
),
...
...
@@ -2759,7 +2759,7 @@ int ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint
pdcch_alloc2ul_frame
(
frame_parms
,
proc
->
frame_rx
,
proc
->
subframe_rx
),
pdcch_alloc2ul_subframe
(
frame_parms
,
proc
->
subframe_rx
));
T
(
T_UE_PHY_ULSCH_UE_DCI
,
T_INT
(
eNB_id
),
T_INT
(
proc
->
frame_rx
),
T_INT
(
proc
->
subframe_rx
),
T_INT
(
ue
->
Mod_id
),
T
(
T_UE_PHY_ULSCH_UE_DCI
,
T_INT
(
eNB_id
),
T_INT
(
proc
->
frame_rx
%
1024
),
T_INT
(
proc
->
subframe_rx
),
T_INT
(
ue
->
Mod_id
),
T_INT
(
dci_alloc_rx
[
i
].
rnti
),
T_INT
(
harq_pid
),
T_INT
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
mcs
),
T_INT
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
round
),
...
...
@@ -3333,9 +3333,9 @@ int phy_procedures_UE_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,uin
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_UE_RX
,
VCD_FUNCTION_IN
);
T
(
T_UE_PHY_DL_TICK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_rx
),
T_INT
(
subframe_rx
));
T
(
T_UE_PHY_DL_TICK
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_rx
%
1024
),
T_INT
(
subframe_rx
));
T
(
T_UE_PHY_INPUT_SIGNAL
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_rx
),
T_INT
(
subframe_rx
),
T_INT
(
0
),
T
(
T_UE_PHY_INPUT_SIGNAL
,
T_INT
(
ue
->
Mod_id
),
T_INT
(
frame_rx
%
1024
),
T_INT
(
subframe_rx
),
T_INT
(
0
),
T_BUFFER
(
&
ue
->
common_vars
.
rxdata
[
0
][
subframe_rx
*
ue
->
frame_parms
.
samples_per_tti
],
ue
->
frame_parms
.
samples_per_tti
*
4
));
...
...
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