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
c744b015
Commit
c744b015
authored
Mar 21, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ServingCellConfig from RRC Setup-related functions: is not needed
parent
5761b60c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
13 deletions
+8
-13
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+0
-2
openair2/RRC/NR/MESSAGES/asn1_msg.h
openair2/RRC/NR/MESSAGES/asn1_msg.h
+0
-2
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+8
-9
No files found.
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
c744b015
...
...
@@ -1187,8 +1187,6 @@ int do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP,
const
uint8_t
transaction_id
,
const
uint8_t
*
masterCellGroup
,
int
masterCellGroup_len
,
const
NR_ServingCellConfigCommon_t
*
scc
,
const
NR_ServingCellConfig_t
*
servingcellconfigdedicated
,
const
gNB_RrcConfigurationReq
*
configuration
)
//------------------------------------------------------------------------------
{
...
...
openair2/RRC/NR/MESSAGES/asn1_msg.h
View file @
c744b015
...
...
@@ -104,8 +104,6 @@ int do_RRCSetup(rrc_gNB_ue_context_t *const ue_context_pP,
const
uint8_t
transaction_id
,
const
uint8_t
*
masterCellGroup
,
int
masterCellGroup_len
,
const
NR_ServingCellConfigCommon_t
*
scc
,
const
NR_ServingCellConfig_t
*
servingcellconfigdedicated
,
const
gNB_RrcConfigurationReq
*
configuration
);
uint8_t
do_NR_SecurityModeCommand
(
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
c744b015
...
...
@@ -341,8 +341,7 @@ static void rrc_gNB_generate_RRCSetup(instance_t instance,
rnti_t
rnti
,
rrc_gNB_ue_context_t
*
const
ue_context_pP
,
const
uint8_t
*
masterCellGroup
,
int
masterCellGroup_len
,
NR_ServingCellConfigCommon_t
*
scc
)
int
masterCellGroup_len
)
//-----------------------------------------------------------------------------
{
LOG_I
(
NR_RRC
,
"rrc_gNB_generate_RRCSetup for RNTI %04x
\n
"
,
rnti
);
...
...
@@ -350,8 +349,7 @@ static void rrc_gNB_generate_RRCSetup(instance_t instance,
gNB_RRC_UE_t
*
ue_p
=
&
ue_context_pP
->
ue_context
;
gNB_RRC_INST
*
rrc
=
RC
.
nrrrc
[
instance
];
unsigned
char
buf
[
1024
];
const
NR_ServingCellConfig_t
*
sccd
=
rrc
->
configuration
.
scd
;
int
size
=
do_RRCSetup
(
ue_context_pP
,
buf
,
rrc_gNB_get_next_transaction_identifier
(
instance
),
masterCellGroup
,
masterCellGroup_len
,
scc
,
sccd
,
&
rrc
->
configuration
);
int
size
=
do_RRCSetup
(
ue_context_pP
,
buf
,
rrc_gNB_get_next_transaction_identifier
(
instance
),
masterCellGroup
,
masterCellGroup_len
,
&
rrc
->
configuration
);
AssertFatal
(
size
>
0
,
"do_RRCSetup failed
\n
"
);
AssertFatal
(
size
<=
1024
,
"memory corruption
\n
"
);
...
...
@@ -385,14 +383,12 @@ static void rrc_gNB_generate_RRCSetup_for_RRCReestablishmentRequest(module_id_t
LOG_I
(
NR_RRC
,
"generate RRCSetup for RRCReestablishmentRequest
\n
"
);
rrc_gNB_ue_context_t
*
ue_context_pP
=
NULL
;
gNB_RRC_INST
*
rrc_instance_p
=
RC
.
nrrrc
[
module_id
];
const
NR_ServingCellConfigCommon_t
*
scc
=
rrc_instance_p
->
carrier
.
servingcellconfigcommon
;
const
NR_ServingCellConfig_t
*
sccd
=
rrc_instance_p
->
configuration
.
scd
;
ue_context_pP
=
rrc_gNB_create_ue_context
(
rnti
,
rrc_instance_p
,
0
);
gNB_RRC_UE_t
*
ue_p
=
&
ue_context_pP
->
ue_context
;
unsigned
char
buf
[
1024
];
int
size
=
do_RRCSetup
(
ue_context_pP
,
buf
,
rrc_gNB_get_next_transaction_identifier
(
module_id
),
NULL
,
0
,
scc
,
sccd
,
&
rrc_instance_p
->
configuration
);
int
size
=
do_RRCSetup
(
ue_context_pP
,
buf
,
rrc_gNB_get_next_transaction_identifier
(
module_id
),
NULL
,
0
,
&
rrc_instance_p
->
configuration
);
AssertFatal
(
size
>
0
,
"do_RRCSetup failed
\n
"
);
AssertFatal
(
size
<=
1024
,
"memory corruption
\n
"
);
...
...
@@ -1730,8 +1726,11 @@ static int nr_rrc_gNB_decode_ccch(module_id_t module_id, rnti_t rnti, const uint
UE
=
&
ue_context_p
->
ue_context
;
UE
->
establishment_cause
=
rrcSetupRequest
->
establishmentCause
;
rrc_gNB_generate_RRCSetup
(
module_id
,
rnti
,
rrc_gNB_get_ue_context_by_rnti
(
gnb_rrc_inst
,
rnti
),
du_to_cu_rrc_container
,
du_to_cu_rrc_container_len
,
gnb_rrc_inst
->
carrier
.
servingcellconfigcommon
);
rrc_gNB_generate_RRCSetup
(
module_id
,
rnti
,
rrc_gNB_get_ue_context_by_rnti
(
gnb_rrc_inst
,
rnti
),
du_to_cu_rrc_container
,
du_to_cu_rrc_container_len
);
}
break
;
...
...
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