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
3280218c
Commit
3280218c
authored
Jun 30, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5452
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
d09815bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim.c
+5
-1
No files found.
targets/SIMU/USER/oaisim.c
View file @
3280218c
...
@@ -507,6 +507,7 @@ void *l2l1_task(void *args_p) {
...
@@ -507,6 +507,7 @@ void *l2l1_task(void *args_p) {
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
MessageDef
*
message_p
=
NULL
;
MessageDef
*
message_p
=
NULL
;
const
char
*
msg_name
=
NULL
;
int
result
;
int
result
;
itti_mark_task_ready
(
TASK_L2L1
);
itti_mark_task_ready
(
TASK_L2L1
);
...
@@ -520,6 +521,8 @@ void *l2l1_task(void *args_p) {
...
@@ -520,6 +521,8 @@ void *l2l1_task(void *args_p) {
AssertFatal
(
result
==
EXIT_SUCCESS
,
"Failed to free memory (%d)!
\n
"
,
result
);
AssertFatal
(
result
==
EXIT_SUCCESS
,
"Failed to free memory (%d)!
\n
"
,
result
);
}
}
itti_receive_msg
(
TASK_L2L1
,
&
message_p
);
itti_receive_msg
(
TASK_L2L1
,
&
message_p
);
msg_name
=
ITTI_MSG_NAME
(
message_p
);
LOG_I
(
EMU
,
"TASK_L2L1 received %s in state L2L1_WAITTING
\n
"
,
msg_name
);
switch
(
ITTI_MSG_ID
(
message_p
))
{
switch
(
ITTI_MSG_ID
(
message_p
))
{
case
INITIALIZE_MESSAGE
:
case
INITIALIZE_MESSAGE
:
...
@@ -558,6 +561,8 @@ void *l2l1_task(void *args_p) {
...
@@ -558,6 +561,8 @@ void *l2l1_task(void *args_p) {
itti_poll_msg
(
TASK_L2L1
,
&
message_p
);
itti_poll_msg
(
TASK_L2L1
,
&
message_p
);
if
(
message_p
!=
NULL
)
{
if
(
message_p
!=
NULL
)
{
msg_name
=
ITTI_MSG_NAME
(
message_p
);
LOG_I
(
EMU
,
"TASK_L2L1 received %s
\n
"
,
msg_name
);
switch
(
ITTI_MSG_ID
(
message_p
))
{
switch
(
ITTI_MSG_ID
(
message_p
))
{
case
ACTIVATE_MESSAGE
:
case
ACTIVATE_MESSAGE
:
set_cli_start
(
ITTI_MSG_INSTANCE
(
message_p
),
1
);
set_cli_start
(
ITTI_MSG_INSTANCE
(
message_p
),
1
);
...
@@ -572,7 +577,6 @@ void *l2l1_task(void *args_p) {
...
@@ -572,7 +577,6 @@ void *l2l1_task(void *args_p) {
break
;
break
;
case
MESSAGE_TEST
:
case
MESSAGE_TEST
:
LOG_I
(
EMU
,
"Received %s
\n
"
,
ITTI_MSG_NAME
(
message_p
));
break
;
break
;
...
...
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