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
ZhouShuya
OpenXG-RAN
Commits
87a019a1
Commit
87a019a1
authored
Feb 17, 2020
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixing in nr_rx_prach_ru
parent
fe20c53e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openair1/PHY/NR_TRANSPORT/nr_prach.c
openair1/PHY/NR_TRANSPORT/nr_prach.c
+9
-9
No files found.
openair1/PHY/NR_TRANSPORT/nr_prach.c
View file @
87a019a1
...
@@ -256,7 +256,7 @@ void rx_nr_prach_ru(RU_t *ru,
...
@@ -256,7 +256,7 @@ void rx_nr_prach_ru(RU_t *ru,
int
n_ra_prb
=
msg1_frequencystart
;
int
n_ra_prb
=
msg1_frequencystart
;
int
k
=
(
12
*
n_ra_prb
)
-
6
*
fp
->
N_RB_UL
;
int
k
=
(
12
*
n_ra_prb
)
-
6
*
fp
->
N_RB_UL
;
int
N_ZC
=
(
prach_
fmt
<
4
)
?
839
:
139
;
int
N_ZC
=
(
prach_
sequence_length
==
0
)
?
839
:
139
;
if
(
k
<
0
)
k
+=
(
fp
->
ofdm_symbol_size
);
if
(
k
<
0
)
k
+=
(
fp
->
ofdm_symbol_size
);
...
@@ -315,7 +315,7 @@ void rx_nr_prach_ru(RU_t *ru,
...
@@ -315,7 +315,7 @@ void rx_nr_prach_ru(RU_t *ru,
reps
+=
2
;
reps
+=
2
;
}
}
if
(
prach_fmt
==
6
)
{
if
(
prach_fmt
==
6
)
{
for
(
int
i
=
6
;
i
<
1
1
;
i
++
)
dft2048
(
prach2
+
(
4096
*
i
),
rxsigF
[
aa
]
+
(
4096
*
i
),
1
);
for
(
int
i
=
6
;
i
<
1
2
;
i
++
)
dft2048
(
prach2
+
(
4096
*
i
),
rxsigF
[
aa
]
+
(
4096
*
i
),
1
);
reps
+=
6
;
reps
+=
6
;
}
}
}
}
...
@@ -346,23 +346,23 @@ void rx_nr_prach_ru(RU_t *ru,
...
@@ -346,23 +346,23 @@ void rx_nr_prach_ru(RU_t *ru,
}
else
{
}
else
{
dftlen
=
1536
;
dftlen
=
1536
;
dft1536
(
prach2
,
rxsigF
[
aa
],
1
);
dft1536
(
prach2
,
rxsigF
[
aa
],
1
);
if
(
prach_fmt
!=
0xc0
)
{
if
(
prach_fmt
!=
7
)
{
dft1536
(
prach2
+
3072
,
rxsigF
[
aa
]
+
3072
,
1
);
dft1536
(
prach2
+
3072
,
rxsigF
[
aa
]
+
3072
,
1
);
reps
++
;
reps
++
;
}
}
if
(
prach_fmt
==
0xa2
||
prach_fmt
==
0xa3
||
prach_fmt
==
0xb2
||
prach_fmt
==
0xb3
||
prach_fmt
==
0xb4
||
prach_fmt
==
0xc2
)
{
if
(
prach_fmt
==
1
||
prach_fmt
==
2
||
prach_fmt
==
4
||
prach_fmt
==
5
||
prach_fmt
==
6
||
prach_fmt
==
8
)
{
dft1536
(
prach2
+
3072
*
2
,
rxsigF
[
aa
]
+
3072
*
2
,
1
);
dft1536
(
prach2
+
3072
*
2
,
rxsigF
[
aa
]
+
3072
*
2
,
1
);
dft1536
(
prach2
+
3072
*
3
,
rxsigF
[
aa
]
+
3072
*
3
,
1
);
dft1536
(
prach2
+
3072
*
3
,
rxsigF
[
aa
]
+
3072
*
3
,
1
);
reps
+=
2
;
reps
+=
2
;
}
}
if
(
prach_fmt
==
0xa3
||
prach_fmt
==
0xb3
||
prach_fmt
==
0xB4
)
{
if
(
prach_fmt
==
2
||
prach_fmt
==
5
||
prach_fmt
==
6
)
{
dft1536
(
prach2
+
3072
*
4
,
rxsigF
[
aa
]
+
3072
*
4
,
1
);
dft1536
(
prach2
+
3072
*
4
,
rxsigF
[
aa
]
+
3072
*
4
,
1
);
dft1536
(
prach2
+
3072
*
5
,
rxsigF
[
aa
]
+
3072
*
5
,
1
);
dft1536
(
prach2
+
3072
*
5
,
rxsigF
[
aa
]
+
3072
*
5
,
1
);
reps
+=
2
;
reps
+=
2
;
}
}
if
(
prach_fmt
==
0xB4
)
{
if
(
prach_fmt
==
6
)
{
for
(
int
i
=
6
;
i
<
1
1
;
i
++
)
dft1536
(
prach2
+
(
3072
*
i
),
rxsigF
[
aa
]
+
(
3072
*
i
),
1
);
for
(
int
i
=
6
;
i
<
1
2
;
i
++
)
dft1536
(
prach2
+
(
3072
*
i
),
rxsigF
[
aa
]
+
(
3072
*
i
),
1
);
reps
+=
6
;
reps
+=
6
;
}
}
}
// short format
}
// short format
...
@@ -412,7 +412,7 @@ void rx_nr_prach_ru(RU_t *ru,
...
@@ -412,7 +412,7 @@ void rx_nr_prach_ru(RU_t *ru,
reps
+=
2
;
reps
+=
2
;
}
}
if
(
prach_fmt
==
6
)
{
if
(
prach_fmt
==
6
)
{
for
(
int
i
=
6
;
i
<
1
1
;
i
++
)
dft4096
(
prach2
+
(
8192
*
i
),
rxsigF
[
aa
]
+
(
8192
*
i
),
1
);
for
(
int
i
=
6
;
i
<
1
2
;
i
++
)
dft4096
(
prach2
+
(
8192
*
i
),
rxsigF
[
aa
]
+
(
8192
*
i
),
1
);
reps
+=
6
;
reps
+=
6
;
}
}
}
}
...
@@ -454,7 +454,7 @@ void rx_nr_prach_ru(RU_t *ru,
...
@@ -454,7 +454,7 @@ void rx_nr_prach_ru(RU_t *ru,
reps
+=
2
;
reps
+=
2
;
}
}
if
(
prach_fmt
==
6
)
{
if
(
prach_fmt
==
6
)
{
for
(
int
i
=
6
;
i
<
1
1
;
i
++
)
dft3072
(
prach2
+
(
6144
*
i
),
rxsigF
[
aa
]
+
(
6144
*
i
),
1
);
for
(
int
i
=
6
;
i
<
1
2
;
i
++
)
dft3072
(
prach2
+
(
6144
*
i
),
rxsigF
[
aa
]
+
(
6144
*
i
),
1
);
reps
+=
6
;
reps
+=
6
;
}
}
}
}
...
...
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