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
spbro
OpenXG-RAN
Commits
1ba3b13a
Commit
1ba3b13a
authored
Mar 06, 2023
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove ngap enum generated by ans1c
parent
c4538995
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
70 additions
and
77 deletions
+70
-77
CMakeLists.txt
CMakeLists.txt
+61
-61
common/utils/telnetsrv/CMakeLists.txt
common/utils/telnetsrv/CMakeLists.txt
+3
-3
openair2/COMMON/ngap_messages_types.h
openair2/COMMON/ngap_messages_types.h
+2
-4
openair2/RRC/NR/nr_rrc_defs.h
openair2/RRC/NR/nr_rrc_defs.h
+1
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-5
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+1
-2
openair2/RRC/NR/rrc_gNB_NGAP.h
openair2/RRC/NR/rrc_gNB_NGAP.h
+1
-1
No files found.
CMakeLists.txt
View file @
1ba3b13a
This diff is collapsed.
Click to expand it.
common/utils/telnetsrv/CMakeLists.txt
View file @
1ba3b13a
...
...
@@ -35,7 +35,7 @@ add_library(telnetsrv MODULE
telnetsrv_measurements.c
)
target_link_libraries
(
telnetsrv PRIVATE history
)
target_link_libraries
(
telnetsrv PRIVATE asn1_nr_rrc asn1_lte_rrc
asn1_ngap
)
target_link_libraries
(
telnetsrv PRIVATE asn1_nr_rrc asn1_lte_rrc
)
message
(
STATUS
"Add enb specific telnet functions in libtelnetsrv_enb.so"
)
add_library
(
telnetsrv_enb MODULE
...
...
@@ -43,7 +43,7 @@ add_library(telnetsrv_enb MODULE
telnetsrv_enb_phycmd.c
)
add_dependencies
(
telnetsrv telnetsrv_enb
)
target_link_libraries
(
telnetsrv_enb PRIVATE asn1_nr_rrc asn1_lte_rrc
asn1_ngap
)
target_link_libraries
(
telnetsrv_enb PRIVATE asn1_nr_rrc asn1_lte_rrc
)
message
(
STATUS
"No specific telnet functions for gnb"
)
...
...
@@ -52,7 +52,7 @@ message(STATUS "No specific telnet functions for 4Gue")
message
(
STATUS
"Add 5Gue specific telnet functions in libtelnetsrv_5Gue.so"
)
add_library
(
telnetsrv_5Gue MODULE telnetsrv_5Gue_measurements.c
)
add_dependencies
(
telnetsrv telnetsrv_5Gue
)
target_link_libraries
(
telnetsrv_5Gue PRIVATE asn1_nr_rrc asn1_lte_rrc
asn1_ngap
)
target_link_libraries
(
telnetsrv_5Gue PRIVATE asn1_nr_rrc asn1_lte_rrc
)
# all libraries should be written to root build dir
set_target_properties
(
telnetsrv telnetsrv_enb telnetsrv_5Gue
...
...
openair2/COMMON/ngap_messages_types.h
View file @
1ba3b13a
...
...
@@ -31,7 +31,6 @@
#define NGAP_MESSAGES_TYPES_H_
#include "common/ngran_types.h"
#include "LTE_asn_constant.h"
#include "NGAP_Cause.h"
//-------------------------------------------------------------------------------------------//
// Defines to access message fields.
...
...
@@ -410,8 +409,7 @@ typedef struct pdusession_failed_s {
/* Unique pdusession_id for the UE. */
uint8_t
pdusession_id
;
/* Cause of the failure */
// cause_t cause;
NGAP_Cause_PR
cause
;
ngap_Cause_t
cause
;
uint8_t
cause_value
;
}
pdusession_failed_t
;
...
...
@@ -788,7 +786,7 @@ typedef struct ngap_ue_release_req_s {
uint8_t
nb_of_pdusessions
;
/* list of pdusession resource by RRC layers */
pdusession_release_t
pdusessions
[
NGAP_MAX_PDUSESSION
];
NGAP_Cause_PR
cause
;
ngap_Cause_t
cause
;
long
cause_value
;
}
ngap_ue_release_req_t
,
ngap_ue_release_resp_t
;
...
...
openair2/RRC/NR/nr_rrc_defs.h
View file @
1ba3b13a
...
...
@@ -267,7 +267,7 @@ typedef struct pdu_session_param_s {
pdusession_t
param
;
uint8_t
status
;
uint8_t
xid
;
// transaction_id
NGAP_Cause_PR
cause
;
ngap_Cause_t
cause
;
uint8_t
cause_value
;
}
rrc_pdu_session_param_t
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
1ba3b13a
...
...
@@ -524,16 +524,12 @@ static void rrc_gNB_process_RRCSetupComplete(const protocol_ctxt_t *const ctxt_p
static
void
rrc_gNB_generate_defaultRRCReconfiguration
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
rrc_gNB_ue_context_t
*
ue_context_pP
)
//-----------------------------------------------------------------------------
{
struct
NR_RRCReconfiguration_v1530_IEs__dedicatedNAS_MessageList
*
dedicatedNAS_MessageList
=
NULL
;
NR_DedicatedNAS_Message_t
*
dedicatedNAS_Message
=
NULL
;
uint8_t
xid
=
rrc_gNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
);
/******************** Radio Bearer Config ********************/
gNB_RRC_UE_t
*
ue_p
=
&
ue_context_pP
->
ue_context
;
dedicatedNAS_MessageList
=
CALLOC
(
1
,
sizeof
(
struct
NR_RRCReconfiguration_v1530_IEs__
dedicatedNAS_MessageList
));
struct
NR_RRCReconfiguration_v1530_IEs__dedicatedNAS_MessageList
*
dedicatedNAS_MessageList
=
CALLOC
(
1
,
sizeof
(
*
dedicatedNAS_MessageList
));
/* Add all NAS PDUs to the list */
for
(
int
i
=
0
;
i
<
ue_p
->
nb_of_pdusessions
;
i
++
)
{
...
...
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
1ba3b13a
...
...
@@ -54,7 +54,6 @@
#include "RRC/NR/MESSAGES/asn1_msg.h"
#include "NR_UERadioAccessCapabilityInformation.h"
#include "NR_UE-CapabilityRAT-ContainerList.h"
#include "NGAP_Cause.h"
#include "NGAP_CauseRadioNetwork.h"
#include "f1ap_messages_types.h"
#include "openair2/E1AP/e1ap_asnc.h"
...
...
@@ -1105,7 +1104,7 @@ rrc_gNB_send_NGAP_PDUSESSION_MODIFY_RESP(
}
//------------------------------------------------------------------------------
void
rrc_gNB_send_NGAP_UE_CONTEXT_RELEASE_REQ
(
const
module_id_t
gnb_mod_idP
,
const
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
const
NGAP_Cause_PR
causeP
,
const
long
cause_valueP
)
void
rrc_gNB_send_NGAP_UE_CONTEXT_RELEASE_REQ
(
const
module_id_t
gnb_mod_idP
,
const
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
const
ngap_Cause_t
causeP
,
const
long
cause_valueP
)
//------------------------------------------------------------------------------
{
if
(
ue_context_pP
==
NULL
)
{
...
...
openair2/RRC/NR/rrc_gNB_NGAP.h
View file @
1ba3b13a
...
...
@@ -88,7 +88,7 @@ rrc_gNB_modify_dedicatedRRCReconfiguration(
rrc_gNB_ue_context_t
*
ue_context_pP
);
void
rrc_gNB_send_NGAP_UE_CONTEXT_RELEASE_REQ
(
const
module_id_t
gnb_mod_idP
,
const
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
const
NGAP_Cause_PR
causeP
,
const
long
cause_valueP
);
void
rrc_gNB_send_NGAP_UE_CONTEXT_RELEASE_REQ
(
const
module_id_t
gnb_mod_idP
,
const
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
const
ngap_Cause_t
causeP
,
const
long
cause_valueP
);
int
rrc_gNB_process_NGAP_UE_CONTEXT_RELEASE_REQ
(
MessageDef
*
msg_p
,
instance_t
instance
);
...
...
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