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
28b1e9d3
Commit
28b1e9d3
authored
Aug 19, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR RRC - Created function to check if DRB is active for a UE
parent
0fd71f09
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
openair2/RRC/NR/rrc_gNB_drbs.c
openair2/RRC/NR/rrc_gNB_drbs.c
+6
-0
openair2/RRC/NR/rrc_gNB_drbs.h
openair2/RRC/NR/rrc_gNB_drbs.h
+1
-0
No files found.
openair2/RRC/NR/rrc_gNB_drbs.c
View file @
28b1e9d3
...
@@ -114,3 +114,9 @@ uint8_t next_available_drb(gNB_RRC_UE_t *ue, uint8_t pdusession_id) {
...
@@ -114,3 +114,9 @@ uint8_t next_available_drb(gNB_RRC_UE_t *ue, uint8_t pdusession_id) {
LOG_E
(
RRC
,
"Error - All the DRBs are used - Handle this
\n
"
);
LOG_E
(
RRC
,
"Error - All the DRBs are used - Handle this
\n
"
);
return
DRB_INACTIVE
;
return
DRB_INACTIVE
;
}
}
bool
drb_is_active
(
gNB_RRC_UE_t
*
ue
,
uint8_t
drb_id
)
{
if
(
ue
->
DRB_active
[
drb_id
-
1
]
==
DRB_ACTIVE
)
return
true
;
return
false
;
}
\ No newline at end of file
openair2/RRC/NR/rrc_gNB_drbs.h
View file @
28b1e9d3
...
@@ -39,5 +39,6 @@ NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue,
...
@@ -39,5 +39,6 @@ NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue,
int
do_drb_ciphering
);
int
do_drb_ciphering
);
uint8_t
next_available_drb
(
gNB_RRC_UE_t
*
ue
,
uint8_t
pdusession_id
);
uint8_t
next_available_drb
(
gNB_RRC_UE_t
*
ue
,
uint8_t
pdusession_id
);
bool
drb_is_active
(
gNB_RRC_UE_t
*
ue
,
uint8_t
drb_id
);
#endif
#endif
\ No newline at end of file
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