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
alex037yang
OpenXG-RAN
Commits
502ded26
Commit
502ded26
authored
Sep 21, 2020
by
nepes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add NGAP port number and ppid to be used for gNB
- SCTP associtation of gNB with AMF seems to be successful now
parent
5dd27ca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
openair3/S1AP/s1ap_eNB.c
openair3/S1AP/s1ap_eNB.c
+8
-2
openair3/S1AP/s1ap_eNB_default_values.h
openair3/S1AP/s1ap_eNB_default_values.h
+3
-0
No files found.
openair3/S1AP/s1ap_eNB.c
View file @
502ded26
...
...
@@ -102,8 +102,14 @@ static void s1ap_eNB_register_mme(s1ap_eNB_instance_t *instance_p,
DevAssert
(
mme_ip_address
!=
NULL
);
message_p
=
itti_alloc_new_message
(
TASK_S1AP
,
SCTP_NEW_ASSOCIATION_REQ
);
sctp_new_association_req_p
=
&
message_p
->
ittiMsg
.
sctp_new_association_req
;
sctp_new_association_req_p
->
port
=
S1AP_PORT_NUMBER
;
sctp_new_association_req_p
->
ppid
=
S1AP_SCTP_PPID
;
if
(
instance_p
->
cell_type
==
CELL_MACRO_GNB
){
sctp_new_association_req_p
->
port
=
NGAP_PORT_NUMBER
;
sctp_new_association_req_p
->
ppid
=
NGAP_SCTP_PPID
;
}
else
{
sctp_new_association_req_p
->
port
=
S1AP_PORT_NUMBER
;
sctp_new_association_req_p
->
ppid
=
S1AP_SCTP_PPID
;
}
sctp_new_association_req_p
->
in_streams
=
in_streams
;
sctp_new_association_req_p
->
out_streams
=
out_streams
;
memcpy
(
&
sctp_new_association_req_p
->
remote_address
,
...
...
openair3/S1AP/s1ap_eNB_default_values.h
View file @
502ded26
...
...
@@ -32,6 +32,9 @@
#define S1AP_PORT_NUMBER (36412)
#define S1AP_SCTP_PPID (18)
#define NGAP_PORT_NUMBER (38412)
#define NGAP_SCTP_PPID (60)
#define X2AP_PORT_NUMBER (36422)
#define X2AP_SCTP_PPID (27)
...
...
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