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
zzha zzha
OpenXG-RAN
Commits
35b3a6d4
Commit
35b3a6d4
authored
Jun 19, 2023
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in ul rotation and formatting
parent
773a35ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/MODULATION/slot_fep_nr.c
+6
-7
No files found.
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
35b3a6d4
...
@@ -318,17 +318,16 @@ void apply_nr_rotation_ul(NR_DL_FRAME_PARMS *frame_parms,
...
@@ -318,17 +318,16 @@ void apply_nr_rotation_ul(NR_DL_FRAME_PARMS *frame_parms,
int
nsymb
,
int
nsymb
,
int
link_type
)
int
link_type
)
{
{
int
symb_offset
=
(
slot
%
frame_parms
->
slots_per_subframe
)
*
frame_parms
->
symbols_per_slot
;
int
symb_offset
=
(
slot
%
frame_parms
->
slots_per_subframe
)
*
frame_parms
->
symbols_per_slot
;
int
soffset
=
(
slot
&
3
)
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
ofdm_symbol_size
;
int
soffset
=
(
slot
&
3
)
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
ofdm_symbol_size
;
for
(
int
symbol
=
first_symbol
;
symbol
<
nsymb
;
symbol
++
)
{
for
(
int
symbol
=
first_symbol
;
symbol
<
first_symbol
+
nsymb
;
symbol
++
)
{
c16_t
rot2
=
frame_parms
->
symbol_rotation
[
link_type
][
symbol
+
symb_offset
];
c16_t
rot2
=
frame_parms
->
symbol_rotation
[
link_type
][
symbol
+
symb_offset
];
rot2
.
i
=-
rot2
.
i
;
rot2
.
i
=
-
rot2
.
i
;
LOG_D
(
PHY
,
"slot %d, symb_offset %d rotating by %d.%d
\n
"
,
slot
,
symb_offset
,
rot2
.
r
,
rot2
.
i
);
LOG_D
(
PHY
,
"slot %d, symb_offset %d rotating by %d.%d
\n
"
,
slot
,
symb_offset
,
rot2
.
r
,
rot2
.
i
);
c16_t
*
shift_rot
=
frame_parms
->
timeshift_symbol_rotation
;
c16_t
*
shift_rot
=
frame_parms
->
timeshift_symbol_rotation
;
c16_t
*
this_symbol
=
&
rxdataF
[
soffset
+
(
frame_parms
->
ofdm_symbol_size
*
symbol
)];
c16_t
*
this_symbol
=
&
rxdataF
[
soffset
+
(
frame_parms
->
ofdm_symbol_size
*
symbol
)];
if
(
frame_parms
->
N_RB_UL
&
1
)
{
if
(
frame_parms
->
N_RB_UL
&
1
)
{
rotate_cpx_vector
(
this_symbol
,
&
rot2
,
this_symbol
,
rotate_cpx_vector
(
this_symbol
,
&
rot2
,
this_symbol
,
...
...
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