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
promise
OpenXG-RAN
Commits
8e81876d
Commit
8e81876d
authored
Oct 18, 2019
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated channel estimation
parent
1c5165c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
+9
-2
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
8e81876d
...
...
@@ -760,14 +760,21 @@ int nr_pdsch_channel_estimation(PHY_VARS_NR_UE *ue,
// Do the same for the 2 left over pilots if any (nb_rb_pdsch*12 mod 8)
if
((
nb_rb_pdsch
*
12
)
%
8
)
{
uint16_t
used_pils
=
(
nb_rb_pdsch
*
12
)
/
8
*
4
;
dl_ch
-=
16
;
for
(
uint8_t
idxPil
=
0
;
idxPil
<
4
;
idxPil
+=
2
)
{
rxF
=
(
int16_t
*
)
&
rxdataF
[
aarx
][(
symbol_offset
+
nushift
+
re_offset
)];
ch
[
idxPil
]
=
(
int16_t
)(((
int32_t
)
pil
[
used_pils
+
idxPil
]
*
rxF
[
0
]
-
(
int32_t
)
pil
[
used_pils
*
idxPil
+
1
]
*
rxF
[
1
])
>>
15
);
ch
[
idxPil
+
1
]
=
(
int16_t
)(((
int32_t
)
pil
[
used_pils
+
idxPil
]
*
rxF
[
1
]
+
(
int32_t
)
pil
[
used_pils
*
idxPil
+
1
]
*
rxF
[
0
])
>>
15
);
re_offset
=
(
re_offset
+
2
)
&
(
ue
->
frame_parms
.
ofdm_symbol_size
-
1
);
}
dl_ch
[
2
]
=
(
ch
[
0
]
+
ch
[
2
])
>>
1
;
dl_ch
[
3
]
=
(
ch
[
1
]
+
ch
[
3
])
>>
1
;
dl_ch
[
6
]
=
(
ch
[
4
]
+
ch
[
5
])
>>
1
;
dl_ch
[
7
]
=
(
ch
[
6
]
+
ch
[
7
])
>>
1
;
dl_ch
[
0
]
=
ch
[
0
];
dl_ch
[
1
]
=
ch
[
1
];
dl_ch
[
4
]
=
ch
[
5
];
dl_ch
[
4
]
=
ch
[
5
];
}
}
...
...
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