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
07850586
Commit
07850586
authored
Sep 13, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for dl channel estimation
parent
79fd37b4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
+5
-2
openair1/PHY/impl_defs_nr.h
openair1/PHY/impl_defs_nr.h
+1
-1
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
07850586
...
@@ -1648,7 +1648,7 @@ int nr_pdsch_channel_estimation(PHY_VARS_NR_UE *ue,
...
@@ -1648,7 +1648,7 @@ int nr_pdsch_channel_estimation(PHY_VARS_NR_UE *ue,
}
}
c16_t
pilot
[
3280
]
__attribute__
((
aligned
(
16
)));
c16_t
pilot
[
3280
]
__attribute__
((
aligned
(
16
)));
nr_pdsch_dmrs_rx
(
ue
,
Ns
,
ue
->
nr_gold_pdsch
[
gNB_id
][
Ns
][
symbol
][
0
],
(
int32_t
*
)
pilot
,
1000
+
p
,
0
,
nb_rb_pdsch
+
rb_offset
,
config_type
);
nr_pdsch_dmrs_rx
(
ue
,
Ns
,
ue
->
nr_gold_pdsch
[
gNB_id
][
Ns
][
symbol
][
nscid
],
(
int32_t
*
)
pilot
,
1000
+
p
,
0
,
nb_rb_pdsch
+
rb_offset
,
config_type
);
uint8_t
nushift
=
0
;
uint8_t
nushift
=
0
;
if
(
config_type
==
NFAPI_NR_DMRS_TYPE1
)
{
if
(
config_type
==
NFAPI_NR_DMRS_TYPE1
)
{
...
@@ -1779,6 +1779,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
...
@@ -1779,6 +1779,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
uint8_t
*
ptrsReOffset
=
NULL
;
uint8_t
*
ptrsReOffset
=
NULL
;
uint8_t
*
dmrsConfigType
=
NULL
;
uint8_t
*
dmrsConfigType
=
NULL
;
uint16_t
*
nb_rb
=
NULL
;
uint16_t
*
nb_rb
=
NULL
;
int
nscid
=
0
;
if
(
dlsch0_harq
->
status
==
ACTIVE
)
{
if
(
dlsch0_harq
->
status
==
ACTIVE
)
{
symbInSlot
=
dlsch
[
0
].
dlsch_config
.
start_symbol
+
dlsch
[
0
].
dlsch_config
.
number_symbols
;
symbInSlot
=
dlsch
[
0
].
dlsch_config
.
start_symbol
+
dlsch
[
0
].
dlsch_config
.
number_symbols
;
...
@@ -1792,6 +1793,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
...
@@ -1792,6 +1793,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
nb_rb
=
&
dlsch
[
0
].
dlsch_config
.
number_rbs
;
nb_rb
=
&
dlsch
[
0
].
dlsch_config
.
number_rbs
;
ptrsSymbPos
=
&
dlsch
[
0
].
ptrs_symbols
;
ptrsSymbPos
=
&
dlsch
[
0
].
ptrs_symbols
;
ptrsSymbIdx
=
&
dlsch
[
0
].
ptrs_symbol_index
;
ptrsSymbIdx
=
&
dlsch
[
0
].
ptrs_symbol_index
;
nscid
=
dlsch
[
0
].
dlsch_config
.
nscid
;
}
}
if
(
dlsch1_harq
)
{
if
(
dlsch1_harq
)
{
symbInSlot
=
dlsch
[
1
].
dlsch_config
.
start_symbol
+
dlsch
[
1
].
dlsch_config
.
number_symbols
;
symbInSlot
=
dlsch
[
1
].
dlsch_config
.
start_symbol
+
dlsch
[
1
].
dlsch_config
.
number_symbols
;
...
@@ -1805,6 +1807,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
...
@@ -1805,6 +1807,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
nb_rb
=
&
dlsch
[
1
].
dlsch_config
.
number_rbs
;
nb_rb
=
&
dlsch
[
1
].
dlsch_config
.
number_rbs
;
ptrsSymbPos
=
&
dlsch
[
1
].
ptrs_symbols
;
ptrsSymbPos
=
&
dlsch
[
1
].
ptrs_symbols
;
ptrsSymbIdx
=
&
dlsch
[
1
].
ptrs_symbol_index
;
ptrsSymbIdx
=
&
dlsch
[
1
].
ptrs_symbol_index
;
nscid
=
dlsch
[
1
].
dlsch_config
.
nscid
;
}
}
/* loop over antennas */
/* loop over antennas */
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
{
for
(
int
aarx
=
0
;
aarx
<
frame_parms
->
nb_antennas_rx
;
aarx
++
)
{
...
@@ -1847,7 +1850,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
...
@@ -1847,7 +1850,7 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
symbol
,
symbol
,
frame_parms
->
ofdm_symbol_size
,
frame_parms
->
ofdm_symbol_size
,
(
int16_t
*
)(
rxdataF_comp
[
0
][
aarx
]
+
symbol
*
nb_re_pdsch
),
(
int16_t
*
)(
rxdataF_comp
[
0
][
aarx
]
+
symbol
*
nb_re_pdsch
),
ue
->
nr_gold_pdsch
[
gNB_id
][
nr_slot_rx
][
symbol
][
0
],
ue
->
nr_gold_pdsch
[
gNB_id
][
nr_slot_rx
][
symbol
][
nscid
],
(
int16_t
*
)
&
phase_per_symbol
[
symbol
],
(
int16_t
*
)
&
phase_per_symbol
[
symbol
],
&
ptrs_re_symbol
[
symbol
]);
&
ptrs_re_symbol
[
symbol
]);
}
}
...
...
openair1/PHY/impl_defs_nr.h
View file @
07850586
...
@@ -298,7 +298,7 @@ typedef struct {
...
@@ -298,7 +298,7 @@ typedef struct {
int8_t
p0
;
// INTEGER (-202..24)
int8_t
p0
;
// INTEGER (-202..24)
/// \brief A reference signal (e.g. a CSI-RS config or a SSblock) to be used for SRS path loss estimation.
/// \brief A reference signal (e.g. a CSI-RS config or a SSblock) to be used for SRS path loss estimation.
/// Corresponds to L1 parameter 'srs-pathlossReference-rs-config' (see 38.213, section 7.3)
/// Corresponds to L1 parameter 'srs-pathlossReference-rs-config' (see 38.213, section 7.3)
pathlossReferenceRS_t
pathlossReferenceRS
_t
;
pathlossReferenceRS_t
pathlossReferenceRS
;
uint8_t
path_loss_SSB_Index
;
uint8_t
path_loss_SSB_Index
;
uint8_t
path_loss_NZP_CSI_RS_ResourceId
;
uint8_t
path_loss_NZP_CSI_RS_ResourceId
;
/// \brief Indicates whether hsrs,c(i) = fc(i,1) or hsrs,c(i) = fc(i,2) (if twoPUSCH-PC-AdjustmentStates are configured)
/// \brief Indicates whether hsrs,c(i) = fc(i,1) or hsrs,c(i) = fc(i,2) (if twoPUSCH-PC-AdjustmentStates are configured)
...
...
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