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
4fbf9ea1
Commit
4fbf9ea1
authored
Feb 21, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for 2 antenna ports
parent
77c8439b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+2
-2
No files found.
openair1/PHY/INIT/nr_init.c
View file @
4fbf9ea1
...
...
@@ -74,6 +74,7 @@ int l1_north_init_gNB() {
int
init_codebook_gNB
(
PHY_VARS_gNB
*
gNB
)
{
if
(
gNB
->
frame_parms
.
nb_antennas_tx
>
1
){
int
CSI_RS_antenna_ports
=
gNB
->
frame_parms
.
nb_antennas_tx
;
//NR Codebook Generation for codebook type1 SinglePanel
int
N1
=
gNB
->
ap_N1
;
int
N2
=
gNB
->
ap_N2
;
...
...
@@ -87,8 +88,7 @@ int init_codebook_gNB(PHY_VARS_gNB *gNB) {
//Get the uniform planar array parameters
// To be confirmed
int
O2
=
N2
>
1
?
4
:
1
;
//Vertical beam oversampling (1 or 4)
int
O1
=
4
;
//Horizontal beam oversampling (1 or 4)
int
CSI_RS_antenna_ports
=
gNB
->
frame_parms
.
nb_antennas_tx
;
int
O1
=
CSI_RS_antenna_ports
>
2
?
4
:
1
;
//Horizontal beam oversampling (1 or 4)
AssertFatal
(
CSI_RS_antenna_ports
==
N1
*
N2
*
x_polarization
,
"Nb of antenna ports at PHY %d does not correspond to what passed down with fapi %d
\n
"
,
N1
*
N2
*
x_polarization
,
CSI_RS_antenna_ports
);
...
...
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