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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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-RAN
Commits
3301cba1
Commit
3301cba1
authored
Aug 09, 2022
by
Sagar Parsawar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved seg fault in UE in absence of prs_config file
parent
68f7e1d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
69 deletions
+9
-69
executables/nr-ue.c
executables/nr-ue.c
+9
-2
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
...ENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
+0
-20
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
+0
-47
No files found.
executables/nr-ue.c
View file @
3301cba1
...
...
@@ -161,7 +161,14 @@ void RCconfig_nrUE_prs(void *cfg)
paramlist_def_t
gParamList
=
{
CONFIG_STRING_PRS_LIST
,
NULL
,
0
};
paramdef_t
gParams
[]
=
PRS_GLOBAL_PARAMS_DESC
;
config_getlist
(
&
gParamList
,
gParams
,
sizeof
(
gParams
)
/
sizeof
(
paramdef_t
),
NULL
);
ue
->
prs_active_gNBs
=
*
(
gParamList
.
paramarray
[
j
][
PRS_ACTIVE_GNBS_IDX
].
uptr
);
if
(
gParamList
.
numelt
>
0
)
{
ue
->
prs_active_gNBs
=
*
(
gParamList
.
paramarray
[
j
][
PRS_ACTIVE_GNBS_IDX
].
uptr
);
}
else
{
LOG_I
(
PHY
,
"%s configuration NOT found..!! Skipping configuring UE for the PRS reception
\n
"
,
CONFIG_STRING_PRS_CONFIG
);
}
paramlist_def_t
PRS_ParamList
=
{{
0
},
NULL
,
0
};
for
(
int
i
=
0
;
i
<
ue
->
prs_active_gNBs
;
i
++
)
...
...
@@ -247,7 +254,7 @@ void RCconfig_nrUE_prs(void *cfg)
}
else
{
LOG_I
(
NR_
PHY
,
"No %s configuration found
\n
"
,
PRS_ParamList
.
listname
);
LOG_I
(
PHY
,
"No %s configuration found
\n
"
,
PRS_ParamList
.
listname
);
}
}
}
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
View file @
3301cba1
...
...
@@ -269,26 +269,6 @@ MACRLCs = (
}
);
prs_config
= (
{
NumPRSResources
=
1
;
PRSResourceSetPeriod
= [
20
,
2
];
SymbolStart
= [
7
,
7
];
NumPRSSymbols
= [
6
,
6
];
NumRB
=
106
;
RBOffset
=
0
;
CombSize
=
4
;
REOffset
= [
0
,
1
];
PRSResourceOffset
= [
0
,
0
];
PRSResourceRepetition
=
2
;
PRSResourceTimeGap
=
1
;
NPRS_ID
= [
10
,
5
];
MutingPattern1
= [];
MutingPattern2
= [];
MutingBitRepetition
=
1
;
}
);
L1s
= (
{
num_cc
=
1
;
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
deleted
100644 → 0
View file @
68f7e1d3
PRSs
=
(
{
Active_gNBs
=
1
;
prs_config0
= (
{
gNB_id
=
0
;
NumPRSResources
=
1
;
PRSResourceSetPeriod
= [
20
,
2
];
SymbolStart
= [
7
,
7
];
NumPRSSymbols
= [
6
,
6
];
NumRB
=
106
;
RBOffset
=
0
;
CombSize
=
4
;
REOffset
= [
0
,
1
];
PRSResourceOffset
= [
0
,
0
];
PRSResourceRepetition
=
2
;
PRSResourceTimeGap
=
1
;
NPRS_ID
= [
10
,
5
];
MutingPattern1
= [];
MutingPattern2
= [];
MutingBitRepetition
=
1
;
}
);
prs_config1
= (
{
gNB_id
=
1
;
NumPRSResources
=
1
;
PRSResourceSetPeriod
= [
20
,
5
];
SymbolStart
= [
8
];
NumPRSSymbols
= [
5
];
NumRB
=
106
;
RBOffset
=
0
;
CombSize
=
4
;
REOffset
= [
1
];
PRSResourceOffset
= [
1
];
PRSResourceRepetition
=
1
;
PRSResourceTimeGap
=
1
;
NPRS_ID
= [
5
];
MutingPattern1
= [];
MutingPattern2
= [];
MutingBitRepetition
=
1
;
}
);
}
);
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