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
9e6f022c
Commit
9e6f022c
authored
Feb 14, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes to enb tracer
parent
31b503e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
common/utils/T/T_defs.h
common/utils/T/T_defs.h
+2
-2
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+3
-3
common/utils/T/tracer/gui/x.c
common/utils/T/tracer/gui/x.c
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-0
No files found.
common/utils/T/T_defs.h
View file @
9e6f022c
...
...
@@ -8,10 +8,10 @@
#define T_MAX_ARGS 16
/* maximum size of a message - increase if needed */
#define T_BUFFER_MAX (1024*64)
#define T_BUFFER_MAX (1024*64
*4
)
/* size of the local cache for messages (must be pow(2,something)) */
#define T_CACHE_SIZE (8192
*
2)
#define T_CACHE_SIZE (8192
*
2)
/* maximum number of bytes a message can contain */
#ifdef T_SEND_TIME
...
...
common/utils/T/tracer/enb.c
View file @
9e6f022c
...
...
@@ -289,11 +289,11 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database,
line
=
new_container
(
g
,
HORIZONTAL
);
widget_add_child
(
g
,
top_container
,
line
,
-
1
);
logo
=
new_image
(
g
,
openair_logo_png
,
openair_logo_png_len
);
//
logo = new_image(g, openair_logo_png, openair_logo_png_len);
/* logo + prev/next UE buttons */
col
=
new_container
(
g
,
VERTICAL
);
widget_add_child
(
g
,
col
,
logo
,
-
1
);
//
widget_add_child(g, col, logo, -1);
w
=
new_container
(
g
,
HORIZONTAL
);
widget_add_child
(
g
,
col
,
w
,
-
1
);
/* TODO: use button widget, not label widget */
...
...
@@ -314,7 +314,7 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database,
input_signal_plot
=
new_xy_plot
(
g
,
256
,
55
,
"input signal"
,
20
);
widget_add_child
(
g
,
line
,
input_signal_plot
,
-
1
);
xy_plot_set_range
(
g
,
input_signal_plot
,
0
,
7680
*
10
,
20
,
7
0
);
xy_plot_set_range
(
g
,
input_signal_plot
,
0
,
7680
*
10
,
-
50
,
10
0
);
input_signal_log
=
new_framelog
(
h
,
database
,
"ENB_PHY_INPUT_SIGNAL"
,
"subframe"
,
"rxdata"
);
/* a skip value of 10 means to process 1 frame over 10, that is
...
...
common/utils/T/tracer/gui/x.c
View file @
9e6f022c
...
...
@@ -155,7 +155,7 @@ x_image *x_create_image(x_connection *_x, unsigned char *data,
ret
=
calloc
(
1
,
sizeof
(
struct
x_image
));
if
(
ret
==
NULL
)
OOM
;
template
.
class
=
TrueColor
;
template
.
depth
=
24
;
template
.
depth
=
32
;
template
.
red_mask
=
0xff0000
;
template
.
green_mask
=
0x00ff00
;
template
.
blue_mask
=
0x0000ff
;
...
...
targets/RT/USER/lte-enb.c
View file @
9e6f022c
...
...
@@ -159,6 +159,7 @@ static inline int rxtx(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc, char *thread_nam
// ****************************************
// Common RX procedures subframe n
T
(
T_ENB_MASTER_TICK
,
T_INT
(
0
),
T_INT
(
proc
->
frame_rx
),
T_INT
(
proc
->
subframe_rx
));
T
(
T_ENB_PHY_DL_TICK
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
proc
->
frame_tx
),
T_INT
(
proc
->
subframe_tx
));
// if this is IF5 or 3GPP_eNB
...
...
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