Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
OpenXG
OpenXG UE
Commits
1dd95dd7
Commit
1dd95dd7
authored
Jun 12, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Memory allocation for offsetFreq parameter
parent
2b335dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+3
-2
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
1dd95dd7
...
...
@@ -3316,7 +3316,7 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
//TODO: Assign proper values
ue_context_pP
->
ue_context
.
measurement_info
->
offsetFreq
=
0
;
ue_context_pP
->
ue_context
.
measurement_info
->
cellIndividualOffset
[
0
]
=
0
;
ue_context_pP
->
ue_context
.
measurement_info
->
cellIndividualOffset
[
0
]
=
LTE_Q_OffsetRange_dB
0
;
/* TODO: Extend to multiple carriers */
// Add adjacent cell lists (max 6 per eNB)
...
...
@@ -4028,6 +4028,7 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
buf
[
0
]
=
0
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
size
=
1
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
bits_unused
=
6
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
offsetFreq
=
(
LTE_Q_OffsetRange_t
*
)
CALLOC
(
1
,
sizeof
(
LTE_Q_OffsetRange_t
));
*
(
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
offsetFreq
)
=
ue_context_pP
->
ue_context
.
measurement_info
->
offsetFreq
;
// Default is 15 or 0dB
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
num_neigh_cells
>
0
)
{
...
...
@@ -5563,7 +5564,7 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
//TODO: Assign proper values
ue_context_pP
->
ue_context
.
measurement_info
->
offsetFreq
=
0
;
ue_context_pP
->
ue_context
.
measurement_info
->
cellIndividualOffset
[
0
]
=
0
;
ue_context_pP
->
ue_context
.
measurement_info
->
cellIndividualOffset
[
0
]
=
LTE_Q_OffsetRange_dB
0
;
/* TODO: Extend to multiple carriers */
// Add adjacent cell lists (max 6 per eNB)
...
...
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