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
spbro
OpenXG-RAN
Commits
49d60500
Commit
49d60500
authored
Aug 08, 2022
by
Roberto Louro Magueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change array size from MAX_NUM_NR_SRS_AP to 1<<srs_pdu->num_ant_ports
parent
7e87265a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
+4
-4
openair1/PHY/NR_ESTIMATION/nr_ul_estimation.h
openair1/PHY/NR_ESTIMATION/nr_ul_estimation.h
+4
-4
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+4
-4
No files found.
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
View file @
49d60500
...
@@ -967,10 +967,10 @@ int nr_srs_channel_estimation(const PHY_VARS_gNB *gNB,
...
@@ -967,10 +967,10 @@ int nr_srs_channel_estimation(const PHY_VARS_gNB *gNB,
const
nr_srs_info_t
*
nr_srs_info
,
const
nr_srs_info_t
*
nr_srs_info
,
const
int32_t
**
srs_generated_signal
,
const
int32_t
**
srs_generated_signal
,
int32_t
srs_received_signal
[][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_received_signal
[][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_ls_estimated_channel
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_ls_estimated_channel
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_freq
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_freq
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_time
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time_shifted
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time_shifted
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
uint32_t
*
signal_power
,
uint32_t
*
signal_power
,
uint32_t
*
noise_power_per_rb
,
uint32_t
*
noise_power_per_rb
,
uint32_t
*
noise_power
,
uint32_t
*
noise_power
,
...
...
openair1/PHY/NR_ESTIMATION/nr_ul_estimation.h
View file @
49d60500
...
@@ -73,10 +73,10 @@ int nr_srs_channel_estimation(const PHY_VARS_gNB *gNB,
...
@@ -73,10 +73,10 @@ int nr_srs_channel_estimation(const PHY_VARS_gNB *gNB,
const
nr_srs_info_t
*
nr_srs_info
,
const
nr_srs_info_t
*
nr_srs_info
,
const
int32_t
**
srs_generated_signal
,
const
int32_t
**
srs_generated_signal
,
int32_t
srs_received_signal
[][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_received_signal
[][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_ls_estimated_channel
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_ls_estimated_channel
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_freq
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_freq
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
*
(
1
<<
srs_pdu
->
num_symbols
)],
int32_t
srs_estimated_channel_time
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time_shifted
[][
MAX_NUM_NR_SRS_AP
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
int32_t
srs_estimated_channel_time_shifted
[][
1
<<
srs_pdu
->
num_ant_ports
][
gNB
->
frame_parms
.
ofdm_symbol_size
],
uint32_t
*
signal_power
,
uint32_t
*
signal_power
,
uint32_t
*
noise_power_per_rb
,
uint32_t
*
noise_power_per_rb
,
uint32_t
*
noise_power
,
uint32_t
*
noise_power
,
...
...
openair1/SCHED_NR/phy_procedures_nr_gNB.c
View file @
49d60500
...
@@ -832,10 +832,10 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
...
@@ -832,10 +832,10 @@ int phy_procedures_gNB_uespec_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
nfapi_nr_srs_pdu_t
*
srs_pdu
=
&
srs
->
srs_pdu
;
nfapi_nr_srs_pdu_t
*
srs_pdu
=
&
srs
->
srs_pdu
;
uint8_t
N_symb_SRS
=
1
<<
srs_pdu
->
num_symbols
;
uint8_t
N_symb_SRS
=
1
<<
srs_pdu
->
num_symbols
;
int32_t
srs_received_signal
[
frame_parms
->
nb_antennas_rx
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
];
int32_t
srs_received_signal
[
frame_parms
->
nb_antennas_rx
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
];
int32_t
srs_ls_estimated_channel
[
frame_parms
->
nb_antennas_rx
][
MAX_NUM_NR_SRS_AP
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
];
int32_t
srs_ls_estimated_channel
[
frame_parms
->
nb_antennas_rx
][
1
<<
srs_pdu
->
num_ant_ports
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
];
int32_t
srs_estimated_channel_freq
[
frame_parms
->
nb_antennas_rx
][
MAX_NUM_NR_SRS_AP
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
]
__attribute__
((
aligned
(
32
)));
int32_t
srs_estimated_channel_freq
[
frame_parms
->
nb_antennas_rx
][
1
<<
srs_pdu
->
num_ant_ports
][
frame_parms
->
ofdm_symbol_size
*
N_symb_SRS
]
__attribute__
((
aligned
(
32
)));
int32_t
srs_estimated_channel_time
[
frame_parms
->
nb_antennas_rx
][
MAX_NUM_NR_SRS_AP
][
frame_parms
->
ofdm_symbol_size
]
__attribute__
((
aligned
(
32
)));
int32_t
srs_estimated_channel_time
[
frame_parms
->
nb_antennas_rx
][
1
<<
srs_pdu
->
num_ant_ports
][
frame_parms
->
ofdm_symbol_size
]
__attribute__
((
aligned
(
32
)));
int32_t
srs_estimated_channel_time_shifted
[
frame_parms
->
nb_antennas_rx
][
MAX_NUM_NR_SRS_AP
][
frame_parms
->
ofdm_symbol_size
];
int32_t
srs_estimated_channel_time_shifted
[
frame_parms
->
nb_antennas_rx
][
1
<<
srs_pdu
->
num_ant_ports
][
frame_parms
->
ofdm_symbol_size
];
uint32_t
noise_power_per_rb
[
srs_pdu
->
bwp_size
];
uint32_t
noise_power_per_rb
[
srs_pdu
->
bwp_size
];
int8_t
snr_per_rb
[
srs_pdu
->
bwp_size
];
int8_t
snr_per_rb
[
srs_pdu
->
bwp_size
];
uint32_t
signal_power
;
uint32_t
signal_power
;
...
...
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