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
lizhongxiao
OpenXG-RAN
Commits
74d572c8
Commit
74d572c8
authored
May 24, 2022
by
Swetank Srivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
q_QualMin fix
parent
f5c7d705
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
+29
-4
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+29
-4
No files found.
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
74d572c8
...
...
@@ -939,12 +939,37 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
if
(
RC
.
ss
.
mode
==
SS_SOFTMODEM
)
{
LOG_D
(
RRC
,
"Updating q_RxLevMin: %d
\n
"
,
configuration
->
q_RxLevMin
);
(
*
sib1
)
->
cellSelectionInfo
.
q_RxLevMin
=
configuration
->
q_RxLevMin
;
LOG_D
(
RRC
,
"Updating q_RxLevMin: %d
\n
"
,
configuration
->
q_RxLevMin
);
(
*
sib1
)
->
cellSelectionInfo
.
q_RxLevMin
=
configuration
->
q_RxLevMin
;
if
(
configuration
->
q_QualMin
!=
0
/*&& RC.ss.State > SS_STATE_CELL_CONFIGURED*/
)
{
LOG_A
(
RRC
,
"Updating q_QualMin: %ld
\n
"
,
configuration
->
q_QualMin
);
(
*
sib1
)
->
nonCriticalExtension
=
calloc
(
1
,
sizeof
(
struct
LTE_SystemInformationBlockType1_v890_IEs
));
if
((
*
sib1
)
->
nonCriticalExtension
==
NULL
)
{
LOG_E
(
RRC
,
"Error Allocating Memory
\n
"
);
return
-
1
;
}
(
*
sib1
)
->
nonCriticalExtension
->
nonCriticalExtension
=
calloc
(
1
,
sizeof
(
struct
LTE_SystemInformationBlockType1_v920_IEs
));
if
((
*
sib1
)
->
nonCriticalExtension
->
nonCriticalExtension
==
NULL
)
{
LOG_E
(
RRC
,
"Error Allocating Memory
\n
"
);
return
-
1
;
}
(
*
sib1
)
->
nonCriticalExtension
->
nonCriticalExtension
->
cellSelectionInfo_v920
=
calloc
(
1
,
sizeof
(
struct
LTE_CellSelectionInfo_v920
));
if
((
*
sib1
)
->
nonCriticalExtension
->
nonCriticalExtension
->
cellSelectionInfo_v920
==
NULL
)
{
LOG_E
(
RRC
,
"Error Allocating Memory
\n
"
);
return
-
1
;
}
(
*
sib1
)
->
nonCriticalExtension
->
nonCriticalExtension
->
cellSelectionInfo_v920
->
q_QualMin_r9
=
configuration
->
q_QualMin
;
}
}
else
{
(
*
sib1
)
->
cellSelectionInfo
.
q_RxLevMin
=-
65
;
{
(
*
sib1
)
->
cellSelectionInfo
.
q_RxLevMin
=-
65
;
}
(
*
sib1
)
->
cellSelectionInfo
.
q_RxLevMinOffset
=
NULL
;
...
...
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