Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
9bcd49c8
Commit
9bcd49c8
authored
Sep 17, 2020
by
Rakesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for modulation rotataion to support all numerlogies
parent
ca80340d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+1
-1
openair1/PHY/MODULATION/nr_modulation.c
openair1/PHY/MODULATION/nr_modulation.c
+3
-3
No files found.
executables/nr-uesoftmodem.c
View file @
9bcd49c8
...
...
@@ -686,6 +686,7 @@ int main( int argc, char **argv ) {
fapi_nr_config_request_t
*
nrUE_config
=
&
UE
[
CC_id
]
->
nrUE_config
;
nr_init_frame_parms_ue
(
frame_parms
[
CC_id
],
nrUE_config
,
NORMAL
);
init_symbol_rotation
(
frame_parms
[
CC_id
],
frame_parms
[
CC_id
]
->
dl_CarrierFreq
);
init_nr_ue_vars
(
UE
[
CC_id
],
frame_parms
[
CC_id
],
0
,
abstraction_flag
);
UE
[
CC_id
]
->
mac_enabled
=
1
;
...
...
@@ -751,7 +752,6 @@ int main( int argc, char **argv ) {
if
(
frame_parms
[
CC_id
]
->
frame_type
==
TDD
)
frame_parms
[
CC_id
]
->
ul_CarrierFreq
=
downlink_frequency
[
0
][
0
];
}
init_symbol_rotation
(
frame_parms
[
CC_id
],
frame_parms
[
CC_id
]
->
dl_CarrierFreq
);
}
// printf("tx_max_power = %d -> amp %d\n",tx_max_power[0],get_tx_amp(tx_max_poHwer,tx_max_power));
init_openair0
();
...
...
openair1/PHY/MODULATION/nr_modulation.c
View file @
9bcd49c8
...
...
@@ -506,10 +506,10 @@ void init_symbol_rotation(NR_DL_FRAME_PARMS *fp,uint64_t CarrierFreq) {
const
int
nsymb
=
fp
->
symbols_per_slot
*
fp
->
slots_per_frame
/
10
;
const
double
Tc
=
(
1
/
480e3
/
4096
);
const
double
Nu
=
2048
*
64
*
.
5
;
const
double
Nu
=
2048
*
64
*
(
1
/
(
float
)(
1
<<
fp
->
numerology_index
))
;
const
double
f0
=
(
double
)
CarrierFreq
;
const
double
Ncp0
=
16
*
64
+
(
144
*
64
*
.
5
);
const
double
Ncp1
=
(
144
*
64
*
.
5
);
const
double
Ncp0
=
16
*
64
+
(
144
*
64
*
(
1
/
(
float
)(
1
<<
fp
->
numerology_index
))
);
const
double
Ncp1
=
(
144
*
64
*
(
1
/
(
float
)(
1
<<
fp
->
numerology_index
))
);
double
tl
=
0
,
poff
,
exp_re
,
exp_im
;
double
Ncp
,
Ncpm1
=
Ncp0
;
...
...
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