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
b30d3c92
Commit
b30d3c92
authored
Feb 16, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing threequarter_fs parameter to lte_param_init in ulsim.c
parent
64c36e31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+11
-1
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+7
-1
No files found.
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
b30d3c92
...
@@ -656,7 +656,17 @@ int main(int argc, char **argv)
...
@@ -656,7 +656,17 @@ int main(int argc, char **argv)
printf
(
"dual_stream_UE=%d
\n
"
,
dual_stream_UE
);
printf
(
"dual_stream_UE=%d
\n
"
,
dual_stream_UE
);
}
}
lte_param_init
(
n_tx
,
n_rx
,
transmission_mode
,
extended_prefix_flag
,
frame_type
,
Nid_cell
,
tdd_config
,
N_RB_DL
,
threequarter_fs
,
osf
,
perfect_ce
);
lte_param_init
(
n_tx
,
n_rx
,
transmission_mode
,
extended_prefix_flag
,
frame_type
,
Nid_cell
,
tdd_config
,
N_RB_DL
,
threequarter_fs
,
osf
,
perfect_ce
);
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
b30d3c92
...
@@ -194,6 +194,7 @@ int main(int argc, char **argv)
...
@@ -194,6 +194,7 @@ int main(int argc, char **argv)
int
nb_rb_set
=
0
;
int
nb_rb_set
=
0
;
int
sf
;
int
sf
;
int
threequarter_fs
=
0
;
opp_enabled
=
1
;
// to enable the time meas
opp_enabled
=
1
;
// to enable the time meas
cpu_freq_GHz
=
(
double
)
get_cpu_freq_GHz
();
cpu_freq_GHz
=
(
double
)
get_cpu_freq_GHz
();
...
@@ -203,7 +204,7 @@ int main(int argc, char **argv)
...
@@ -203,7 +204,7 @@ int main(int argc, char **argv)
logInit
();
logInit
();
while
((
c
=
getopt
(
argc
,
argv
,
"hapZbm:n:Y:X:x:s:w:e:q:d:D:O:c:r:i:f:y:c:oA:C:R:g:N:l:S:T:QB:PI:L"
))
!=
-
1
)
{
while
((
c
=
getopt
(
argc
,
argv
,
"hapZ
E
bm:n:Y:X:x:s:w:e:q:d:D:O:c:r:i:f:y:c:oA:C:R:g:N:l:S:T:QB:PI:L"
))
!=
-
1
)
{
switch
(
c
)
{
switch
(
c
)
{
case
'a'
:
case
'a'
:
channel_model
=
AWGN
;
channel_model
=
AWGN
;
...
@@ -373,6 +374,10 @@ int main(int argc, char **argv)
...
@@ -373,6 +374,10 @@ int main(int argc, char **argv)
cyclic_shift
=
atoi
(
optarg
);
cyclic_shift
=
atoi
(
optarg
);
break
;
break
;
case
'E'
:
threequarter_fs
=
1
;
break
;
case
'N'
:
case
'N'
:
N0
=
atoi
(
optarg
);
N0
=
atoi
(
optarg
);
break
;
break
;
...
@@ -470,6 +475,7 @@ int main(int argc, char **argv)
...
@@ -470,6 +475,7 @@ int main(int argc, char **argv)
0
,
0
,
tdd_config
,
tdd_config
,
N_RB_DL
,
N_RB_DL
,
threequarter_fs
,
osf
,
osf
,
0
);
0
);
...
...
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