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
spbro
OpenXG-RAN
Commits
2fa341ba
Commit
2fa341ba
authored
Aug 16, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_gNB_dmrs_symbol_race' into integration_2024_w33
parents
6529863a
c87b3905
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
101 deletions
+82
-101
openair1/PHY/NR_REFSIG/dmrs_nr.c
openair1/PHY/NR_REFSIG/dmrs_nr.c
+6
-6
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+76
-93
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-2
No files found.
openair1/PHY/NR_REFSIG/dmrs_nr.c
View file @
2fa341ba
...
...
@@ -299,7 +299,7 @@ uint16_t get_dmrs_freq_idx_ul(uint16_t n, uint8_t k_prime, uint8_t delta, uint8_
int8_t
get_next_dmrs_symbol_in_slot
(
uint16_t
ul_dmrs_symb_pos
,
uint8_t
counter
,
uint8_t
end_symbol
)
{
for
(
uint8_t
symbol
=
counter
;
symbol
<
end_symbol
;
symbol
++
)
{
if
((
ul_dmrs_symb_pos
>>
symbol
)
&
0x01
)
{
if
((
ul_dmrs_symb_pos
>>
symbol
)
&
0x01
)
{
return
symbol
;
}
}
...
...
@@ -318,23 +318,23 @@ uint8_t get_dmrs_symbols_in_slot(uint16_t l_prime_mask, uint16_t nb_symb, uint8
}
/* return the position of valid dmrs symbol in a slot for channel compensation */
int8_t
get_valid_dmrs_idx_for_channel_est
(
uint16_t
dmrs_symb_pos
,
uint8_t
counter
)
int8_t
get_valid_dmrs_idx_for_channel_est
(
uint16_t
dmrs_symb_pos
,
uint8_t
counter
)
{
int8_t
symbIdx
=
-
1
;
/* if current symbol is DMRS then return this index */
if
(
is_dmrs_symbol
(
counter
,
dmrs_symb_pos
)
==
1
)
{
if
(
is_dmrs_symbol
(
counter
,
dmrs_symb_pos
)
==
1
)
{
return
counter
;
}
/* find previous DMRS symbol */
for
(
int8_t
symbol
=
counter
;
symbol
>=
0
;
symbol
--
)
{
if
((
1
<<
symbol
&
dmrs_symb_pos
)
>
0
)
{
for
(
int8_t
symbol
=
counter
;
symbol
>=
0
;
symbol
--
)
{
if
((
1
<<
symbol
&
dmrs_symb_pos
)
>
0
)
{
symbIdx
=
symbol
;
break
;
}
}
/* if there is no previous dmrs available then find the next possible*/
if
(
symbIdx
==
-
1
)
{
symbIdx
=
get_next_dmrs_symbol_in_slot
(
dmrs_symb_pos
,
counter
,
15
);
symbIdx
=
get_next_dmrs_symbol_in_slot
(
dmrs_symb_pos
,
counter
,
15
);
}
return
symbIdx
;
}
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
2fa341ba
This diff is collapsed.
Click to expand it.
openair1/PHY/defs_gNB.h
View file @
2fa341ba
...
...
@@ -357,8 +357,6 @@ typedef struct {
/// - first index: ? [0..3] (hard coded)
/// - first index: ? [0..1179743] (hard coded)
int16_t
**
llr_layers
;
/// DMRS symbol index, to be updated every DMRS symbol within a slot.
uint8_t
dmrs_symbol
;
// PTRS symbol index, to be updated every PTRS symbol within a slot.
uint8_t
ptrs_symbol_index
;
/// bit mask of PT-RS ofdm symbol indicies
...
...
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