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
zzha zzha
OpenXG-RAN
Commits
3c84c4d8
Commit
3c84c4d8
authored
Sep 12, 2020
by
heshanyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issues about sending ngap message by sctp
parent
7e327ae8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
openair3/NGAP/ngap_gNB.c
openair3/NGAP/ngap_gNB.c
+2
-0
openair3/NGAP/ngap_gNB_default_values.h
openair3/NGAP/ngap_gNB_default_values.h
+2
-2
openair3/NGAP/ngap_gNB_defs.h
openair3/NGAP/ngap_gNB_defs.h
+1
-3
openair3/SCTP/sctp_gNB_defs.h
openair3/SCTP/sctp_gNB_defs.h
+0
-0
No files found.
openair3/NGAP/ngap_gNB.c
View file @
3c84c4d8
...
@@ -489,6 +489,7 @@ static int ngap_gNB_generate_ng_setup_request(
...
@@ -489,6 +489,7 @@ static int ngap_gNB_generate_ng_setup_request(
ASN_SEQUENCE_ADD
(
&
out
->
protocolIEs
.
list
,
ie
);
ASN_SEQUENCE_ADD
(
&
out
->
protocolIEs
.
list
,
ie
);
}
}
#if 0
/* mandatory */
/* mandatory */
ie = (NGAP_NGSetupRequestIEs_t *)calloc(1, sizeof(NGAP_NGSetupRequestIEs_t));
ie = (NGAP_NGSetupRequestIEs_t *)calloc(1, sizeof(NGAP_NGSetupRequestIEs_t));
ie->id = NGAP_ProtocolIE_ID_id_SupportedTAList;
ie->id = NGAP_ProtocolIE_ID_id_SupportedTAList;
...
@@ -529,6 +530,7 @@ static int ngap_gNB_generate_ng_setup_request(
...
@@ -529,6 +530,7 @@ static int ngap_gNB_generate_ng_setup_request(
}
}
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
#endif
/* mandatory */
/* mandatory */
ie
=
(
NGAP_NGSetupRequestIEs_t
*
)
calloc
(
1
,
sizeof
(
NGAP_NGSetupRequestIEs_t
));
ie
=
(
NGAP_NGSetupRequestIEs_t
*
)
calloc
(
1
,
sizeof
(
NGAP_NGSetupRequestIEs_t
));
ie
->
id
=
NGAP_ProtocolIE_ID_id_DefaultPagingDRX
;
ie
->
id
=
NGAP_ProtocolIE_ID_id_DefaultPagingDRX
;
...
...
openair3/NGAP/ngap_gNB_default_values.h
View file @
3c84c4d8
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
#define GNB_NAME "Eurecom GNB"
#define GNB_NAME "Eurecom GNB"
#define GNB_NAME_FORMAT (GNB_NAME" %u")
#define GNB_NAME_FORMAT (GNB_NAME" %u")
#define NGAP_PORT_NUMBER (3
6
412)
#define NGAP_PORT_NUMBER (3
8
412)
#define NGAP_SCTP_PPID (
18
)
#define NGAP_SCTP_PPID (
60
)
#define X2AP_PORT_NUMBER (36422)
#define X2AP_PORT_NUMBER (36422)
#define X2AP_SCTP_PPID (27)
#define X2AP_SCTP_PPID (27)
...
...
openair3/NGAP/ngap_gNB_defs.h
View file @
3c84c4d8
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
#include "queue.h"
#include "queue.h"
#include "tree.h"
#include "tree.h"
#include "sctp_gNB_defs.h"
#ifndef NGAP_GNB_DEFS_H_
#ifndef NGAP_GNB_DEFS_H_
#define NGAP_GNB_DEFS_H_
#define NGAP_GNB_DEFS_H_
...
@@ -250,7 +248,7 @@ typedef struct ngap_gNB_instance_s {
...
@@ -250,7 +248,7 @@ typedef struct ngap_gNB_instance_s {
enum
cell_type_e
cell_type
;
enum
cell_type_e
cell_type
;
/* Tracking area code */
/* Tracking area code */
uint
32
_t
tac
;
uint
16
_t
tac
;
/* gNB NGAP IP address */
/* gNB NGAP IP address */
net_ip_address_t
gNB_ng_ip
;
net_ip_address_t
gNB_ng_ip
;
...
...
openair3/SCTP/sctp_gNB_defs.h
deleted
100644 → 0
View file @
7e327ae8
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