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
Michael Black
OpenXG-RAN
Commits
ae9764f9
Commit
ae9764f9
authored
Aug 18, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR RRC - Changed for max DRBs per UE in next_available_drb function
parent
29e17e3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/RRC/NR/rrc_gNB_drbs.c
openair2/RRC/NR/rrc_gNB_drbs.c
+1
-1
No files found.
openair2/RRC/NR/rrc_gNB_drbs.c
View file @
ae9764f9
...
@@ -116,7 +116,7 @@ uint8_t next_available_drb(gNB_RRC_UE_t *rrc_ue, rnti_t rnti, uint8_t pdusession
...
@@ -116,7 +116,7 @@ uint8_t next_available_drb(gNB_RRC_UE_t *rrc_ue, rnti_t rnti, uint8_t pdusession
ue
=
nr_ue_new
(
rnti
);
ue
=
nr_ue_new
(
rnti
);
uint8_t
drb_id
;
uint8_t
drb_id
;
for
(
drb_id
=
0
;
drb_id
<
MAX_DRBS_PER_UE
;
drb_id
++
)
{
for
(
drb_id
=
0
;
drb_id
<
NGAP_
MAX_DRBS_PER_UE
;
drb_id
++
)
{
if
(
ue
->
used_drbs
[
drb_id
]
==
DRB_INACTIVE
&&
ue
->
pdus
->
drbs_established
<
MAX_DRBS_PER_PDUSESSION
)
{
if
(
ue
->
used_drbs
[
drb_id
]
==
DRB_INACTIVE
&&
ue
->
pdus
->
drbs_established
<
MAX_DRBS_PER_PDUSESSION
)
{
ue
->
pdus
->
pdu_drbs
[
ue
->
pdus
->
drbs_established
]
=
drb_id
;
/* Store drb_id to pdusession */
ue
->
pdus
->
pdu_drbs
[
ue
->
pdus
->
drbs_established
]
=
drb_id
;
/* Store drb_id to pdusession */
ue
->
used_drbs
[
drb_id
]
=
pdusession_id
;
/* Store the pdusession id that is using that drb */
ue
->
used_drbs
[
drb_id
]
=
pdusession_id
;
/* Store the pdusession id that is using that drb */
...
...
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