Commit b30d3c92 authored by Raymond Knopp's avatar Raymond Knopp

added missing threequarter_fs parameter to lte_param_init in ulsim.c

parent 64c36e31
...@@ -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);
......
...@@ -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, "hapZEbm: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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment