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
wangjie
OpenXG-RAN
Commits
3c5e2761
Commit
3c5e2761
authored
8 years ago
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add PUSCH IQ and UL channel estimates for UE 0 to enb.c
parent
f31145ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+35
-0
No files found.
common/utils/T/tracer/enb.c
View file @
3c5e2761
...
@@ -113,6 +113,9 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -113,6 +113,9 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
widget
*
text
;
widget
*
text
;
view
*
textview
;
view
*
textview
;
int
i
;
int
i
;
widget
*
w
;
view
*
v
;
logger
*
l
;
main_window
=
new_toplevel_window
(
g
,
1200
,
900
,
"eNB tracer"
);
main_window
=
new_toplevel_window
(
g
,
1200
,
900
,
"eNB tracer"
);
top_container
=
new_container
(
g
,
VERTICAL
);
top_container
=
new_container
(
g
,
VERTICAL
);
...
@@ -135,6 +138,36 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
...
@@ -135,6 +138,36 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
g
,
input_signal_plot
,
new_color
(
g
,
"#0c0c72"
),
XY_LOOP_MODE
);
g
,
input_signal_plot
,
new_color
(
g
,
"#0c0c72"
),
XY_LOOP_MODE
);
logger_add_view
(
input_signal_log
,
input_signal_view
);
logger_add_view
(
input_signal_log
,
input_signal_view
);
/* UE 0 PUSCH IQ data */
w
=
new_xy_plot
(
g
,
55
,
55
,
"PUSCH IQ"
,
50
);
widget_add_child
(
g
,
line
,
w
,
-
1
);
xy_plot_set_range
(
g
,
w
,
-
1000
,
1000
,
-
1000
,
1000
);
l
=
new_iqlog
(
h
,
database
,
"ENB_PHY_PUSCH_IQ"
,
"nb_rb"
,
"N_RB_UL"
,
"symbols_per_tti"
,
"pusch_comp"
);
v
=
new_view_xy
(
100
*
12
*
14
,
10
,
g
,
w
,
new_color
(
g
,
"#000"
),
XY_FORCED_MODE
);
logger_add_view
(
l
,
v
);
logger_set_filter
(
l
,
filter_eq
(
filter_evarg
(
database
,
"ENB_PHY_PUSCH_IQ"
,
"UE_ID"
),
filter_int
(
0
)
));
/* UE 0 estimated UL channel */
w
=
new_xy_plot
(
g
,
256
*
2
,
55
,
"UL estimated channel"
,
50
);
widget_add_child
(
g
,
line
,
w
,
-
1
);
xy_plot_set_range
(
g
,
w
,
0
,
512
*
10
,
-
10
,
80
);
l
=
new_framelog
(
h
,
database
,
"ENB_PHY_UL_CHANNEL_ESTIMATE"
,
"subframe"
,
"chest_t"
);
//framelog_set_skip(input_signal_log, 10);
framelog_set_update_only_at_sf9
(
l
,
0
);
v
=
new_view_xy
(
512
*
10
,
10
,
g
,
w
,
new_color
(
g
,
"#0c0c72"
),
XY_LOOP_MODE
);
logger_add_view
(
l
,
v
);
logger_set_filter
(
l
,
filter_eq
(
filter_evarg
(
database
,
"ENB_PHY_UL_CHANNEL_ESTIMATE"
,
"UE_ID"
),
filter_int
(
0
)
));
/* downlink/uplink UE DCIs */
/* downlink/uplink UE DCIs */
widget_add_child
(
g
,
top_container
,
widget_add_child
(
g
,
top_container
,
new_label
(
g
,
"DL/UL TICK/DCI/ACK/NACK "
),
-
1
);
new_label
(
g
,
"DL/UL TICK/DCI/ACK/NACK "
),
-
1
);
...
@@ -445,6 +478,7 @@ int main(int n, char **v)
...
@@ -445,6 +478,7 @@ int main(int n, char **v)
}
}
on_off
(
database
,
"ENB_PHY_INPUT_SIGNAL"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_INPUT_SIGNAL"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_UL_CHANNEL_ESTIMATE"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DL_TICK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DL_TICK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DLSCH_UE_DCI"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DLSCH_UE_DCI"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DLSCH_UE_ACK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_DLSCH_UE_ACK"
,
is_on
,
1
);
...
@@ -455,6 +489,7 @@ int main(int n, char **v)
...
@@ -455,6 +489,7 @@ int main(int n, char **v)
on_off
(
database
,
"ENB_PHY_ULSCH_UE_ACK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_ULSCH_UE_ACK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_ULSCH_UE_NACK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_ULSCH_UE_NACK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_MASTER_TICK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_MASTER_TICK"
,
is_on
,
1
);
on_off
(
database
,
"ENB_PHY_PUSCH_IQ"
,
is_on
,
1
);
on_off
(
database
,
"LEGACY_RRC_INFO"
,
is_on
,
1
);
on_off
(
database
,
"LEGACY_RRC_INFO"
,
is_on
,
1
);
on_off
(
database
,
"LEGACY_RRC_ERROR"
,
is_on
,
1
);
on_off
(
database
,
"LEGACY_RRC_ERROR"
,
is_on
,
1
);
...
...
This diff is collapsed.
Click to expand it.
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