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
a03ef2bf
Commit
a03ef2bf
authored
Jul 05, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/hotfix-measurement-report' into develop_integration_2019_w27
parents
3f2acf94
e0eac2e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+28
-0
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
a03ef2bf
...
@@ -1907,8 +1907,15 @@ rrc_eNB_process_RRCConnectionReestablishmentComplete(
...
@@ -1907,8 +1907,15 @@ rrc_eNB_process_RRCConnectionReestablishmentComplete(
ReportConfig_A5
->
reportConfig
.
choice
.
reportConfigEUTRA
.
reportAmount
=
LTE_ReportConfigEUTRA__reportAmount_infinity
;
ReportConfig_A5
->
reportConfig
.
choice
.
reportConfigEUTRA
.
reportAmount
=
LTE_ReportConfigEUTRA__reportAmount_infinity
;
ASN_SEQUENCE_ADD
(
&
ReportConfig_list
->
list
,
ReportConfig_A5
);
ASN_SEQUENCE_ADD
(
&
ReportConfig_list
->
list
,
ReportConfig_A5
);
// LTE_RRCConnectionReconfiguration->criticalExtensions.choice.c1.choice.rrcConnectionReconfiguration_r8.measConfig->reportConfigToAddModList = ReportConfig_list;
// LTE_RRCConnectionReconfiguration->criticalExtensions.choice.c1.choice.rrcConnectionReconfiguration_r8.measConfig->reportConfigToAddModList = ReportConfig_list;
#if 0
/* TODO: set a proper value.
* 20 means: UE does not report if RSRP of serving cell is higher
* than -120 dB (see 36.331 5.5.3.1).
* This is too low for the X2 handover experiment.
*/
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
*rsrp = 20;
*rsrp = 20;
#endif
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
...
@@ -3461,8 +3468,15 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
...
@@ -3461,8 +3468,15 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
timeToTrigger
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
triggerType
.
choice
.
event
.
timeToTrigger
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
timeToTrigger
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
triggerType
.
choice
.
event
.
timeToTrigger
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
maxReportCells
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
maxReportCells
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
maxReportCells
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
maxReportCells
;
#if 0
/* TODO: set a proper value.
* 20 means: UE does not report if RSRP of serving cell is higher
* than -120 dB (see 36.331 5.5.3.1).
* This is too low for the X2 handover experiment.
*/
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
*rsrp = 20;
*rsrp = 20;
#endif
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
...
@@ -4178,8 +4192,15 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
...
@@ -4178,8 +4192,15 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
ASN_SEQUENCE_ADD
(
&
ReportConfig_list
->
list
,
ReportConfig_A5
);
ASN_SEQUENCE_ADD
(
&
ReportConfig_list
->
list
,
ReportConfig_A5
);
// LTE_RRCConnectionReconfiguration->criticalExtensions.choice.c1.choice.rrcConnectionReconfiguration_r8.measConfig->reportConfigToAddModList = ReportConfig_list;
// LTE_RRCConnectionReconfiguration->criticalExtensions.choice.c1.choice.rrcConnectionReconfiguration_r8.measConfig->reportConfigToAddModList = ReportConfig_list;
#if 0
/* TODO: set a proper value.
* 20 means: UE does not report if RSRP of serving cell is higher
* than -120 dB (see 36.331 5.5.3.1).
* This is too low for the X2 handover experiment.
*/
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
rsrp = CALLOC(1, sizeof(LTE_RSRP_Range_t));
*rsrp = 20;
*rsrp = 20;
#endif
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
...
@@ -5803,8 +5824,15 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
...
@@ -5803,8 +5824,15 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
timeToTrigger
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
triggerType
.
choice
.
event
.
timeToTrigger
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
timeToTrigger
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
triggerType
.
choice
.
event
.
timeToTrigger
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
maxReportCells
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
maxReportCells
;
ue_context_pP
->
ue_context
.
measurement_info
->
events
->
a3_event
->
maxReportCells
=
ReportConfig_A3
->
reportConfig
.
choice
.
reportConfigEUTRA
.
maxReportCells
;
#if 0
/* TODO: set a proper value.
* 20 means: UE does not report if RSRP of serving cell is higher
* than -120 dB (see 36.331 5.5.3.1).
* This is too low for the X2 handover experiment.
*/
rsrp = CALLOC(1, sizeof(RSRP_Range_t));
rsrp = CALLOC(1, sizeof(RSRP_Range_t));
*rsrp = 20;
*rsrp = 20;
#endif
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
=
CALLOC
(
1
,
sizeof
(
*
Sparams
));
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
present
=
LTE_MeasConfig__speedStatePars_PR_setup
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
Sparams
->
choice
.
setup
.
timeToTrigger_SF
.
sf_High
=
LTE_SpeedStateScaleFactors__sf_Medium_oDot75
;
...
...
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