Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
b3aa20c4
Commit
b3aa20c4
authored
11 years ago
by
gauthier
Browse files
Options
Downloads
Patches
Plain Diff
for GTPV1U
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5171
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
bc0ccc95
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/ENB_APP/enb_app.c
+9
-3
9 additions, 3 deletions
openair2/ENB_APP/enb_app.c
with
9 additions
and
3 deletions
openair2/ENB_APP/enb_app.c
+
9
−
3
View file @
b3aa20c4
...
@@ -47,6 +47,9 @@
...
@@ -47,6 +47,9 @@
# if defined(ENABLE_USE_MME)
# if defined(ENABLE_USE_MME)
# include "s1ap_eNB.h"
# include "s1ap_eNB.h"
# include "sctp_eNB_task.h"
# include "sctp_eNB_task.h"
# if defined(LINK_PDCP_TO_GTPV1U)
# include "gtpv1u_eNB_defs.h"
# endif
# endif
# endif
extern
unsigned
char
NB_eNB_INST
;
extern
unsigned
char
NB_eNB_INST
;
...
@@ -166,7 +169,7 @@ static uint32_t eNB_app_register(uint32_t enb_id_start, uint32_t enb_id_end, con
...
@@ -166,7 +169,7 @@ static uint32_t eNB_app_register(uint32_t enb_id_start, uint32_t enb_id_end, con
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
void
*
eNB_app_task
(
void
*
args_p
)
void
*
eNB_app_task
(
void
*
args_p
)
{
{
const
Enb_properties_array_t
*
enb_properties
;
const
Enb_properties_array_t
*
enb_properties
=
NULL
;
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
uint32_t
enb_nb
=
1
;
/* Default number of eNB is 1 */
uint32_t
enb_nb
=
1
;
/* Default number of eNB is 1 */
uint32_t
enb_id_start
=
0
;
uint32_t
enb_id_start
=
0
;
...
@@ -177,8 +180,8 @@ void *eNB_app_task(void *args_p)
...
@@ -177,8 +180,8 @@ void *eNB_app_task(void *args_p)
long
enb_register_retry_timer_id
;
long
enb_register_retry_timer_id
;
# endif
# endif
uint32_t
enb_id
;
uint32_t
enb_id
;
MessageDef
*
msg_p
;
MessageDef
*
msg_p
=
NULL
;
const
char
*
msg_name
;
const
char
*
msg_name
=
NULL
;
instance_t
instance
;
instance_t
instance
;
int
result
;
int
result
;
...
@@ -209,6 +212,9 @@ void *eNB_app_task(void *args_p)
...
@@ -209,6 +212,9 @@ void *eNB_app_task(void *args_p)
}
}
# if defined(ENABLE_USE_MME)
# if defined(ENABLE_USE_MME)
# if defined(LINK_PDCP_TO_GTPV1U)
gtpv1u_eNB_init
(
enb_properties
->
properties
[
0
]);
# endif
/* Try to register each eNB */
/* Try to register each eNB */
registered_enb
=
0
;
registered_enb
=
0
;
register_enb_pending
=
eNB_app_register
(
enb_id_start
,
enb_id_end
,
enb_properties
);
register_enb_pending
=
eNB_app_register
(
enb_id_start
,
enb_id_end
,
enb_properties
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment