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
2ae8a7b3
Commit
2ae8a7b3
authored
Mar 11, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F1AP: CU UE Context Setup: create drb variables
parent
422d852b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
openair2/F1AP/f1ap_cu_ue_context_management.c
openair2/F1AP/f1ap_cu_ue_context_management.c
+4
-3
No files found.
openair2/F1AP/f1ap_cu_ue_context_management.c
View file @
2ae8a7b3
...
...
@@ -273,7 +273,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(sctp_assoc_t assoc_id, f1ap_ue_context_setu
ie12
->
value
.
present
=
F1AP_UEContextSetupRequestIEs__value_PR_DRBs_ToBeSetup_List
;
for
(
int
i
=
0
;
i
<
f1ap_ue_context_setup_req
->
drbs_to_be_setup_length
;
i
++
)
{
//
const
f1ap_drb_to_be_setup_t
*
drb
=
&
f1ap_ue_context_setup_req
->
drbs_to_be_setup
[
i
];
asn1cSequenceAdd
(
ie12
->
value
.
choice
.
DRBs_ToBeSetup_List
.
list
,
F1AP_DRBs_ToBeSetup_ItemIEs_t
,
drbs_toBeSetup_item_ies
);
drbs_toBeSetup_item_ies
->
id
=
F1AP_ProtocolIE_ID_id_DRBs_ToBeSetup_Item
;
drbs_toBeSetup_item_ies
->
criticality
=
F1AP_Criticality_reject
;
...
...
@@ -281,7 +281,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(sctp_assoc_t assoc_id, f1ap_ue_context_setu
/* 12.1 DRBs_ToBeSetup_Item */
F1AP_DRBs_ToBeSetup_Item_t
*
drbs_toBeSetup_item
=&
drbs_toBeSetup_item_ies
->
value
.
choice
.
DRBs_ToBeSetup_Item
;
/* 12.1.1 dRBID */
drbs_toBeSetup_item
->
dRBID
=
f1ap_ue_context_setup_req
->
drbs_to_be_setup
[
i
].
drb_id
;
// 9
drbs_toBeSetup_item
->
dRBID
=
drb
->
drb_id
;
/* 12.1.2 qoSInformation */
int
some_decide_qos
=
0
;
// BK: Need Check
...
...
@@ -1163,6 +1163,7 @@ int CU_send_UE_CONTEXT_MODIFICATION_REQUEST(sctp_assoc_t assoc_id, f1ap_ue_conte
ie12
->
value
.
present
=
F1AP_UEContextModificationRequestIEs__value_PR_DRBs_ToBeSetupMod_List
;
for
(
int
i
=
0
;
i
<
f1ap_ue_context_modification_req
->
drbs_to_be_setup_length
;
i
++
)
{
const
f1ap_drb_to_be_setup_t
*
drb
=
&
f1ap_ue_context_modification_req
->
drbs_to_be_setup
[
i
];
asn1cSequenceAdd
(
ie12
->
value
.
choice
.
DRBs_ToBeSetupMod_List
.
list
,
F1AP_DRBs_ToBeSetupMod_ItemIEs_t
,
drbs_toBeSetupMod_item_ies
);
drbs_toBeSetupMod_item_ies
->
id
=
F1AP_ProtocolIE_ID_id_DRBs_ToBeSetupMod_Item
;
...
...
@@ -1172,7 +1173,7 @@ int CU_send_UE_CONTEXT_MODIFICATION_REQUEST(sctp_assoc_t assoc_id, f1ap_ue_conte
F1AP_DRBs_ToBeSetupMod_Item_t
*
drbs_toBeSetupMod_item
=
&
drbs_toBeSetupMod_item_ies
->
value
.
choice
.
DRBs_ToBeSetupMod_Item
;
/* dRBID */
drbs_toBeSetupMod_item
->
dRBID
=
f1ap_ue_context_modification_req
->
drbs_to_be_setup
[
i
].
drb_id
;
drbs_toBeSetupMod_item
->
dRBID
=
drb
->
drb_id
;
/* qoSInformation */
if
(
f1ap_ue_context_modification_req
->
QoS_information_type
==
EUTRAN_QoS
){
...
...
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