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
e5908bfd
Commit
e5908bfd
authored
Mar 12, 2017
by
Elena_Lukashova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a bug in conjch0_mult_ch1
parent
14d927d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
+3
-3
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
View file @
e5908bfd
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#define DEBUG_MEAS_RRC
#define DEBUG_MEAS_RRC
#define DEBUG_MEAS_UE
#define DEBUG_MEAS_UE
#define DEBUG_RANK_EST
//
#define DEBUG_RANK_EST
#ifdef USER_MODE
#ifdef USER_MODE
void
print_shorts
(
char
*
s
,
short
*
x
)
void
print_shorts
(
char
*
s
,
short
*
x
)
...
@@ -550,7 +550,7 @@ void lte_ue_measurements(PHY_VARS_UE *ue,
...
@@ -550,7 +550,7 @@ void lte_ue_measurements(PHY_VARS_UE *ue,
}
//eNB_id
}
//eNB_id
eNB_id
=
0
;
if
(
ue
->
transmission_mode
[
0
]
==
4
||
ue
->
transmission_mode
[
0
]
==
3
){
if
(
ue
->
transmission_mode
[
0
]
==
4
||
ue
->
transmission_mode
[
0
]
==
3
){
rank_tm3_tm4
=
rank_estimation_tm3_tm4
(
&
ue
->
common_vars
.
common_vars_rx_data_per_thread
[
subframe
&
0x1
].
dl_ch_estimates
[
eNB_id
][
0
][
4
],
rank_tm3_tm4
=
rank_estimation_tm3_tm4
(
&
ue
->
common_vars
.
common_vars_rx_data_per_thread
[
subframe
&
0x1
].
dl_ch_estimates
[
eNB_id
][
0
][
4
],
&
ue
->
common_vars
.
common_vars_rx_data_per_thread
[
subframe
&
0x1
].
dl_ch_estimates
[
eNB_id
][
2
][
4
],
&
ue
->
common_vars
.
common_vars_rx_data_per_thread
[
subframe
&
0x1
].
dl_ch_estimates
[
eNB_id
][
2
][
4
],
...
@@ -1112,7 +1112,7 @@ void construct_HhH_elements(int *ch0conj_ch0, //00_00
...
@@ -1112,7 +1112,7 @@ void construct_HhH_elements(int *ch0conj_ch0, //00_00
for
(
rb
=
0
;
rb
<
3
*
nb_rb
;
rb
++
)
{
for
(
rb
=
0
;
rb
<
3
*
nb_rb
;
rb
++
)
{
after_mf_00_128
[
0
]
=
_mm_adds_epi16
(
_mm_srai_epi16
(
ch0conj_ch0_128
[
0
],
1
),
_mm_srai_epi16
(
ch3conj_ch3_128
[
0
],
1
)
);
// _mm_adds_epi32(ch0conj_ch0_128[0], ch3conj_ch3_128[0]); //00_00 + 10_10
after_mf_00_128
[
0
]
=
_mm_adds_epi16
(
ch0conj_ch0_128
[
0
],
ch3conj_ch3_128
[
0
]
);
// _mm_adds_epi32(ch0conj_ch0_128[0], ch3conj_ch3_128[0]); //00_00 + 10_10
after_mf_11_128
[
0
]
=
_mm_adds_epi16
(
ch1conj_ch1_128
[
0
],
ch2conj_ch2_128
[
0
]);
//01_01 + 11_11
after_mf_11_128
[
0
]
=
_mm_adds_epi16
(
ch1conj_ch1_128
[
0
],
ch2conj_ch2_128
[
0
]);
//01_01 + 11_11
after_mf_01_128
[
0
]
=
_mm_adds_epi16
(
ch0conj_ch1_128
[
0
],
ch2conj_ch3_128
[
0
]);
//00_01 + 10_11
after_mf_01_128
[
0
]
=
_mm_adds_epi16
(
ch0conj_ch1_128
[
0
],
ch2conj_ch3_128
[
0
]);
//00_01 + 10_11
after_mf_10_128
[
0
]
=
_mm_adds_epi16
(
ch1conj_ch0_128
[
0
],
ch3conj_ch2_128
[
0
]);
//01_00 + 11_10
after_mf_10_128
[
0
]
=
_mm_adds_epi16
(
ch1conj_ch0_128
[
0
],
ch3conj_ch2_128
[
0
]);
//01_00 + 11_10
...
...
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