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
3b11764d
Commit
3b11764d
authored
Aug 28, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor comments
parent
07da84ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
openair2/COMMON/f1ap_messages_types.h
openair2/COMMON/f1ap_messages_types.h
+1
-2
openair2/F1AP/f1ap_du_rrc_message_transfer.c
openair2/F1AP/f1ap_du_rrc_message_transfer.c
+3
-1
No files found.
openair2/COMMON/f1ap_messages_types.h
View file @
3b11764d
...
...
@@ -292,8 +292,7 @@ typedef struct f1ap_gnb_du_configuration_update_s {
f1ap_plmn_t
plmn
;
uint64_t
nr_cellid
;
// NR Global Cell Id
}
cell_to_delete
[
F1AP_MAX_NB_CELLS
];
/// string holding gNB_CU_name
/// gNB-DU unique ID, at least within a gNB-CU (0 .. 2^36 - 1)
uint64_t
*
gNB_DU_ID
;
}
f1ap_gnb_du_configuration_update_t
;
...
...
openair2/F1AP/f1ap_du_rrc_message_transfer.c
View file @
3b11764d
...
...
@@ -74,6 +74,7 @@ int DU_handle_DL_RRC_MESSAGE_TRANSFER(instance_t instance, sctp_assoc_t assoc_id
/* UL RRC Message Transfer */
int
DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER
(
sctp_assoc_t
assoc_id
,
const
f1ap_initial_ul_rrc_message_t
*
msg
)
{
/* encode Initial UL RRC Message Transfer */
F1AP_F1AP_PDU_t
*
pdu
=
encode_initial_ul_rrc_message_transfer
(
msg
);
/* free F1AP message after encoding */
free_initial_ul_rrc_message_transfer
(
msg
);
...
...
@@ -84,7 +85,7 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(sctp_assoc_t assoc_id, const f1ap_in
return
-
1
;
}
/* encode */
/* encode
F1AP PDU
*/
uint8_t
*
buffer
=
NULL
;
uint32_t
len
=
0
;
if
(
f1ap_encode_pdu
(
pdu
,
&
buffer
,
&
len
)
<
0
)
{
...
...
@@ -94,6 +95,7 @@ int DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER(sctp_assoc_t assoc_id, const f1ap_in
}
ASN_STRUCT_FREE
(
asn_DEF_F1AP_F1AP_PDU
,
pdu
);
/* Send to ITTI */
f1ap_itti_send_sctp_data_req
(
assoc_id
,
buffer
,
len
);
return
0
;
}
...
...
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