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
0fcf8d9c
Commit
0fcf8d9c
authored
Feb 21, 2022
by
Sagar Parsawar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding usage of PRS RBOffset in the PRS Generation at gNB and Channel estimation at UE
parent
43461149
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
openair1/PHY/NR_TRANSPORT/nr_prs.c
openair1/PHY/NR_TRANSPORT/nr_prs.c
+1
-1
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
+2
-2
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
+16
-0
No files found.
openair1/PHY/NR_TRANSPORT/nr_prs.c
View file @
0fcf8d9c
...
...
@@ -47,7 +47,7 @@ int nr_generate_prs(uint32_t **nr_gold_prs,
k_prime
=
k_prime_table
[
3
][
symInd
];
}
k
=
(
prs_data
->
REOffset
+
k_prime
)
%
prs_data
->
CombSize
+
frame_parms
->
first_carrier_offset
;
k
=
(
prs_data
->
REOffset
+
k_prime
)
%
prs_data
->
CombSize
+
prs_data
->
RBOffset
*
12
+
frame_parms
->
first_carrier_offset
;
// QPSK modulation
for
(
int
m
=
0
;
m
<
(
12
/
prs_data
->
CombSize
)
*
prs_data
->
NumRB
;
m
++
)
{
...
...
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
0fcf8d9c
...
...
@@ -35,7 +35,7 @@
//#define DEBUG_PDSCH
//#define DEBUG_PDCCH
//#define DEBUG_CH
//
#define DEBUG_PRS_CHEST
#define DEBUG_PRS_CHEST
extern
short
nr_qpsk_mod_table
[
8
];
int
nr_prs_channel_estimation
(
PHY_VARS_NR_UE
*
ue
,
...
...
@@ -82,7 +82,7 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
}
//re_offset
k
=
re_offset
=
(
prs_cfg
->
REOffset
+
k_prime
)
%
prs_cfg
->
CombSize
+
frame_params
->
first_carrier_offset
;
k
=
re_offset
=
(
prs_cfg
->
REOffset
+
k_prime
)
%
prs_cfg
->
CombSize
+
prs_cfg
->
RBOffset
*
12
+
frame_params
->
first_carrier_offset
;
#ifdef DEBUG_PRS_CHEST
printf
(
"PRS config l %d k_prime %d, re_offset %d k %d :
\n
prs_cfg->SymbolStart %d
\n
prs_cfg->NumPRSSymbols %d
\n
prs_cfg->NumRB %d
\n
prs_cfg->CombSize %d
\n
"
,
l
,
k_prime
,
re_offset
,
k
,
prs_cfg
->
SymbolStart
,
prs_cfg
->
NumPRSSymbols
,
prs_cfg
->
NumRB
,
prs_cfg
->
CombSize
);
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue_nr_prs.conf
0 → 100644
View file @
0fcf8d9c
prs_config
= (
{
PRSResourceSetPeriod0
=
40
;
PRSResourceSetPeriod1
=
0
;
SymbolStart
=
7
;
NumPRSSymbols
=
4
;
NumRB
=
100
;
RBOffset
=
0
;
CombSize
=
4
;
REOffset
=
0
;
PRSResourceOffset
=
0
;
PRSResourceRepetition
=
1
;
PRSResourceTimeGap
=
1
;
NPRS_ID
=
0
;
}
);
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