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
c542d985
Commit
c542d985
authored
Aug 17, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixes
parent
ba37d9d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+8
-7
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
c542d985
...
...
@@ -39,7 +39,7 @@
#include "defs.h"
#include "UTIL/LOG/vcd_signal_dumper.h"
#define DEBUG_DLSCH_MODULATION
//
#define DEBUG_DLSCH_MODULATION
//#define is_not_pilot(pilots,re,nushift,use2ndpilots) ((pilots==0) || ((re!=nushift) && (re!=nushift+6)&&((re!=nushift+3)||(use2ndpilots==1))&&((re!=nushift+9)||(use2ndpilots==1)))?1:0)
...
...
@@ -1725,25 +1725,26 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
}
}
else
{
for
(
p
=
7
;
p
<
8
;
p
++
)
{
for
(
p
=
7
;
p
<
9
;
p
++
)
{
if
(
p
==
first_layer0
||
p
==
first_layer1
)
{
if
(
frame_parms
->
Ncp
==
0
)
{
if
(
frame_parms
->
Ncp
==
0
)
{
//normal CP
ind
=
3
*
lprime
*
dlsch0_harq
->
nb_rb
+
3
*
rb
+
mprime2
;
ind_dword
=
ind
>>
4
;
ind_qpsk_symb
=
ind
&
0xf
;
if
(((
mprime2
+
rb
)
%
1
2
)
==
0
)
{
if
(((
mprime2
+
rb
)
%
2
)
==
0
)
{
w
=
Wbar_NCP
[
p
-
7
][
lprime
]
;
}
else
{
w
=
Wbar_NCP
[
p
-
7
][
3
-
lprime
]
;
}
}
else
{
}
else
{
//extended CP
// this is very likely wrong as the Wbar table is different for extended CP
ind
=
4
*
lprime
*
dlsch0_harq
->
nb_rb
+
4
*
rb
+
mprime2
;
ind_dword
=
ind
>>
4
;
ind_qpsk_symb
=
ind
&
0xf
;
int
l
=
lprime
%
2
;
if
((
mprime2
%
1
2
)
==
0
)
{
if
((
mprime2
%
2
)
==
0
)
{
w
=
Wbar_NCP
[
p
-
7
][
l
]
;
}
else
{
w
=
Wbar_NCP
[
p
-
7
][
1
-
l
]
;
...
...
@@ -1753,9 +1754,9 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
/* pointer to the frequency domain Tx signal */
txdataF
[
p
][
tti_offset
]
=
qpsk_p
[(
phy_vars_eNB
->
lte_gold_uespec_table
[
0
][
Ns
][
lprime
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
))
&
3
]
;
mprime2
++
;
}
}
mprime2
++
;
}
}
else
if
(
mimo_mode
>=
TM9_10
)
{
printf
(
"allocate_REs_in_RB() [dlsch.c] : ERROR, unknown mimo_mode %d
\n
"
,
mimo_mode
);
...
...
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