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
6fca5680
Commit
6fca5680
authored
Jan 12, 2024
by
Guido Casati
Committed by
Robert Schmidt
Jan 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements to code comments
parent
45ca753b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
openair2/COMMON/e1ap_messages_def.h
openair2/COMMON/e1ap_messages_def.h
+7
-3
openair2/E1AP/e1ap.c
openair2/E1AP/e1ap.c
+4
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-2
openair2/RRC/NR/rrc_gNB_cuup.c
openair2/RRC/NR/rrc_gNB_cuup.c
+5
-0
No files found.
openair2/COMMON/e1ap_messages_def.h
View file @
6fca5680
...
...
@@ -33,12 +33,16 @@ MESSAGE_DEF(E1AP_SETUP_RESP , MESSAGE_PRIORITY_MED, e1ap_setup_resp_t , e1ap_set
/* E1AP Setup Failure: gNB-CU-CP -> gNB-CU-UP */
MESSAGE_DEF
(
E1AP_SETUP_FAIL
,
MESSAGE_PRIORITY_MED
,
e1ap_setup_fail_t
,
e1ap_setup_fail
)
/* E1AP Bearer Context Management Procedures */
/* E1AP Bearer Context Setup Request: gNB-CU-CP -> gNB-CU-UP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_SETUP_REQ
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_setup_req_t
,
e1ap_bearer_setup_req
)
/* E1AP Bearer Context Setup Response: gNB-CU-UP -> gNB-CU-CP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_SETUP_RESP
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_setup_resp_t
,
e1ap_bearer_setup_resp
)
/* E1AP Bearer Context Modification Request: gNB-CU-CP -> gNB-CU-UP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_MODIFICATION_REQ
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_setup_req_t
,
e1ap_bearer_mod_req
)
/* E1AP Bearer Context Modification Response: gNB-CU-UP -> gNB-CU-CP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_MODIFICATION_RESP
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_modif_resp_t
,
e1ap_bearer_modif_resp
)
/* E1AP Bearer Context Release Request: gNB-CU-CP -> gNB-CU-UP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_RELEASE_CMD
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_release_cmd_t
,
e1ap_bearer_release_cmd
)
/* E1AP Bearer Context Release Response: gNB-CU-UP -> gNB-CU-CP */
MESSAGE_DEF
(
E1AP_BEARER_CONTEXT_RELEASE_CPLT
,
MESSAGE_PRIORITY_MED
,
e1ap_bearer_release_cplt_t
,
e1ap_bearer_release_cplt
)
openair2/E1AP/e1ap.c
View file @
6fca5680
...
...
@@ -36,6 +36,10 @@
#define E1AP_NUM_MSG_HANDLERS 14
typedef
int
(
*
e1ap_message_processing_t
)(
sctp_assoc_t
assoc_id
,
e1ap_upcp_inst_t
*
inst
,
const
E1AP_E1AP_PDU_t
*
message_p
);
/**
* @brief E1AP messages handlers
*/
const
e1ap_message_processing_t
e1ap_message_processing
[
E1AP_NUM_MSG_HANDLERS
][
3
]
=
{
{
0
,
0
,
0
},
/* Reset */
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
6fca5680
...
...
@@ -2066,7 +2066,7 @@ static pdusession_level_qos_parameter_t *get_qos_characteristics(const int qfi,
}
/**
* @brief E1AP Bearer Context Setup Response processing
* @brief E1AP Bearer Context Setup Response processing
on CU-CP
*/
void
rrc_gNB_process_e1_bearer_context_setup_resp
(
e1ap_bearer_setup_resp_t
*
resp
,
instance_t
instance
)
{
...
...
@@ -2176,7 +2176,7 @@ void rrc_gNB_process_e1_bearer_context_setup_resp(e1ap_bearer_setup_resp_t *resp
}
/**
* @brief E1AP Bearer Context Modification Response processing
* @brief E1AP Bearer Context Modification Response processing
on CU-CP
*/
void
rrc_gNB_process_e1_bearer_context_modif_resp
(
const
e1ap_bearer_modif_resp_t
*
resp
)
{
...
...
openair2/RRC/NR/rrc_gNB_cuup.c
View file @
6fca5680
...
...
@@ -122,6 +122,11 @@ sctp_assoc_t get_new_cuup_for_ue(const gNB_RRC_INST *rrc, const gNB_RRC_UE_t *ue
return
ue_data
.
e1_assoc_id
;
}
/* CU-CP Functions */
/**
* @brief Trigger E1AP Setup Failure on CU-CP
*/
static
void
e1ap_setup_failure
(
sctp_assoc_t
assoc_id
,
uint64_t
transac_id
)
{
MessageDef
*
msg_p
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
E1AP_SETUP_FAIL
);
...
...
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