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
8f688c00
Commit
8f688c00
authored
Nov 08, 2024
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace assert by error logging when we call DFT with impossible size to deal with existing LTE UE
parent
486cebce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
+5
-0
openair1/PHY/TOOLS/tools_defs.h
openair1/PHY/TOOLS/tools_defs.h
+2
-1
No files found.
openair1/PHY/LTE_UE_TRANSPORT/ulsch_modulation.c
View file @
8f688c00
...
...
@@ -93,6 +93,11 @@ void dft_lte(int32_t *z,struct complex16 *input, int32_t Msc_PUSCH, uint8_t Nsym
// printf("\n");
dft_size_idx_t
dftsize
=
get_dft
(
Msc_PUSCH
);
if
(
dftsize
==
DFT_SIZE_IDXTABLESIZE
)
{
LOG_E
(
PHY
,
"Internal error, not modulating the slot, Msc_PUSCH = %d
\n
"
,
Msc_PUSCH
);
return
;
}
switch
(
Msc_PUSCH
)
{
case
12
:
dft
(
dftsize
,
(
int16_t
*
)
dft_in0
,
(
int16_t
*
)
dft_out0
,
0
);
...
...
openair1/PHY/TOOLS/tools_defs.h
View file @
8f688c00
...
...
@@ -38,6 +38,7 @@
#include <simde/simde-common.h>
#include <simde/x86/sse.h>
#include <simde/x86/avx2.h>
#include "common/utils/LOG/log.h"
#define simd_q15_t simde__m128i
#define simdshort_q15_t simde__m64
...
...
@@ -623,7 +624,7 @@ static inline dft_size_idx_t get_dft(int size)
switch
(
size
)
{
FOREACH_DFTSZ
(
FIND_ENUM
)
default:
AssertFatal
(
false
,
"function get_dft : unsupported DFT size %d
\n
"
,
size
);
LOG_E
(
UTIL
,
"function get_dft : unsupported DFT size %d
\n
"
,
size
);
break
;
}
return
DFT_SIZE_IDXTABLESIZE
;
...
...
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