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
zzha zzha
OpenXG-RAN
Commits
c453bb91
Commit
c453bb91
authored
Aug 16, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix RSRP_Range allocation in prach_ConfigCommon_v1310
parent
29161632
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+6
-5
No files found.
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
c453bb91
...
...
@@ -1209,22 +1209,23 @@ uint8_t do_SIB23(uint8_t Mod_id,
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
=
calloc
(
1
,
sizeof
(
PRACH_ConfigSIB_v1310_t
));
memset
((
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
,
0
,
sizeof
(
PRACH_ConfigSIB_v1310_t
));
RSRP_Range_t
rsrp_range
;
RSRP_Range_t
*
rsrp_range
;
int
num_rsrp_range
=
configuration
->
rsrp_range_list_size
[
CC_id
];
int
rsrp_index
;
for
(
rsrp_index
=
0
;
rsrp_index
<
num_rsrp_range
;
++
rsrp_index
)
{
rsrp_range
=
CALLOC
(
1
,
sizeof
(
RSRP_Range_t
));
if
(
configuration
->
rsrp_range_list_size
[
CC_id
])
{
rsrp_range
=
configuration
->
rsrp_range
[
CC_id
][
rsrp_index
];
printf
(
"[DEBUGGING][KOGO][SIB23] : rsrp range = %d
\n
"
,
rsrp_range
);
*
rsrp_range
=
configuration
->
rsrp_range
[
CC_id
][
rsrp_index
];
printf
(
"[DEBUGGING][KOGO][SIB23] : rsrp range = %d
\n
"
,
*
rsrp_range
);
}
else
{
rsrp_range
=
60
;
*
rsrp_range
=
60
;
}
ASN_SEQUENCE_ADD
(
&
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
->
rsrp_ThresholdsPrachInfoList_r13
.
list
,
&
rsrp_range
);
ASN_SEQUENCE_ADD
(
&
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
->
rsrp_ThresholdsPrachInfoList_r13
.
list
,
rsrp_range
);
}
...
...
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