Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
14
Merge Requests
14
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
a9855446
Commit
a9855446
authored
Jun 01, 2018
by
Guy De Souza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fft scaling fix
parent
4922eea5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
openair1/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
openair1/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
+2
-1
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+6
-6
openair1/PHY/TOOLS/tools_defs.h
openair1/PHY/TOOLS/tools_defs.h
+4
-4
No files found.
openair1/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
View file @
a9855446
...
...
@@ -81,7 +81,8 @@ void lte_sync_timefreq(PHY_VARS_UE *ue,int band,unsigned int DL_freq)
//compute frequency-domain representation of 6144-sample chunk
dft6144
((
int16_t
*
)
rxp
,
sp
);
sp
,
1
);
/*
...
...
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
a9855446
...
...
@@ -357,10 +357,10 @@ void rx_prach0(PHY_VARS_eNB *eNB,
if
(
prach_fmt
==
4
)
{
dft256
(
prach2
,
rxsigF
[
aa
],
1
);
}
else
{
dft3072
(
prach2
,
rxsigF
[
aa
]);
dft3072
(
prach2
,
rxsigF
[
aa
]
,
1
);
if
(
prach_fmt
>
1
)
dft3072
(
prach2
+
6144
,
rxsigF
[
aa
]
+
6144
);
dft3072
(
prach2
+
6144
,
rxsigF
[
aa
]
+
6144
,
1
);
}
break
;
...
...
@@ -371,10 +371,10 @@ void rx_prach0(PHY_VARS_eNB *eNB,
dft1024
(
prach2
,
rxsigF
[
aa
],
1
);
fft_size
=
1024
;
}
else
{
dft6144
(
prach2
,
rxsigF
[
aa
]);
dft6144
(
prach2
,
rxsigF
[
aa
]
,
1
);
if
(
prach_fmt
>
1
)
dft6144
(
prach2
+
12288
,
rxsigF
[
aa
]
+
12288
);
dft6144
(
prach2
+
12288
,
rxsigF
[
aa
]
+
12288
,
1
);
fft_size
=
6144
;
}
...
...
@@ -395,7 +395,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
case
75
:
if
(
prach_fmt
==
4
)
{
dft3072
(
prach2
,
rxsigF
[
aa
]);
dft3072
(
prach2
,
rxsigF
[
aa
]
,
1
);
}
else
{
dft18432
(
prach2
,
rxsigF
[
aa
]);
...
...
@@ -417,7 +417,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
}
}
else
{
if
(
prach_fmt
==
4
)
{
dft3072
(
prach2
,
rxsigF
[
aa
]);
dft3072
(
prach2
,
rxsigF
[
aa
]
,
1
);
}
else
{
dft18432
(
prach2
,
rxsigF
[
aa
]);
...
...
openair1/PHY/TOOLS/tools_defs.h
View file @
a9855446
...
...
@@ -174,25 +174,25 @@ This function performs optimized fixed-point radix-2 FFT/IFFT.
void
idft1536
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
idft6144
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
idft6144
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
idft12288
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
idft18432
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
idft3072
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
idft3072
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
idft24576
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
dft1536
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
dft6144
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
dft6144
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
dft12288
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
dft18432
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
dft3072
(
int16_t
*
sigF
,
int16_t
*
sig
);
void
dft3072
(
int16_t
*
sigF
,
int16_t
*
sig
,
int
scale
);
void
dft24576
(
int16_t
*
sigF
,
int16_t
*
sig
);
...
...
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