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
d1b1b9e4
Commit
d1b1b9e4
authored
Aug 11, 2022
by
Angelo Athanassopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multiple DRBs - gNB app - extra drb establishment from configuration file
parent
abfa3859
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+1
-0
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+2
-0
openair2/GNB_APP/gnb_paramdef.h
openair2/GNB_APP/gnb_paramdef.h
+4
-0
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
d1b1b9e4
...
...
@@ -427,6 +427,7 @@ typedef struct NRRrcConfigurationReq_s {
int
pusch_TargetSNRx10
;
int
pucch_TargetSNRx10
;
bool
enable_sdap
;
int
drbs
;
}
gNB_RrcConfigurationReq
;
typedef
struct
NRDuDlReq_s
{
...
...
openair2/GNB_APP/gnb_config.c
View file @
d1b1b9e4
...
...
@@ -1250,6 +1250,8 @@ void RCconfig_NRRRC(MessageDef *msg_p, uint32_t i, gNB_RRC_INST *rrc) {
NRRRC_CONFIGURATION_REQ
(
msg_p
).
scd
=
scd
;
NRRRC_CONFIGURATION_REQ
(
msg_p
).
enable_sdap
=
*
GNBParamList
.
paramarray
[
i
][
GNB_ENABLE_SDAP_IDX
].
iptr
;
LOG_I
(
GNB_APP
,
"SDAP layer is %s
\n
"
,
NRRRC_CONFIGURATION_REQ
(
msg_p
).
enable_sdap
?
"enabled"
:
"disabled"
);
NRRRC_CONFIGURATION_REQ
(
msg_p
).
drbs
=
*
GNBParamList
.
paramarray
[
i
][
GNB_DRBS
].
iptr
;
LOG_I
(
GNB_APP
,
"Data Radio Bearer count %d
\n
"
,
NRRRC_CONFIGURATION_REQ
(
msg_p
).
drbs
);
}
//
}
//End for (k=0; k <num_gnbs ; k++)
...
...
openair2/GNB_APP/gnb_paramdef.h
View file @
d1b1b9e4
...
...
@@ -128,6 +128,8 @@ typedef enum {
#define GNB_CONFIG_STRING_ENABLE_SDAP "enable_sdap"
#define GNB_CONFIG_HLP_STRING_ENABLE_SDAP "enable the SDAP layer\n"
#define GNB_CONFIG_HLP_FORCE256QAMOFF "suppress activation of 256 QAM despite UE support"
#define GNB_CONFIG_STRING_DRBS "drbs"
#define GNB_CONFIG_HLP_STRING_DRBS "Number of total DRBs to establish, including the mandatory for PDU SEssion (default=1)\n"
/*-----------------------------------------------------------------------------------------------------------------------------------------*/
/* cell configuration parameters */
...
...
@@ -161,6 +163,7 @@ typedef enum {
{GNB_CONFIG_STRING_UMONDEFAULTDRB, NULL, 0, uptr:NULL, defuintval:0, TYPE_UINT, 0}, \
{GNB_CONFIG_STRING_FORCE256QAMOFF, GNB_CONFIG_HLP_FORCE256QAMOFF, PARAMFLAG_BOOL, iptr:NULL, defintval:0, TYPE_INT, 0}, \
{GNB_CONFIG_STRING_ENABLE_SDAP, GNB_CONFIG_HLP_STRING_ENABLE_SDAP, PARAMFLAG_BOOL, iptr:NULL, defintval:0, TYPE_INT, 0}, \
{GNB_CONFIG_STRING_DRBS, GNB_CONFIG_HLP_STRING_DRBS, 0, iptr:NULL, defintval:1, TYPE_INT, 0}, \
}
#define GNB_GNB_ID_IDX 0
...
...
@@ -190,6 +193,7 @@ typedef enum {
#define GNB_UMONDEFAULTDRB_IDX 24
#define GNB_FORCE256QAMOFF_IDX 25
#define GNB_ENABLE_SDAP_IDX 26
#define GNB_DRBS 27
#define TRACKING_AREA_CODE_OKRANGE {0x0001,0xFFFD}
#define GNBPARAMS_CHECK { \
...
...
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