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
b792c4ce
Commit
b792c4ce
authored
May 29, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F1AP Interface Management library: gNB-DU Configuration Update Acknowledge library
parent
e91d0911
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
openair2/F1AP/lib/f1ap_interface_management.c
openair2/F1AP/lib/f1ap_interface_management.c
+29
-0
openair2/F1AP/lib/f1ap_interface_management.h
openair2/F1AP/lib/f1ap_interface_management.h
+3
-0
No files found.
openair2/F1AP/lib/f1ap_interface_management.c
View file @
b792c4ce
...
@@ -1730,3 +1730,32 @@ F1AP_F1AP_PDU_t *encode_f1ap_cu_configuration_update_acknowledge(const f1ap_gnb_
...
@@ -1730,3 +1730,32 @@ F1AP_F1AP_PDU_t *encode_f1ap_cu_configuration_update_acknowledge(const f1ap_gnb_
ie
->
value
.
choice
.
TransactionID
=
msg
->
transaction_id
;
ie
->
value
.
choice
.
TransactionID
=
msg
->
transaction_id
;
return
pdu
;
return
pdu
;
}
}
/* ==================================
* F1AP gNB-DU Configuration Ack
* ================================== */
/**
* @brief F1 gNB-DU Configuration Update Acknowledge message encoding (9.2.1.8 of 3GPP TS 38.473)
*/
F1AP_F1AP_PDU_t
*
encode_f1ap_du_configuration_update_acknowledge
(
const
f1ap_gnb_du_configuration_update_acknowledge_t
*
msg
)
{
F1AP_F1AP_PDU_t
*
pdu
=
calloc
(
1
,
sizeof
(
*
pdu
));
AssertError
(
pdu
!=
NULL
,
return
NULL
,
"out of memory
\n
"
);
/* Create */
/* 0. Message */
pdu
->
present
=
F1AP_F1AP_PDU_PR_successfulOutcome
;
asn1cCalloc
(
pdu
->
choice
.
successfulOutcome
,
succOut
);
succOut
->
procedureCode
=
F1AP_ProcedureCode_id_gNBDUConfigurationUpdate
;
succOut
->
criticality
=
F1AP_Criticality_reject
;
succOut
->
value
.
present
=
F1AP_SuccessfulOutcome__value_PR_GNBDUConfigurationUpdateAcknowledge
;
F1AP_GNBDUConfigurationUpdateAcknowledge_t
*
ack
=
&
succOut
->
value
.
choice
.
GNBDUConfigurationUpdateAcknowledge
;
/* Mandatory */
/* Transaction Id */
asn1cSequenceAdd
(
ack
->
protocolIEs
.
list
,
F1AP_GNBDUConfigurationUpdateAcknowledgeIEs_t
,
ie1
);
ie1
->
id
=
F1AP_ProtocolIE_ID_id_TransactionID
;
ie1
->
criticality
=
F1AP_Criticality_reject
;
ie1
->
value
.
present
=
F1AP_GNBDUConfigurationUpdateAcknowledgeIEs__value_PR_TransactionID
;
ie1
->
value
.
choice
.
TransactionID
=
msg
->
transaction_id
;
return
pdu
;
}
\ No newline at end of file
openair2/F1AP/lib/f1ap_interface_management.h
View file @
b792c4ce
...
@@ -63,4 +63,7 @@ void free_f1ap_cu_configuration_update(f1ap_gnb_cu_configuration_update_t *msg);
...
@@ -63,4 +63,7 @@ void free_f1ap_cu_configuration_update(f1ap_gnb_cu_configuration_update_t *msg);
/* F1 gNB-CU Configuration Update Acknowledge */
/* F1 gNB-CU Configuration Update Acknowledge */
struct
F1AP_F1AP_PDU
*
encode_f1ap_cu_configuration_update_acknowledge
(
const
f1ap_gnb_cu_configuration_update_acknowledge_t
*
msg
);
struct
F1AP_F1AP_PDU
*
encode_f1ap_cu_configuration_update_acknowledge
(
const
f1ap_gnb_cu_configuration_update_acknowledge_t
*
msg
);
/* F1 gNB-DU Configuration Update Acknowledge */
struct
F1AP_F1AP_PDU
*
encode_f1ap_du_configuration_update_acknowledge
(
const
f1ap_gnb_du_configuration_update_acknowledge_t
*
msg
);
#endif
/* F1AP_INTERFACE_MANAGEMENT_H_ */
#endif
/* F1AP_INTERFACE_MANAGEMENT_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