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
canghaiwuhen
OpenXG-RAN
Commits
918880e8
Commit
918880e8
authored
Dec 05, 2016
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-21-TM7-tmp' into feature-21-TM7
parents
946fcad6
41582eb3
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
6 deletions
+10
-6
openair1/SIMULATION/LTE_PHY/mbmssim.c
openair1/SIMULATION/LTE_PHY/mbmssim.c
+2
-1
openair1/SIMULATION/LTE_PHY/pbchsim.c
openair1/SIMULATION/LTE_PHY/pbchsim.c
+1
-1
openair1/SIMULATION/LTE_PHY/pdcchsim.c
openair1/SIMULATION/LTE_PHY/pdcchsim.c
+4
-3
openair1/SIMULATION/LTE_PHY/prachsim.c
openair1/SIMULATION/LTE_PHY/prachsim.c
+1
-0
openair1/SIMULATION/LTE_PHY/pucchsim.c
openair1/SIMULATION/LTE_PHY/pucchsim.c
+1
-0
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+1
-1
No files found.
openair1/SIMULATION/LTE_PHY/mbmssim.c
View file @
918880e8
...
@@ -238,6 +238,7 @@ int main(int argc, char **argv)
...
@@ -238,6 +238,7 @@ int main(int argc, char **argv)
n_tx
=
2
;
n_tx
=
2
;
lte_param_init
(
n_tx
,
lte_param_init
(
n_tx
,
n_tx
,
n_rx
,
n_rx
,
transmission_mode
,
transmission_mode
,
extended_prefix_flag
,
extended_prefix_flag
,
...
@@ -301,7 +302,7 @@ int main(int argc, char **argv)
...
@@ -301,7 +302,7 @@ int main(int argc, char **argv)
0
);
0
);
// Create transport channel structures for 2 transport blocks (MIMO)
// Create transport channel structures for 2 transport blocks (MIMO)
eNB
->
dlsch_MCH
=
new_eNB_dlsch
(
1
,
8
,
Nsoft
,
N_RB_DL
,
0
,
&
eNB
->
lte_
frame_parms
);
eNB
->
dlsch_MCH
=
new_eNB_dlsch
(
1
,
8
,
Nsoft
,
N_RB_DL
,
0
,
&
eNB
->
frame_parms
);
if
(
!
eNB
->
dlsch_MCH
)
{
if
(
!
eNB
->
dlsch_MCH
)
{
printf
(
"Can't get eNB dlsch structures
\n
"
);
printf
(
"Can't get eNB dlsch structures
\n
"
);
...
...
openair1/SIMULATION/LTE_PHY/pbchsim.c
View file @
918880e8
...
@@ -325,7 +325,7 @@ int main(int argc, char **argv)
...
@@ -325,7 +325,7 @@ int main(int argc, char **argv)
if
(
transmission_mode
>=
2
)
if
(
transmission_mode
>=
2
)
n_tx
=
2
;
n_tx
=
2
;
lte_param_init
(
n_tx
,
n_rx
,
transmission_mode
,
extended_prefix_flag
,
frame_type
,
Nid_cell
,
3
,
N_RB_DL
,
0
,
osf
,
0
);
lte_param_init
(
n_tx
,
n_tx
,
n_rx
,
transmission_mode
,
extended_prefix_flag
,
frame_type
,
Nid_cell
,
3
,
N_RB_DL
,
0
,
osf
,
0
);
eNB1
=
malloc
(
sizeof
(
PHY_VARS_eNB
));
eNB1
=
malloc
(
sizeof
(
PHY_VARS_eNB
));
eNB2
=
malloc
(
sizeof
(
PHY_VARS_eNB
));
eNB2
=
malloc
(
sizeof
(
PHY_VARS_eNB
));
...
...
openair1/SIMULATION/LTE_PHY/pdcchsim.c
View file @
918880e8
...
@@ -694,6 +694,7 @@ int main(int argc, char **argv)
...
@@ -694,6 +694,7 @@ int main(int argc, char **argv)
n_tx
=
2
;
n_tx
=
2
;
lte_param_init
(
n_tx
,
lte_param_init
(
n_tx
,
n_tx
,
n_rx
,
n_rx
,
transmission_mode
,
transmission_mode
,
extended_prefix_flag
,
extended_prefix_flag
,
...
@@ -737,7 +738,7 @@ int main(int argc, char **argv)
...
@@ -737,7 +738,7 @@ int main(int argc, char **argv)
subframe
,
NUMBER_OF_OFDM_CARRIERS
,
subframe
,
NUMBER_OF_OFDM_CARRIERS
,
eNB
->
frame_parms
.
Ncp
,
eNB
->
frame_parms
.
samples_per_tti
,
nsymb
);
eNB
->
frame_parms
.
Ncp
,
eNB
->
frame_parms
.
samples_per_tti
,
nsymb
);
eNB2UE
=
new_channel_desc_scm
(
eNB
->
frame_parms
.
nb_antennas_tx
_eNB
,
eNB2UE
=
new_channel_desc_scm
(
eNB
->
frame_parms
.
nb_antennas_tx
,
UE
->
frame_parms
.
nb_antennas_rx
,
UE
->
frame_parms
.
nb_antennas_rx
,
channel_model
,
channel_model
,
N_RB2sampling_rate
(
eNB
->
frame_parms
.
N_RB_DL
),
N_RB2sampling_rate
(
eNB
->
frame_parms
.
N_RB_DL
),
...
@@ -812,7 +813,7 @@ int main(int argc, char **argv)
...
@@ -812,7 +813,7 @@ int main(int argc, char **argv)
for
(
trial
=
0
;
trial
<
n_frames
;
trial
++
)
{
for
(
trial
=
0
;
trial
<
n_frames
;
trial
++
)
{
// printf("DCI (SF %d): txdataF %p (0 %p)\n",subframe,&eNB->common_vars.txdataF[eNb_id][aa][512*14*subframe],&eNB->common_vars.txdataF[eNb_id][aa][0]);
// printf("DCI (SF %d): txdataF %p (0 %p)\n",subframe,&eNB->common_vars.txdataF[eNb_id][aa][512*14*subframe],&eNB->common_vars.txdataF[eNb_id][aa][0]);
for
(
aa
=
0
;
aa
<
eNB
->
frame_parms
.
nb_antennas_tx
_eNB
;
aa
++
)
{
for
(
aa
=
0
;
aa
<
eNB
->
frame_parms
.
nb_antennas_tx
;
aa
++
)
{
memset
(
&
eNB
->
common_vars
.
txdataF
[
eNb_id
][
aa
][
0
],
0
,
FRAME_LENGTH_COMPLEX_SAMPLES_NO_PREFIX
*
sizeof
(
int32_t
));
memset
(
&
eNB
->
common_vars
.
txdataF
[
eNb_id
][
aa
][
0
],
0
,
FRAME_LENGTH_COMPLEX_SAMPLES_NO_PREFIX
*
sizeof
(
int32_t
));
}
}
...
@@ -958,7 +959,7 @@ int main(int argc, char **argv)
...
@@ -958,7 +959,7 @@ int main(int argc, char **argv)
tx_lev
=
0
;
tx_lev
=
0
;
for
(
aa
=
0
;
aa
<
eNB
->
lte_
frame_parms
.
nb_antenna_ports_eNB
;
aa
++
)
{
for
(
aa
=
0
;
aa
<
eNB
->
frame_parms
.
nb_antenna_ports_eNB
;
aa
++
)
{
if
(
eNB
->
frame_parms
.
Ncp
==
1
)
if
(
eNB
->
frame_parms
.
Ncp
==
1
)
PHY_ofdm_mod
(
&
eNB
->
common_vars
.
txdataF
[
eNb_id
][
aa
][
subframe
*
nsymb
*
eNB
->
frame_parms
.
ofdm_symbol_size
],
// input,
PHY_ofdm_mod
(
&
eNB
->
common_vars
.
txdataF
[
eNb_id
][
aa
][
subframe
*
nsymb
*
eNB
->
frame_parms
.
ofdm_symbol_size
],
// input,
&
txdata
[
aa
][
subframe
*
eNB
->
frame_parms
.
samples_per_tti
],
// output
&
txdata
[
aa
][
subframe
*
eNB
->
frame_parms
.
samples_per_tti
],
// output
...
...
openair1/SIMULATION/LTE_PHY/prachsim.c
View file @
918880e8
...
@@ -308,6 +308,7 @@ int main(int argc, char **argv)
...
@@ -308,6 +308,7 @@ int main(int argc, char **argv)
n_tx
=
2
;
n_tx
=
2
;
lte_param_init
(
n_tx
,
lte_param_init
(
n_tx
,
n_tx
,
n_rx
,
n_rx
,
transmission_mode
,
transmission_mode
,
extended_prefix_flag
,
extended_prefix_flag
,
...
...
openair1/SIMULATION/LTE_PHY/pucchsim.c
View file @
918880e8
...
@@ -296,6 +296,7 @@ int main(int argc, char **argv)
...
@@ -296,6 +296,7 @@ int main(int argc, char **argv)
n_tx
=
2
;
n_tx
=
2
;
lte_param_init
(
n_tx
,
lte_param_init
(
n_tx
,
n_tx
,
n_rx
,
n_rx
,
transmission_mode
,
transmission_mode
,
extended_prefix_flag
,
extended_prefix_flag
,
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
918880e8
...
@@ -680,7 +680,7 @@ int main(int argc, char **argv)
...
@@ -680,7 +680,7 @@ int main(int argc, char **argv)
}
}
// Create transport channel structures for 2 transport blocks (MIMO)
// Create transport channel structures for 2 transport blocks (MIMO)
for
(
i
=
0
;
i
<
2
;
i
++
)
{
for
(
i
=
0
;
i
<
2
;
i
++
)
{
eNB
->
dlsch
[
0
][
i
]
=
new_eNB_dlsch
(
1
,
8
,
1827072
,
N_RB_DL
,
0
,
eNB
->
frame_parms
);
eNB
->
dlsch
[
0
][
i
]
=
new_eNB_dlsch
(
1
,
8
,
1827072
,
N_RB_DL
,
0
,
&
eNB
->
frame_parms
);
UE
->
dlsch
[
0
][
i
]
=
new_ue_dlsch
(
1
,
8
,
1827072
,
MAX_TURBO_ITERATIONS
,
N_RB_DL
,
0
);
UE
->
dlsch
[
0
][
i
]
=
new_ue_dlsch
(
1
,
8
,
1827072
,
MAX_TURBO_ITERATIONS
,
N_RB_DL
,
0
);
if
(
!
eNB
->
dlsch
[
0
][
i
])
{
if
(
!
eNB
->
dlsch
[
0
][
i
])
{
...
...
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