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
zzha zzha
OpenXG-RAN
Commits
f0394783
Commit
f0394783
authored
Jan 19, 2018
by
Hongzhi Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for small TBS
parent
90a0a87c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
+20
-4
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
View file @
f0394783
...
@@ -200,6 +200,8 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -200,6 +200,8 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
int16_t
z
[
68
*
128
];
int16_t
z
[
68
*
128
];
int8_t
l
[
68
*
128
];
int8_t
l
[
68
*
128
];
//__m128i l;
//__m128i l;
int16_t
inv_d
[
68
*
384
];
int16_t
*
p_invd
=&
inv_d
;
uint32_t
i
,
j
;
uint32_t
i
,
j
;
uint32_t
k
;
uint32_t
k
;
...
@@ -353,7 +355,7 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -353,7 +355,7 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
// p_decParams->Z = 128;
// p_decParams->Z = 128;
p_decParams
->
BG
=
1
;
p_decParams
->
BG
=
1
;
p_decParams
->
R
=
13
;
p_decParams
->
R
=
13
;
p_decParams
->
numMaxIter
=
2
;
p_decParams
->
numMaxIter
=
5
;
Kr
=
p_decParams
->
Z
*
22
;
Kr
=
p_decParams
->
Z
*
22
;
p_decParams
->
outMode
=
0
;
p_decParams
->
outMode
=
0
;
...
@@ -543,8 +545,14 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -543,8 +545,14 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
printf
(
"harq process dr iteration %d
\n
"
,
p_decParams
->
numMaxIter
);
printf
(
"harq process dr iteration %d
\n
"
,
p_decParams
->
numMaxIter
);
//66*p_decParams->Z
//66*p_decParams->Z
if
(
A
<
1000
){
for
(
int
cnt
=
0
;
cnt
<
66
*
p_decParams
->
Z
;
cnt
++
){
inv_d
[
cnt
]
=
(
-
1
)
*
harq_process
->
d
[
r
][
96
+
cnt
];
}
}
for
(
int
cnt
=
0
;
cnt
<
8
;
cnt
++
){
for
(
int
cnt
=
0
;
cnt
<
8
;
cnt
++
){
printf
(
"
%d
\n
"
,
harq_process
->
d
[
r
][
96
+
cnt
]);
printf
(
"
dr %d inv_d %d
\n
"
,
harq_process
->
d
[
r
][
96
+
cnt
],
inv_d
[
cnt
]);
}
}
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
@@ -579,11 +587,19 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -579,11 +587,19 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
memset
(
pv
,
0
,
2
*
p_decParams
->
Z
*
sizeof
(
int16_t
));
memset
(
pv
,
0
,
2
*
p_decParams
->
Z
*
sizeof
(
int16_t
));
//memset(pl,0,2*p_decParams->Z*sizeof(int8_t));
//memset(pl,0,2*p_decParams->Z*sizeof(int8_t));
if
(
A
<
1000
){
for
(
i
=
2
*
p_decParams
->
Z
/
8
,
j
=
0
;
i
<
(
68
*
p_decParams
->
Z
/
8
+
1
);
i
++
,
j
++
)
{
pv
[
i
]
=
_mm_loadu_si128
((
__m128i
*
)(
&
inv_d
[
8
*
j
]));
}
}
else
{
for
(
i
=
2
*
p_decParams
->
Z
/
8
,
j
=
0
;
i
<
(
68
*
p_decParams
->
Z
/
8
+
1
);
i
++
,
j
++
)
for
(
i
=
2
*
p_decParams
->
Z
/
8
,
j
=
0
;
i
<
(
68
*
p_decParams
->
Z
/
8
+
1
);
i
++
,
j
++
)
{
{
pv
[
i
]
=
_mm_loadu_si128
((
__m128i
*
)
&
harq_process
->
d
[
r
][
96
+
8
*
j
]);
pv
[
i
]
=
_mm_loadu_si128
((
__m128i
*
)
&
harq_process
->
d
[
r
][
96
+
8
*
j
]);
}
}
}
for
(
i
=
0
,
j
=
0
;
j
<
(
68
*
p_decParams
->
Z
/
16
);
i
+=
2
,
j
++
)
for
(
i
=
0
,
j
=
0
;
j
<
(
68
*
p_decParams
->
Z
/
16
);
i
+=
2
,
j
++
)
{
{
//printf("mm packs i %d j %d\n", i, j);
//printf("mm packs i %d j %d\n", i, j);
...
...
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