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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
5a444422
Commit
5a444422
authored
Jun 11, 2024
by
brobert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding noises_amp2 to the thread array
parent
1c1ebf5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
+7
-1
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+1
-0
No files found.
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
View file @
5a444422
...
...
@@ -89,6 +89,7 @@ static void inner_channel_estimation(void *arg) {
delay_t
*
delay
=
rdata
->
delay
;
delay_t
**
delays
=
rdata
->
delays
;
uint64_t
noise_amp2
=
rdata
->
noise_amp2
;
uint64_t
*
noises_amp2
=
rdata
->
noises_amp2
;
int
nest_count
=
rdata
->
nest_count
;
const
int
nushift
=
rdata
->
nushift
;
...
...
@@ -401,7 +402,8 @@ static void inner_channel_estimation(void *arg) {
// value update of rdata to be passed to the next inner call
rdata
->
max_ch
=
max_ch
;
// Placeholder for max channel value update
rdata
->
noise_amp2
=
noise_amp2
;
// Placeholder for noise amplitude squared update
noises_amp2
[
aarx
]
=
noise_amp2
;
rdata
->
noises_amp2
=
noises_amp2
;
// Placeholder for noise amplitude squared update
delays
[
aarx
]
=
delay
;
// Placeholder for estimated delay update
rdata
->
delays
=
delays
;
nest_count
=
rdata
->
nest_count
;
// Placeholder for nested count update
...
...
@@ -500,6 +502,9 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
int
nb_antennas_rx
=
gNB
->
frame_parms
.
nb_antennas_rx
;
delay_t
*
delays
[
nb_antennas_rx
];
memset
(
delays
,
0
,
sizeof
(
*
delays
));
uint64_t
noises_amp2
[
nb_antennas_rx
];
memset
(
noises_amp2
,
0
,
sizeof
(
noises_amp2
));
//
// max_ch array size of rx antennas
// noise_amp2 size of rx antennas
...
...
@@ -521,6 +526,7 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
rdata
->
aarx
=
aarx
;
rdata
->
nest_count
=
nest_count
;
rdata
->
noise_amp2
=
noise_amp2
;
// noise_amp2[aarx]
rdata
->
noises_amp2
=
noises_amp2
;
// Placeholder for noise amplitude squared update
rdata
->
max_ch
=
max_ch
;
// max_ch[aarx]
rdata
->
ul_ls_est
=
ul_ls_est
;
...
...
openair1/PHY/defs_gNB.h
View file @
5a444422
...
...
@@ -766,6 +766,7 @@ typedef struct {
delay_t
*
delay
;
delay_t
**
delays
;
uint64_t
noise_amp2
;
uint64_t
*
noises_amp2
;
uint64_t
*
nvar
;
int
nest_count
;
int
nushift
;
...
...
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