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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
ad44cbdc
Commit
ad44cbdc
authored
Sep 28, 2020
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add author and email
parent
b5f58b7d
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
250 additions
and
50 deletions
+250
-50
executables/nr-ru.c
executables/nr-ru.c
+1
-1
openair2/COMMON/ngap_messages_def.h
openair2/COMMON/ngap_messages_def.h
+8
-0
openair2/COMMON/ngap_messages_types.h
openair2/COMMON/ngap_messages_types.h
+9
-1
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+23
-1
openair2/GNB_APP/gnb_paramdef.h
openair2/GNB_APP/gnb_paramdef.h
+23
-1
openair3/NGAP/ngap_common.c
openair3/NGAP/ngap_common.c
+3
-3
openair3/NGAP/ngap_common.h
openair3/NGAP/ngap_common.h
+9
-0
openair3/NGAP/ngap_gNB.c
openair3/NGAP/ngap_gNB.c
+4
-13
openair3/NGAP/ngap_gNB.h
openair3/NGAP/ngap_gNB.h
+9
-0
openair3/NGAP/ngap_gNB_context_management_procedures.c
openair3/NGAP/ngap_gNB_context_management_procedures.c
+5
-3
openair3/NGAP/ngap_gNB_context_management_procedures.h
openair3/NGAP/ngap_gNB_context_management_procedures.h
+9
-0
openair3/NGAP/ngap_gNB_decoder.c
openair3/NGAP/ngap_gNB_decoder.c
+4
-3
openair3/NGAP/ngap_gNB_decoder.h
openair3/NGAP/ngap_gNB_decoder.h
+7
-0
openair3/NGAP/ngap_gNB_default_values.h
openair3/NGAP/ngap_gNB_default_values.h
+7
-0
openair3/NGAP/ngap_gNB_defs.h
openair3/NGAP/ngap_gNB_defs.h
+8
-0
openair3/NGAP/ngap_gNB_encoder.c
openair3/NGAP/ngap_gNB_encoder.c
+4
-3
openair3/NGAP/ngap_gNB_encoder.h
openair3/NGAP/ngap_gNB_encoder.h
+8
-0
openair3/NGAP/ngap_gNB_handlers.c
openair3/NGAP/ngap_gNB_handlers.c
+4
-4
openair3/NGAP/ngap_gNB_handlers.h
openair3/NGAP/ngap_gNB_handlers.h
+9
-1
openair3/NGAP/ngap_gNB_itti_messaging.c
openair3/NGAP/ngap_gNB_itti_messaging.c
+9
-1
openair3/NGAP/ngap_gNB_itti_messaging.h
openair3/NGAP/ngap_gNB_itti_messaging.h
+8
-0
openair3/NGAP/ngap_gNB_management_procedures.c
openair3/NGAP/ngap_gNB_management_procedures.c
+3
-3
openair3/NGAP/ngap_gNB_management_procedures.h
openair3/NGAP/ngap_gNB_management_procedures.h
+9
-0
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+6
-4
openair3/NGAP/ngap_gNB_nas_procedures.h
openair3/NGAP/ngap_gNB_nas_procedures.h
+9
-0
openair3/NGAP/ngap_gNB_nnsf.c
openair3/NGAP/ngap_gNB_nnsf.c
+3
-2
openair3/NGAP/ngap_gNB_nnsf.h
openair3/NGAP/ngap_gNB_nnsf.h
+8
-0
openair3/NGAP/ngap_gNB_overload.c
openair3/NGAP/ngap_gNB_overload.c
+4
-2
openair3/NGAP/ngap_gNB_overload.h
openair3/NGAP/ngap_gNB_overload.h
+8
-0
openair3/NGAP/ngap_gNB_trace.c
openair3/NGAP/ngap_gNB_trace.c
+8
-0
openair3/NGAP/ngap_gNB_trace.h
openair3/NGAP/ngap_gNB_trace.h
+8
-0
openair3/NGAP/ngap_gNB_ue_context.c
openair3/NGAP/ngap_gNB_ue_context.c
+4
-3
openair3/NGAP/ngap_gNB_ue_context.h
openair3/NGAP/ngap_gNB_ue_context.h
+9
-1
No files found.
executables/nr-ru.c
View file @
ad44cbdc
...
@@ -1796,7 +1796,7 @@ void init_RU_proc(RU_t *ru) {
...
@@ -1796,7 +1796,7 @@ void init_RU_proc(RU_t *ru) {
pthread_cond_init
(
&
proc
->
cond_asynch_rxtx
,
NULL
);
pthread_cond_init
(
&
proc
->
cond_asynch_rxtx
,
NULL
);
pthread_cond_init
(
&
proc
->
cond_synch
,
NULL
);
pthread_cond_init
(
&
proc
->
cond_synch
,
NULL
);
pthread_cond_init
(
&
proc
->
cond_gNBs
,
NULL
);
pthread_cond_init
(
&
proc
->
cond_gNBs
,
NULL
);
threadCreate
(
&
proc
->
pthread_FH
,
ru_thread
,
(
void
*
)
ru
,
"thread_FH"
,
-
1
,
OAI_PRIORITY_RT_MAX
);
//
threadCreate( &proc->pthread_FH, ru_thread, (void *)ru, "thread_FH", -1, OAI_PRIORITY_RT_MAX );
if
(
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_SPLIT
||
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_TRX_SPLIT
)
if
(
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_SPLIT
||
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_TRX_SPLIT
)
threadCreate
(
&
proc
->
pthread_FH1
,
ru_thread_tx
,
(
void
*
)
ru
,
"thread_FH1"
,
-
1
,
OAI_PRIORITY_RT
);
threadCreate
(
&
proc
->
pthread_FH1
,
ru_thread_tx
,
(
void
*
)
ru
,
"thread_FH1"
,
-
1
,
OAI_PRIORITY_RT
);
...
...
openair2/COMMON/ngap_messages_def.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*
* ngap_messages_def.h
*
* Created on: 2020
* Author: Yoshio INOUE, Masayuki HARADA
* Email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
/* Messages for NGAP logging */
/* Messages for NGAP logging */
MESSAGE_DEF
(
NGAP_UPLINK_NAS_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
ngap_uplink_nas_log
)
MESSAGE_DEF
(
NGAP_UPLINK_NAS_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
ngap_uplink_nas_log
)
MESSAGE_DEF
(
NGAP_UE_CAPABILITY_IND_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
ngap_ue_capability_ind_log
)
MESSAGE_DEF
(
NGAP_UE_CAPABILITY_IND_LOG
,
MESSAGE_PRIORITY_MED
,
IttiMsgText
,
ngap_ue_capability_ind_log
)
...
...
openair2/COMMON/ngap_messages_types.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*
* ngap_messages_types.h
*
* Created on: 2020
* Author: Yoshio INOUE, Masayuki HARADA
* Email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#ifndef NGAP_MESSAGES_TYPES_H_
#ifndef NGAP_MESSAGES_TYPES_H_
#define NGAP_MESSAGES_TYPES_H_
#define NGAP_MESSAGES_TYPES_H_
...
@@ -413,7 +421,7 @@ typedef struct ngap_register_gnb_req_s {
...
@@ -413,7 +421,7 @@ typedef struct ngap_register_gnb_req_s {
uint16_t
num_nssai
[
PLMN_LIST_MAX_SIZE
];
uint16_t
num_nssai
[
PLMN_LIST_MAX_SIZE
];
ngap_allowed_NSSAI_t
s_nssai
[
PLMN_LIST_MAX_SIZE
][
8
];
ngap_allowed_NSSAI_t
s_nssai
[
PLMN_LIST_MAX_SIZE
][
8
];
/* Default Paging DRX of the gNB as defined in TS 3
6
.304 */
/* Default Paging DRX of the gNB as defined in TS 3
8
.304 */
ngap_paging_drx_t
default_drx
;
ngap_paging_drx_t
default_drx
;
/* The gNB IP address to bind */
/* The gNB IP address to bind */
...
...
openair2/GNB_APP/gnb_config.c
View file @
ad44cbdc
...
@@ -789,11 +789,16 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
...
@@ -789,11 +789,16 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
if
(
strcmp
(
GNBSParams
[
GNB_ACTIVE_GNBS_IDX
].
strlistptr
[
j
],
*
(
GNBParamList
.
paramarray
[
k
][
GNB_GNB_NAME_IDX
].
strptr
))
==
0
)
{
if
(
strcmp
(
GNBSParams
[
GNB_ACTIVE_GNBS_IDX
].
strlistptr
[
j
],
*
(
GNBParamList
.
paramarray
[
k
][
GNB_GNB_NAME_IDX
].
strptr
))
==
0
)
{
paramdef_t
PLMNParams
[]
=
GNBPLMNPARAMS_DESC
;
paramdef_t
PLMNParams
[]
=
GNBPLMNPARAMS_DESC
;
paramlist_def_t
PLMNParamList
=
{
GNB_CONFIG_STRING_PLMN_LIST
,
NULL
,
0
};
paramlist_def_t
PLMNParamList
=
{
GNB_CONFIG_STRING_PLMN_LIST
,
NULL
,
0
};
paramdef_t
SNSSAIParams
[]
=
GNBSNSSAIPARAMS_DESC
;
paramlist_def_t
SNSSAIParamList
=
{
GNB_CONFIG_STRING_SNSSAI_LIST
,
NULL
,
0
};
/* map parameter checking array instances to parameter definition array instances */
/* map parameter checking array instances to parameter definition array instances */
checkedparam_t
config_check_PLMNParams
[]
=
PLMNPARAMS_CHECK
;
checkedparam_t
config_check_PLMNParams
[]
=
PLMNPARAMS_CHECK
;
checkedparam_t
config_check_SNSSAIParams
[]
=
SNSSAIPARAMS_CHECK
;
for
(
int
I
=
0
;
I
<
sizeof
(
PLMNParams
)
/
sizeof
(
paramdef_t
);
++
I
)
for
(
int
I
=
0
;
I
<
sizeof
(
PLMNParams
)
/
sizeof
(
paramdef_t
);
++
I
)
PLMNParams
[
I
].
chkPptr
=
&
(
config_check_PLMNParams
[
I
]);
PLMNParams
[
I
].
chkPptr
=
&
(
config_check_PLMNParams
[
I
]);
for
(
int
J
=
0
;
J
<
sizeof
(
SNSSAIParams
)
/
sizeof
(
paramdef_t
);
++
J
)
SNSSAIParams
[
J
].
chkPptr
=
&
(
config_check_SNSSAIParams
[
J
]);
paramdef_t
NGParams
[]
=
GNBNGPARAMS_DESC
;
paramdef_t
NGParams
[]
=
GNBNGPARAMS_DESC
;
paramlist_def_t
NGParamList
=
{
GNB_CONFIG_STRING_AMF_IP_ADDRESS
,
NULL
,
0
};
paramlist_def_t
NGParamList
=
{
GNB_CONFIG_STRING_AMF_IP_ADDRESS
,
NULL
,
0
};
...
@@ -835,7 +840,10 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
...
@@ -835,7 +840,10 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
NGAP_REGISTER_GNB_REQ
(
msg_p
).
num_plmn
=
PLMNParamList
.
numelt
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
num_plmn
=
PLMNParamList
.
numelt
;
for
(
int
l
=
0
;
l
<
PLMNParamList
.
numelt
;
++
l
)
{
for
(
int
l
=
0
;
l
<
PLMNParamList
.
numelt
;
++
l
)
{
char
snssaistr
[
MAX_OPTNAME_SIZE
*
2
+
8
];
sprintf
(
snssaistr
,
"%s.[%i].%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
k
,
GNB_CONFIG_STRING_PLMN_LIST
,
l
);
config_getlist
(
&
SNSSAIParamList
,
SNSSAIParams
,
sizeof
(
SNSSAIParams
)
/
sizeof
(
paramdef_t
),
snssaistr
);
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mcc
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MOBILE_COUNTRY_CODE_IDX
].
uptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mcc
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MOBILE_COUNTRY_CODE_IDX
].
uptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MOBILE_NETWORK_CODE_IDX
].
uptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MOBILE_NETWORK_CODE_IDX
].
uptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MNC_DIGIT_LENGTH
].
u8ptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]
=
*
PLMNParamList
.
paramarray
[
l
][
GNB_MNC_DIGIT_LENGTH
].
u8ptr
;
...
@@ -844,6 +852,20 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
...
@@ -844,6 +852,20 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
(
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]
==
3
),
(
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]
==
3
),
"BAD MNC DIGIT LENGTH %d"
,
"BAD MNC DIGIT LENGTH %d"
,
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]);
NGAP_REGISTER_GNB_REQ
(
msg_p
).
mnc_digit_length
[
l
]);
NGAP_REGISTER_GNB_REQ
(
msg_p
).
num_nssai
[
l
]
=
SNSSAIParamList
.
numelt
;
for
(
int
s
=
0
;
s
<
SNSSAIParamList
.
numelt
;
++
s
)
{
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sST
=
*
SNSSAIParamList
.
paramarray
[
s
][
GNB_SLICE_SERIVE_TYPE_IDX
].
uptr
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sD_flag
=
0
;
if
(
*
SNSSAIParamList
.
paramarray
[
s
][
GNB_SLICE_DIFFERENTIATOR_IDX
].
uptr
!=
0
)
{
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sD_flag
=
1
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sD
[
0
]
=
(
*
SNSSAIParamList
.
paramarray
[
s
][
GNB_SLICE_DIFFERENTIATOR_IDX
].
uptr
&
0xFF0000
)
>>
16
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sD
[
1
]
=
(
*
SNSSAIParamList
.
paramarray
[
s
][
GNB_SLICE_DIFFERENTIATOR_IDX
].
uptr
&
0x00FF00
)
>>
8
;
NGAP_REGISTER_GNB_REQ
(
msg_p
).
s_nssai
[
l
][
s
].
sD
[
2
]
=
(
*
SNSSAIParamList
.
paramarray
[
s
][
GNB_SLICE_DIFFERENTIATOR_IDX
].
uptr
&
0x0000FF
);
}
}
}
}
sprintf
(
aprefix
,
"%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
k
);
sprintf
(
aprefix
,
"%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
k
);
config_getlist
(
&
NGParamList
,
NGParams
,
sizeof
(
NGParams
)
/
sizeof
(
paramdef_t
),
aprefix
);
config_getlist
(
&
NGParamList
,
NGParams
,
sizeof
(
NGParams
)
/
sizeof
(
paramdef_t
),
aprefix
);
...
...
openair2/GNB_APP/gnb_paramdef.h
View file @
ad44cbdc
...
@@ -236,10 +236,32 @@ typedef struct ccparams_nr_x2 {
...
@@ -236,10 +236,32 @@ typedef struct ccparams_nr_x2 {
}
}
/* SNSSAI ID configuration */
#define GNB_CONFIG_STRING_SNSSAI_LIST "snssaiList"
#define GNB_CONFIG_STRING_SLICE_SERIVE_TYPE "sst"
#define GNB_CONFIG_STRING_SLICE_DIFFERENTIATOR "sd"
/* MME configuration parameters section name */
#define GNB_SLICE_SERIVE_TYPE_IDX 0
#define GNB_SLICE_DIFFERENTIATOR_IDX 1
#define GNBSNSSAIPARAMS_DESC { \
/* optname helpstr paramflags XXXptr def val type numelt */
\
{GNB_CONFIG_STRING_SLICE_SERIVE_TYPE, "slice serive type", 0, uptr:NULL, defuintval:1, TYPE_UINT, 0}, \
{GNB_CONFIG_STRING_SLICE_DIFFERENTIATOR, "slice differentiator", 0, uptr:NULL, defuintval:0, TYPE_UINT, 0}, \
}
#define SLICE_SERIVE_TYPE_OKRANGES {1,2,3,4}
#define SNSSAIPARAMS_CHECK { \
{ .s1 = { config_check_intval, SLICE_SERIVE_TYPE_OKRANGES, 4 } }, \
{ .s5 = { NULL } }, \
}
/* AMF configuration parameters section name */
#define GNB_CONFIG_STRING_AMF_IP_ADDRESS "amf_ip_address"
#define GNB_CONFIG_STRING_AMF_IP_ADDRESS "amf_ip_address"
/* SRB1 configuration parameters names */
/* SRB1 configuration parameters names */
...
...
openair3/NGAP/ngap_common.c
View file @
ad44cbdc
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
/*! \file ngap_common.c
/*! \file ngap_common.c
* \brief ngap procedures for both gNB and AMF
* \brief ngap procedures for both gNB and AMF
* \author
Sebastien ROUX and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \email
navid.nikaein@eurecom.fr
* \email
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 20
12-2015
* \date 20
20
* \version 0.1
* \version 0.1
*/
*/
...
...
openair3/NGAP/ngap_common.h
View file @
ad44cbdc
...
@@ -19,11 +19,20 @@
...
@@ -19,11 +19,20 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_common.h
* \brief ngap procedures for both gNB and AMF
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
/** @defgroup _ngap_impl_ NGAP Layer Reference Implementation
/** @defgroup _ngap_impl_ NGAP Layer Reference Implementation
* @ingroup _ref_implementation_
* @ingroup _ref_implementation_
* @{
* @{
*/
*/
#if HAVE_CONFIG_H_
#if HAVE_CONFIG_H_
# include "config.h"
# include "config.h"
#endif
#endif
...
...
openair3/NGAP/ngap_gNB.c
View file @
ad44cbdc
...
@@ -21,13 +21,14 @@
...
@@ -21,13 +21,14 @@
/*! \file ngap_gNB.c
/*! \file ngap_gNB.c
* \brief NGAP gNB task
* \brief NGAP gNB task
* \author
S. Roux and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
10 - 2015
* \date 20
20
* \email:
navid.nikaein@eurecom.fr
* \email:
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* \version 1.0
* @ingroup _ngap
* @ingroup _ngap
*/
*/
#include <pthread.h>
#include <pthread.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
@@ -211,16 +212,6 @@ void ngap_gNB_handle_register_gNB(instance_t instance, ngap_register_gnb_req_t *
...
@@ -211,16 +212,6 @@ void ngap_gNB_handle_register_gNB(instance_t instance, ngap_register_gnb_req_t *
memcpy
(
new_instance
->
s_nssai
,
ngap_register_gNB
->
s_nssai
,
sizeof
(
ngap_register_gNB
->
s_nssai
));
memcpy
(
new_instance
->
s_nssai
,
ngap_register_gNB
->
s_nssai
,
sizeof
(
ngap_register_gNB
->
s_nssai
));
// config add? TBD
if
(
1
)
{
new_instance
->
num_nssai
[
0
]
=
1
;
new_instance
->
s_nssai
[
0
][
0
].
sST
=
1
;
new_instance
->
s_nssai
[
0
][
0
].
sD_flag
=
1
;
new_instance
->
s_nssai
[
0
][
0
].
sD
[
0
]
=
1
;
new_instance
->
s_nssai
[
0
][
0
].
sD
[
1
]
=
2
;
new_instance
->
s_nssai
[
0
][
0
].
sD
[
2
]
=
3
;
}
/* Add the new instance to the list of gNB (meaningfull in virtual mode) */
/* Add the new instance to the list of gNB (meaningfull in virtual mode) */
ngap_gNB_insert_new_instance
(
new_instance
);
ngap_gNB_insert_new_instance
(
new_instance
);
NGAP_INFO
(
"Registered new gNB[%d] and %s gNB id %u
\n
"
,
NGAP_INFO
(
"Registered new gNB[%d] and %s gNB id %u
\n
"
,
...
...
openair3/NGAP/ngap_gNB.h
View file @
ad44cbdc
...
@@ -18,6 +18,15 @@
...
@@ -18,6 +18,15 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB.h
* \brief NGAP gNB task
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* @ingroup _ngap
*/
#include <stdio.h>
#include <stdio.h>
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_context_management_procedures.c
View file @
ad44cbdc
...
@@ -21,12 +21,14 @@
...
@@ -21,12 +21,14 @@
/*! \file ngap_gNB_context_management_procedures.c
/*! \file ngap_gNB_context_management_procedures.c
* \brief NGAP context management procedures
* \brief NGAP context management procedures
* \author
S. Roux and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
10 - 2015
* \date 20
20
* \email:
navid.nikaein@eurecom.fr
* \email:
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* \version 1.0
* @ingroup _ngap
* @ingroup _ngap
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_context_management_procedures.h
View file @
ad44cbdc
...
@@ -19,6 +19,15 @@
...
@@ -19,6 +19,15 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_context_management_procedures.h
* \brief NGAP context management procedures
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* @ingroup _ngap
*/
#ifndef NGAP_GNB_CONTEXT_MANAGEMENT_PROCEDURES_H_
#ifndef NGAP_GNB_CONTEXT_MANAGEMENT_PROCEDURES_H_
#define NGAP_GNB_CONTEXT_MANAGEMENT_PROCEDURES_H_
#define NGAP_GNB_CONTEXT_MANAGEMENT_PROCEDURES_H_
...
...
openair3/NGAP/ngap_gNB_decoder.c
View file @
ad44cbdc
...
@@ -21,12 +21,13 @@
...
@@ -21,12 +21,13 @@
/*! \file ngap_gNB_decoder.c
/*! \file ngap_gNB_decoder.c
* \brief ngap pdu decode procedures for gNB
* \brief ngap pdu decode procedures for gNB
* \author
Sebastien ROUX and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \email
navid.nikaein@eurecom.fr
* \email
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 20
13 - 2015
* \date 20
20
* \version 0.1
* \version 0.1
*/
*/
#include <stdio.h>
#include <stdio.h>
#include "assertions.h"
#include "assertions.h"
...
...
openair3/NGAP/ngap_gNB_decoder.h
View file @
ad44cbdc
...
@@ -18,6 +18,13 @@
...
@@ -18,6 +18,13 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_decoder.h
* \brief ngap pdu decode procedures for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_default_values.h
View file @
ad44cbdc
...
@@ -18,6 +18,13 @@
...
@@ -18,6 +18,13 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_default_values.h
* \brief ngap default values
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#ifndef NGAP_GNB_DEFAULT_VALUES_H_
#ifndef NGAP_GNB_DEFAULT_VALUES_H_
#define NGAP_GNB_DEFAULT_VALUES_H_
#define NGAP_GNB_DEFAULT_VALUES_H_
...
...
openair3/NGAP/ngap_gNB_defs.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_defs.h
* \brief ngap define procedures for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#include <stdint.h>
#include <stdint.h>
#include "queue.h"
#include "queue.h"
...
...
openair3/NGAP/ngap_gNB_encoder.c
View file @
ad44cbdc
...
@@ -21,12 +21,13 @@
...
@@ -21,12 +21,13 @@
/*! \file ngap_gNB_encoder.c
/*! \file ngap_gNB_encoder.c
* \brief ngap pdu encode procedures for gNB
* \brief ngap pdu encode procedures for gNB
* \author
Sebastien ROUX and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \email
navid.nikaein@eurecom.fr
* \email
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 20
13 - 2015
* \date 20
20
* \version 0.1
* \version 0.1
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_encoder.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_encoder.h
* \brief ngap pdu encode procedures for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#ifndef NGAP_GNB_ENCODER_H_
#ifndef NGAP_GNB_ENCODER_H_
#define NGAP_GNB_ENCODER_H_
#define NGAP_GNB_ENCODER_H_
...
...
openair3/NGAP/ngap_gNB_handlers.c
View file @
ad44cbdc
...
@@ -21,12 +21,12 @@
...
@@ -21,12 +21,12 @@
/*! \file ngap_gNB_handlers.c
/*! \file ngap_gNB_handlers.c
* \brief ngap messages handlers for gNB part
* \brief ngap messages handlers for gNB part
* \author
Sebastien ROUX and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \email
navid.nikaein@eurecom.fr
* \email
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 20
13 - 2015
* \date 20
20
* \version 0.1
* \version 0.1
*/
*/
#include <stdint.h>
#include <stdint.h>
#include "intertask_interface.h"
#include "intertask_interface.h"
...
...
openair3/NGAP/ngap_gNB_handlers.h
View file @
ad44cbdc
...
@@ -18,7 +18,15 @@
...
@@ -18,7 +18,15 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_handlers.h
* \brief ngap messages handlers for gNB part
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#ifndef NGAP_GNB_HANDLERS_H_
#ifndef NGAP_GNB_HANDLERS_H_
#define NGAP_GNB_HANDLERS_H_
#define NGAP_GNB_HANDLERS_H_
...
...
openair3/NGAP/ngap_gNB_itti_messaging.c
View file @
ad44cbdc
...
@@ -18,7 +18,15 @@
...
@@ -18,7 +18,15 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_itti_messaging.c
* \brief ngap itti messages handlers for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#include "intertask_interface.h"
#include "intertask_interface.h"
#include "ngap_gNB_itti_messaging.h"
#include "ngap_gNB_itti_messaging.h"
...
...
openair3/NGAP/ngap_gNB_itti_messaging.h
View file @
ad44cbdc
...
@@ -18,6 +18,14 @@
...
@@ -18,6 +18,14 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_itti_messaging.h
* \brief ngap itti messages handlers for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \email yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \date 2020
* \version 0.1
*/
#ifndef NGAP_GNB_ITTI_MESSAGING_H_
#ifndef NGAP_GNB_ITTI_MESSAGING_H_
#define NGAP_GNB_ITTI_MESSAGING_H_
#define NGAP_GNB_ITTI_MESSAGING_H_
...
...
openair3/NGAP/ngap_gNB_management_procedures.c
View file @
ad44cbdc
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
/*! \file ngap_gNB_management_procedures.c
/*! \file ngap_gNB_management_procedures.c
* \brief NGAP gNB task
* \brief NGAP gNB task
* \author
S. Roux and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
10 - 2016
* \date 20
20
* \email:
navid.nikaein@eurecom.fr
* \email:
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* \version 1.0
* @ingroup _ngap
* @ingroup _ngap
*/
*/
...
...
openair3/NGAP/ngap_gNB_management_procedures.h
View file @
ad44cbdc
...
@@ -19,6 +19,15 @@
...
@@ -19,6 +19,15 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_management_procedures.h
* \brief NGAP gNB task
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* @ingroup _ngap
*/
#ifndef NGAP_GNB_MANAGEMENT_PROCEDURES_H_
#ifndef NGAP_GNB_MANAGEMENT_PROCEDURES_H_
#define NGAP_GNB_MANAGEMENT_PROCEDURES_H_
#define NGAP_GNB_MANAGEMENT_PROCEDURES_H_
...
...
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
ad44cbdc
...
@@ -20,13 +20,15 @@
...
@@ -20,13 +20,15 @@
*/
*/
/*! \file ngap_gNB_nas_procedures.c
/*! \file ngap_gNB_nas_procedures.c
* \brief NGAP
e
Nb NAS procedure handler
* \brief NGAP
g
Nb NAS procedure handler
* \author
S. Roux and Navid Nikaein
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
10 - 2015
* \date 20
20
* \email:
navid.nikaein@eurecom.fr
* \email:
yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* \version 1.0
* @ingroup _ngap
* @ingroup _ngap
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_nas_procedures.h
View file @
ad44cbdc
...
@@ -18,6 +18,15 @@
...
@@ -18,6 +18,15 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_nas_procedures.h
* \brief NGAP gNb NAS procedure handler
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
* \version 1.0
* @ingroup _ngap
*/
#ifndef NGAP_GNB_NAS_PROCEDURES_H_
#ifndef NGAP_GNB_NAS_PROCEDURES_H_
#define NGAP_GNB_NAS_PROCEDURES_H_
#define NGAP_GNB_NAS_PROCEDURES_H_
...
...
openair3/NGAP/ngap_gNB_nnsf.c
View file @
ad44cbdc
...
@@ -21,9 +21,10 @@
...
@@ -21,9 +21,10 @@
/*! \file ngap_gNB_nnsf.c
/*! \file ngap_gNB_nnsf.c
* \brief ngap NAS node selection functions
* \brief ngap NAS node selection functions
* \author
Sebastien ROUX <sebastien.roux@eurecom.fr>
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
12
* \date 20
20
* \version 0.1
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
*/
#include <stdio.h>
#include <stdio.h>
...
...
openair3/NGAP/ngap_gNB_nnsf.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_nnsf.h
* \brief ngap NAS node selection functions
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#ifndef NGAP_GNB_NNSF_H_
#ifndef NGAP_GNB_NNSF_H_
#define NGAP_GNB_NNSF_H_
#define NGAP_GNB_NNSF_H_
...
...
openair3/NGAP/ngap_gNB_overload.c
View file @
ad44cbdc
...
@@ -21,11 +21,13 @@
...
@@ -21,11 +21,13 @@
/*! \file ngap_gNB_overload.c
/*! \file ngap_gNB_overload.c
* \brief ngap procedures for overload messages within gNB
* \brief ngap procedures for overload messages within gNB
* \author
Sebastien ROUX <sebastien.roux@eurecom.fr>
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
12
* \date 20
20
* \version 0.1
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdint.h>
...
...
openair3/NGAP/ngap_gNB_overload.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_overload.h
* \brief ngap procedures for overload messages within gNB
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#ifndef NGAP_GNB_OVERLOAD_H_
#ifndef NGAP_GNB_OVERLOAD_H_
#define NGAP_GNB_OVERLOAD_H_
#define NGAP_GNB_OVERLOAD_H_
...
...
openair3/NGAP/ngap_gNB_trace.c
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_trace.c
* \brief ngap trace procedures for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#include <stdint.h>
#include <stdint.h>
#include "assertions.h"
#include "assertions.h"
...
...
openair3/NGAP/ngap_gNB_trace.h
View file @
ad44cbdc
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_trace.h
* \brief ngap trace procedures for gNB
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#ifndef NGAP_GNB_TRACE_H_
#ifndef NGAP_GNB_TRACE_H_
#define NGAP_GNB_TRACE_H_
#define NGAP_GNB_TRACE_H_
...
...
openair3/NGAP/ngap_gNB_ue_context.c
View file @
ad44cbdc
...
@@ -21,10 +21,11 @@
...
@@ -21,10 +21,11 @@
/*! \file ngap_gNB_ue_context.c
/*! \file ngap_gNB_ue_context.c
* \brief ngap UE context management within gNB
* \brief ngap UE context management within gNB
* \author
Sebastien ROUX <sebastien.roux@eurecom.fr>
* \author
Yoshio INOUE, Masayuki HARADA
* \date 20
12
* \date 20
20
* \version 0.1
* \version 0.1
*/
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
openair3/NGAP/ngap_gNB_ue_context.h
View file @
ad44cbdc
...
@@ -18,7 +18,15 @@
...
@@ -18,7 +18,15 @@
* For more information about the OpenAirInterface (OAI) Software Alliance:
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* contact@openairinterface.org
*/
*/
/*! \file ngap_gNB_ue_context.h
* \brief ngap UE context management within gNB
* \author Yoshio INOUE, Masayuki HARADA
* \date 2020
* \version 0.1
* \email: yoshio.inoue@fujitsu.com,masayuki.harada@fujitsu.com (yoshio.inoue%40fujitsu.com%2cmasayuki.harada%40fujitsu.com)
*/
#include "tree.h"
#include "tree.h"
#include "queue.h"
#include "queue.h"
...
...
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