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
wangjie
OpenXG-RAN
Commits
104aa7ee
Commit
104aa7ee
authored
Mar 29, 2021
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gNB: fix precoding matrix related compile error
parent
d08bb68b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
+5
-5
No files found.
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
View file @
104aa7ee
...
@@ -412,9 +412,9 @@ uint8_t nr_generate_pdsch(PHY_VARS_gNB *gNB,
...
@@ -412,9 +412,9 @@ uint8_t nr_generate_pdsch(PHY_VARS_gNB *gNB,
///Layer Precoding and Antenna port mapping
///Layer Precoding and Antenna port mapping
// tx_layers 1-8 are mapped on antenna ports 1000-1007
// tx_layers 1-8 are mapped on antenna ports 1000-1007
// The precoding info is supported by nfapi such as num
PRGs, prgSize, and PMI
dx
// The precoding info is supported by nfapi such as num
_prgs, prg_size, prgs_list and pm_i
dx
// The same precoding matrix is applied on prg
S
ize RBs, Thus
// The same precoding matrix is applied on prg
_s
ize RBs, Thus
// pmi =
PMIdx[rbidx/prgSize]
, rbidx =0,...,rbSize-1
// pmi =
prgs_list[rbidx/prg_size].pm_idx
, rbidx =0,...,rbSize-1
// The Precoding matrix:
// The Precoding matrix:
// The Codebook Type I and Type II are not supported yet.
// The Codebook Type I and Type II are not supported yet.
// We adopt the precoding matrices of PUSCH for 4 layers.
// We adopt the precoding matrices of PUSCH for 4 layers.
...
@@ -426,8 +426,8 @@ uint8_t nr_generate_pdsch(PHY_VARS_gNB *gNB,
...
@@ -426,8 +426,8 @@ uint8_t nr_generate_pdsch(PHY_VARS_gNB *gNB,
for
(
int
rb
=
0
;
rb
<
rel15
->
rbSize
;
rb
++
)
{
for
(
int
rb
=
0
;
rb
<
rel15
->
rbSize
;
rb
++
)
{
//get pmi info
//get pmi info
uint8_t
pmi
;
uint8_t
pmi
;
if
(
rel15
->
precodingAndBeamforming
.
prg
S
ize
>
0
)
if
(
rel15
->
precodingAndBeamforming
.
prg
_s
ize
>
0
)
pmi
=
rel15
->
precodingAndBeamforming
.
PMIdx
[(
int
)
rb
/
rel15
->
precodingAndBeamforming
.
prgSize
]
;
pmi
=
rel15
->
precodingAndBeamforming
.
prgs_list
[(
int
)
rb
/
rel15
->
precodingAndBeamforming
.
prg_size
].
pm_idx
;
else
else
pmi
=
0
;
//no precoding
pmi
=
0
;
//no precoding
...
...
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