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
常顺宇
OpenXG-RAN
Commits
957cdbab
Commit
957cdbab
authored
Mar 07, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes bug in ulsim for 2 antenna RX.
parent
bcaabe51
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
+1
-1
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
+1
-1
openair1/PHY/MODULATION/slot_fep_ul.c
openair1/PHY/MODULATION/slot_fep_ul.c
+2
-0
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+3
-3
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
View file @
957cdbab
...
...
@@ -291,7 +291,7 @@ int32_t temp_in_ifft_0[2048*2] __attribute__((aligned(32)));
#ifdef DEBUG_CH
if
(
aa
==
0
)
{
if
(
aa
==
1
)
{
if
(
Ns
==
0
)
{
write_output
(
"rxdataF_ext.m"
,
"rxF_ext"
,
&
rxdataF_ext
[
aa
][
symbol_offset
],
512
*
2
,
2
,
1
);
write_output
(
"tmpin_ifft.m"
,
"drs_in"
,
temp_in_ifft_0
,
512
,
1
,
1
);
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation.c
View file @
957cdbab
...
...
@@ -1395,7 +1395,7 @@ void rx_ulsch_emul(PHY_VARS_eNB *eNB,
if
(
eNB
->
frame_parms
.
nb_antennas_rx
>
1
)
{
sprintf
(
fname
,
"/tmp/rxsigF1_ext_r%d.m"
,
round
);
sprintf
(
vname
,
"rxsF1_ext_r%d"
,
round
);
write_output
(
fname
,
vname
,
&
eNB
->
pusch_vars
[
UE_id
]
->
rxdataF_ext
[
0
][
0
],
eNB
->
frame_parms
.
N_RB_UL
*
12
*
nsymb
,
1
,
1
);
write_output
(
fname
,
vname
,
&
eNB
->
pusch_vars
[
UE_id
]
->
rxdataF_ext
[
1
][
0
],
eNB
->
frame_parms
.
N_RB_UL
*
12
*
nsymb
,
1
,
1
);
}
/*
if (eNB->srs_vars[UE_id].srs_ch_estimates) write_output("/tmp/srs_est0.m","srsest0",eNB->srs_vars[UE_id].srs_ch_estimates[0],eNB->frame_parms.ofdm_symbol_size,1,1);
...
...
openair1/PHY/MODULATION/slot_fep_ul.c
View file @
957cdbab
...
...
@@ -24,6 +24,8 @@
#include "defs.h"
//#define DEBUG_FEP
int
slot_fep_ul
(
RU_t
*
ru
,
unsigned
char
l
,
unsigned
char
Ns
,
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
957cdbab
...
...
@@ -859,8 +859,8 @@ int main(int argc, char **argv)
printf
(
"PUSCH Beta : ACK %f, RI %f, CQI %f
\n
"
,(
double
)
beta_ack
[
beta_ACK
]
/
8
,(
double
)
beta_ri
[
beta_RI
]
/
8
,(
double
)
beta_cqi
[
beta_CQI
]
/
8
);
UE2eNB
=
new_channel_desc_scm
(
eNB
->
frame_parms
.
nb_antennas_tx
,
UE
->
frame_parms
.
nb_antennas
_rx
,
UE2eNB
=
new_channel_desc_scm
(
1
,
n
_rx
,
channel_model
,
N_RB2sampling_rate
(
eNB
->
frame_parms
.
N_RB_UL
),
N_RB2channel_bandwidth
(
eNB
->
frame_parms
.
N_RB_UL
),
...
...
@@ -1330,7 +1330,7 @@ int main(int argc, char **argv)
printf
(
"SNRmeas %f
\n
"
,
SNRmeas
);
write_output
(
"rxsig0UL.m"
,
"rxs0"
,
&
ru
->
common
.
rxdata
[
0
][
eNB
->
frame_parms
.
samples_per_tti
*
subframe
],
eNB
->
frame_parms
.
samples_per_tti
,
1
,
1
);
// write_output("rxsig1UL.m","rxs1", &ru->common_vars.rxdata[0
][eNB->frame_parms.samples_per_tti*subframe],eNB->frame_parms.samples_per_tti,1,1);
if
(
eNB
->
frame_parms
.
nb_antennas_rx
>
1
)
write_output
(
"rxsig1UL.m"
,
"rxs1"
,
&
ru
->
common
.
rxdata
[
1
][
eNB
->
frame_parms
.
samples_per_tti
*
subframe
],
eNB
->
frame_parms
.
samples_per_tti
,
1
,
1
);
}
...
...
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