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
0fd71f09
Commit
0fd71f09
authored
Aug 19, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR RRC - Moved next_available_drb function outside generateDRB
parent
240d45b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+2
-0
openair2/RRC/NR/rrc_gNB_drbs.c
openair2/RRC/NR/rrc_gNB_drbs.c
+1
-1
openair2/RRC/NR/rrc_gNB_drbs.h
openair2/RRC/NR/rrc_gNB_drbs.h
+1
-0
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
0fd71f09
...
...
@@ -826,7 +826,9 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
for
(
long
drb_id_add
=
1
;
drb_id_add
<=
nb_drb_to_setup
;
drb_id_add
++
){
if
(
drb_id_add
>
MAX_DRBS_PER_PDUSESSION
)
break
;
uint8_t
drb_id
=
next_available_drb
(
ue_p
,
ue_context_pP
->
ue_context
.
pduSession
[
i
].
param
.
pdusession_id
);
NR_DRB_ToAddMod_t
*
DRB_config
=
generateDRB
(
ue_p
,
drb_id
,
&
ue_context_pP
->
ue_context
.
pduSession
[
i
],
rrc
->
configuration
.
enable_sdap
,
rrc
->
security
.
do_drb_integrity
,
...
...
openair2/RRC/NR/rrc_gNB_drbs.c
View file @
0fd71f09
...
...
@@ -22,11 +22,11 @@
#include "rrc_gNB_drbs.h"
NR_DRB_ToAddMod_t
*
generateDRB
(
gNB_RRC_UE_t
*
ue
,
uint8_t
drb_id
,
const
pdu_session_param_t
*
pduSession
,
bool
enable_sdap
,
int
do_drb_integrity
,
int
do_drb_ciphering
)
{
uint8_t
drb_id
=
next_available_drb
(
ue
,
pduSession
->
param
.
pdusession_id
);
NR_DRB_ToAddMod_t
*
DRB_config
=
NULL
;
NR_SDAP_Config_t
*
SDAP_config
=
NULL
;
...
...
openair2/RRC/NR/rrc_gNB_drbs.h
View file @
0fd71f09
...
...
@@ -32,6 +32,7 @@
#define DRB_INACTIVE (0)
NR_DRB_ToAddMod_t
*
generateDRB
(
gNB_RRC_UE_t
*
rrc_ue
,
uint8_t
drb_id
,
const
pdu_session_param_t
*
pduSession
,
bool
enable_sdap
,
int
do_drb_integrity
,
...
...
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