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
lizhongxiao
OpenXG-RAN
Commits
2005432a
Commit
2005432a
authored
Feb 14, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle GTP tunnels and release PDCP
parent
8a329c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+6
-1
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
2005432a
...
...
@@ -2655,6 +2655,7 @@ static pdu_session_to_setup_t fill_pdu_session(const rrc_pdu_session_param_t *se
return
pdu
;
}
extern
instance_t
get_f1_gtp_instance
(
void
);
void
rrc_gNB_trigger_new_bearer
(
int
rnti
)
{
/* get RRC and UE */
...
...
@@ -2716,7 +2717,6 @@ void rrc_gNB_trigger_new_bearer(int rnti)
int_key
);
/* initialize F1 GTP, if necessary */
extern
instance_t
get_f1_gtp_instance
(
void
);
instance_t
f1inst
=
get_f1_gtp_instance
();
uint8_t
tlAddress
[
4
]
=
{
0
};
long
teid
=
0
;
...
...
@@ -2810,6 +2810,11 @@ void rrc_gNB_trigger_release_bearer(int rnti)
*
asn1_drb
=
drb_id
;
asn1cSeqAdd
(
&
ue
->
DRB_ReleaseList
->
list
,
asn1_drb
);
instance_t
f1inst
=
get_f1_gtp_instance
();
if
(
f1inst
>=
0
)
newGtpuDeleteOneTunnel
(
f1inst
,
ue
->
rrc_ue_id
,
drb_id
);
nr_pdcp_release_drb
(
ue
->
rrc_ue_id
,
drb_id
);
f1ap_drb_to_be_released_t
drbs_to_be_released
[
1
]
=
{{.
rb_id
=
drb_id
}};
f1_ue_data_t
ue_data
=
cu_get_f1_ue_data
(
ue
->
rrc_ue_id
);
RETURN_IF_INVALID_ASSOC_ID
(
ue_data
);
...
...
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