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
dc6a5d28
Commit
dc6a5d28
authored
Dec 27, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more workaround with LOG_E() in UE ptrs
parent
7019aa96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
openair1/PHY/NR_REFSIG/ptrs_nr.c
openair1/PHY/NR_REFSIG/ptrs_nr.c
+7
-2
No files found.
openair1/PHY/NR_REFSIG/ptrs_nr.c
View file @
dc6a5d28
...
...
@@ -111,6 +111,7 @@ void set_ptrs_symb_idx(uint16_t *ptrs_symbols,
last_symbol
=
start_symbol
+
duration_in_symbols
-
1
;
if
(
L_ptrs
==
0
)
{
LOG_E
(
PHY
,
"bug: impossible L_ptrs
\n
"
);
*
ptrs_symbols
=
0
;
return
;
}
...
...
@@ -263,9 +264,13 @@ void nr_ptrs_cpe_estimation(uint8_t K_ptrs,
uint16_t
re_cnt
=
0
;
uint16_t
cnt
=
0
;
unsigned
short
nb_re_pdsch
=
NR_NB_SC_PER_RB
*
nb_rb
;
if
(
K_ptrs
==
0
)
{
LOG_E
(
PHY
,
"K_ptrs == 0
\n
"
);
return
;
}
uint16_t
sc_per_symbol
=
(
nb_rb
+
K_ptrs
-
1
)
/
K_ptrs
;
int16_t
*
ptrs_p
=
(
int16_t
*
)
malloc
(
sizeof
(
int32_t
)
*
(
sc_per_symbol
));
int16_t
*
dmrs_comp_p
=
(
int16_t
*
)
malloc
(
sizeof
(
int32_t
)
*
(
sc_per_symbol
));
int16_t
*
ptrs_p
=
(
int16_t
*
)
malloc
(
sizeof
(
int32_t
)
*
(
(
1
+
sc_per_symbol
/
4
)
*
4
));
int16_t
*
dmrs_comp_p
=
(
int16_t
*
)
malloc
(
sizeof
(
int32_t
)
*
(
(
1
+
sc_per_symbol
/
4
)
*
4
));
double
abs
=
0
.
0
;
double
real
=
0
.
0
;
double
imag
=
0
.
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