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
canghaiwuhen
OpenXG-RAN
Commits
afeb5754
Commit
afeb5754
authored
May 16, 2018
by
Calvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push EN-DC RRC configuration initizalization
parent
fa42fa81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
1 deletion
+62
-1
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+56
-0
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+6
-1
No files found.
openair2/RRC/LITE/rrc_UE.c
View file @
afeb5754
...
@@ -1939,6 +1939,62 @@ rrc_ue_process_rrcConnectionReconfiguration(
...
@@ -1939,6 +1939,62 @@ rrc_ue_process_rrcConnectionReconfiguration(
LOG_I
(
RRC
,
"Radio Resource Configuration is present
\n
"
);
LOG_I
(
RRC
,
"Radio Resource Configuration is present
\n
"
);
rrc_ue_process_radioResourceConfigDedicated
(
ctxt_pP
,
eNB_index
,
rrcConnectionReconfiguration_r8
->
radioResourceConfigDedicated
);
rrc_ue_process_radioResourceConfigDedicated
(
ctxt_pP
,
eNB_index
,
rrcConnectionReconfiguration_r8
->
radioResourceConfigDedicated
);
}
}
void
*
non_criticical_ext_iterator
=
rrcConnectionReconfiguration_r8
;
RCCConnectionReconfiguration_v1510_IEs_t
*
rrc_connection_reconfiguration_v1510_IEs
=
(
RRCConnectionReconfiguration_v1510_IEs_t
*
)
0
;
// fetch EN-DC for NR_RRC here
// r8
if
(
((
RRCConnectionReconfiguration_r8_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v890_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_r8_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v89
if
(
((
RRCConnectionReconfiguration_v890_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v920_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v890_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v92
if
(
((
RRCConnectionReconfiguration_v920_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1020_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v920_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v1020
if
(
((
RRCConnectionReconfiguration_v1020_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1130_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v1020_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v1130
if
(
((
RRCConnectionReconfiguration_v1130_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1250_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v1130_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v1250
if
(
((
RRCConnectionReconfiguration_v1250_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1310_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v1250_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v1310
if
(
((
RRCConnectionReconfiguration_v1310_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1430_IEs_t
*
)
0
){
non_criticical_ext_iterator
=
((
RRCConnectionReconfiguration_v1310_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
// v1430
if
(
((
RRCConnectionReconfiguration_v1430_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
!=
(
RRCConnectionReconfiguration_v1510_IEs_t
*
)
0
){
rrc_connection_reconfiguration_v1510_IEs
=
((
RRCConnectionReconfiguration_v1430_IEs_t
*
)
non_criticical_ext_iterator
)
->
nonCriticalExtension
;
}
if
(
rrc_connection_reconfiguration_v1510_IEs
!=
(
RRCConnectionReconfiguration_v1510_IEs_t
*
)
0
){
// make sure v1510 is presented.
if
(
rrc_connection_reconfiguration_v1510_IEs
->
nr_Config_r15
!=
(
struct
nr_Config_r15
*
)
0
){
switch
(
rrc_connection_reconfiguration_v1510_IEs
->
nr_Config_r15
.
present
){
case
nr_Config_r15_PR_setup
:
// process NR sCell config
if
(
rrc_connection_reconfiguration_v1510_IEs
->
nr_Config_r15
.
choice
.
setup
->
nr_SecondaryCellGroupConfig_r15
!=
(
OCTET_STRING_t
*
)
0
){
nr_rrc_ue_decode_rrcReconfiguration
(
rrc_connection_reconfiguration_v1510_IEs
->
nr_Config_r15
.
choice
.
setup
->
nr_SecondaryCellGroupConfig_r15
->
buffer
,
rrc_connection_reconfiguration_v1510_IEs
->
nr_Config_r15
.
choice
.
setup
->
nr_SecondaryCellGroupConfig_r15
.
size
);
}
break
;
case
nr_Config_r15_PR_release
:
case
nr_Config_r15_PR_NOTHING
:
default:
break
;
}
}
}
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
...
...
targets/RT/USER/lte-ue.c
View file @
afeb5754
...
@@ -213,7 +213,12 @@ void init_UE(int nb_inst,int eMBMS_active, int uecap_xer_in, int timing_correcti
...
@@ -213,7 +213,12 @@ void init_UE(int nb_inst,int eMBMS_active, int uecap_xer_in, int timing_correcti
l2_init_ue
(
eMBMS_active
,(
uecap_xer_in
==
1
)
?
uecap_xer
:
NULL
,
l2_init_ue
(
eMBMS_active
,(
uecap_xer_in
==
1
)
?
uecap_xer
:
NULL
,
0
,
// cba_group_active
0
,
// cba_group_active
0
);
// HO flag
0
);
// HO flag
#ifdef NR
// nr_l2_init_ue();
// nr_l3_init_ue();
#endif
for
(
inst
=
0
;
inst
<
nb_inst
;
inst
++
)
{
for
(
inst
=
0
;
inst
<
nb_inst
;
inst
++
)
{
LOG_I
(
PHY
,
"Initializing memory for UE instance %d (%p)
\n
"
,
inst
,
PHY_vars_UE_g
[
inst
]);
LOG_I
(
PHY
,
"Initializing memory for UE instance %d (%p)
\n
"
,
inst
,
PHY_vars_UE_g
[
inst
]);
...
...
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