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
canghaiwuhen
OpenXG-RAN
Commits
04029ab0
Commit
04029ab0
authored
Feb 15, 2017
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert bug fix for ue spec pilot allocation in dlsch_modulation
parent
fe83daa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+12
-4
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
04029ab0
...
@@ -1385,14 +1385,18 @@ x0[1+*jj]);
...
@@ -1385,14 +1385,18 @@ x0[1+*jj]);
//precoding UE spec RS
//precoding UE spec RS
//printf("precoding UE spec RS\n");
//printf("precoding UE spec RS\n");
//printf("lprime=%d, nb_rb=%d, mprime2=%d\n", lprime, dlsch0_harq->nb_rb, mprime2);
//printf("lprime=%d, nb_rb=%d, mprime2=%d\n", lprime, dlsch0_harq->nb_rb, mprime2);
if
((
skip_half
==
2
)
&&
((
lprime
==
0
)
||
(
lprime
==
2
)))
// PHY Test passed using rodez schwarz FSQ TM7 software
/* if ((skip_half==2) && ((lprime==0) || (lprime==2)))
mprime_half = 2;
mprime_half = 2;
else if ((skip_half==2) && ((lprime==1) || (lprime==3)))
else if ((skip_half==2) && ((lprime==1) || (lprime==3)))
mprime_half = 1 + frame_parms->Ncp;
mprime_half = 1 + frame_parms->Ncp;
else
else
mprime_half = 0;
mprime_half = 0;
ind
=
3
*
lprime
*
dlsch0_harq
->
nb_rb
+
mprime2
+
mprime_half
;
ind = 3*lprime*dlsch0_harq->nb_rb+mprime2+mprime_half;*/
ind
=
3
*
lprime
*
dlsch0_harq
->
nb_rb
+
mprime2
;
ind_dword
=
ind
>>
4
;
ind_dword
=
ind
>>
4
;
ind_qpsk_symb
=
ind
&
0xf
;
ind_qpsk_symb
=
ind
&
0xf
;
...
@@ -2157,14 +2161,18 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
...
@@ -2157,14 +2161,18 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
P1_SHIFT
,
P1_SHIFT
,
P2_SHIFT
);
P2_SHIFT
);
if
((
mimo_mode
==
TM7
)
&&
(
lprime
>=
0
))
mprime
+=
3
+
frame_parms
->
Ncp
;
}
}
else
{
else
{
// printf("Unallocated rb %d/symbol %d, re_offset %d, jj %d\n",rb,l,re_offset,jj);
// printf("Unallocated rb %d/symbol %d, re_offset %d, jj %d\n",rb,l,re_offset,jj);
}
}
re_offset
+=
12
;
// go to next RB
re_offset
+=
12
;
// go to next RB
if
((
mimo_mode
==
TM7
)
&&
(
lprime
>=
0
))
// PHY Test passed using rodez schwarz FSQ TM7 software
mprime
+=
3
+
frame_parms
->
Ncp
;
/*if ((mimo_mode == TM7) && (lprime>=0))
mprime += 3 + frame_parms->Ncp;*/
// check if we crossed the symbol boundary and skip DCs
// check if we crossed the symbol boundary and skip DCs
if
(
re_offset
>=
frame_parms
->
ofdm_symbol_size
)
{
if
(
re_offset
>=
frame_parms
->
ofdm_symbol_size
)
{
...
...
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