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
lizhongxiao
OpenXG-RAN
Commits
774b750c
Commit
774b750c
authored
Feb 22, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for mimo dlsim
parent
4fbf9ea1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-2
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+3
-0
No files found.
openair1/PHY/INIT/nr_init.c
View file @
774b750c
...
@@ -88,11 +88,10 @@ int init_codebook_gNB(PHY_VARS_gNB *gNB) {
...
@@ -88,11 +88,10 @@ int init_codebook_gNB(PHY_VARS_gNB *gNB) {
//Get the uniform planar array parameters
//Get the uniform planar array parameters
// To be confirmed
// To be confirmed
int
O2
=
N2
>
1
?
4
:
1
;
//Vertical beam oversampling (1 or 4)
int
O2
=
N2
>
1
?
4
:
1
;
//Vertical beam oversampling (1 or 4)
int
O1
=
CSI_RS_antenna_ports
>
2
?
4
:
1
;
//Horizontal beam oversampling (1 or 4)
int
O1
=
CSI_RS_antenna_ports
>
2
?
4
:
1
;
//Horizontal beam oversampling (1 or 4)
AssertFatal
(
CSI_RS_antenna_ports
==
N1
*
N2
*
x_polarization
,
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
"
,
"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
);
N1
*
N2
*
x_polarization
,
CSI_RS_antenna_ports
);
LOG_D
(
PHY
,
"NR Codebook Config: antenna ports: %d N1 %d N2 %d
\n
"
,
CSI_RS_antenna_ports
,
N1
,
N2
);
// Generation of codebook Type1 with codebookMode 1 (CSI_RS_antenna_ports < 16)
// Generation of codebook Type1 with codebookMode 1 (CSI_RS_antenna_ports < 16)
if
(
CSI_RS_antenna_ports
<
16
)
{
if
(
CSI_RS_antenna_ports
<
16
)
{
...
...
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
774b750c
...
@@ -781,6 +781,9 @@ int main(int argc, char **argv)
...
@@ -781,6 +781,9 @@ int main(int argc, char **argv)
pdsch_AntennaPorts
.
N1
=
n_tx
;
pdsch_AntennaPorts
.
N1
=
n_tx
;
pdsch_AntennaPorts
.
N2
=
1
;
pdsch_AntennaPorts
.
N2
=
1
;
pdsch_AntennaPorts
.
XP
=
1
;
pdsch_AntennaPorts
.
XP
=
1
;
gNB
->
ap_N1
=
pdsch_AntennaPorts
.
N1
;
gNB
->
ap_N2
=
pdsch_AntennaPorts
.
N2
;
gNB
->
ap_XP
=
pdsch_AntennaPorts
.
XP
;
fill_default_secondaryCellGroup
(
scc
,
scd
,
secondaryCellGroup
,
0
,
1
,
pdsch_AntennaPorts
,
6
,
0
,
0
,
0
,
0
);
fill_default_secondaryCellGroup
(
scc
,
scd
,
secondaryCellGroup
,
0
,
1
,
pdsch_AntennaPorts
,
6
,
0
,
0
,
0
,
0
);
...
...
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