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
c08b399c
Commit
c08b399c
authored
Jan 15, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reducing ldpc logs
parent
9f7207ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
6 deletions
+30
-6
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
+5
-5
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
+25
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
View file @
c08b399c
...
@@ -687,13 +687,13 @@ int dlsch_encoding(PHY_VARS_eNB *eNB,
...
@@ -687,13 +687,13 @@ int dlsch_encoding(PHY_VARS_eNB *eNB,
printf
(
"Encoding ... iind %d f1 %d, f2 %d
\n
"
,
iind
,
f1f2mat_old
[
iind
*
2
],
f1f2mat_old
[(
iind
*
2
)
+
1
]);
printf
(
"Encoding ... iind %d f1 %d, f2 %d
\n
"
,
iind
,
f1f2mat_old
[
iind
*
2
],
f1f2mat_old
[(
iind
*
2
)
+
1
]);
#endif
#endif
start_meas
(
te_stats
);
start_meas
(
te_stats
);
printf
(
"start turbo encoder kr %d kr>>3 %d
\n
"
,
Kr
,
Kr
>>
3
);
/*
printf("start turbo encoder kr %d kr>>3 %d\n", Kr, Kr>>3);
for (int tbc_counter = 0; tbc_counter< Kr; tbc_counter++){
for (int tbc_counter = 0; tbc_counter< Kr; tbc_counter++){
printf("turbo tbc number %d input %d\n",tbc_counter, dlsch->harq_processes[harq_pid]->c[r][tbc_counter]);
printf("turbo tbc number %d input %d\n",tbc_counter, dlsch->harq_processes[harq_pid]->c[r][tbc_counter]);
}
}
*/
printf
(
"start encoder kr %d kr>>3 %d
\n
"
,
Kr
,
Kr
>>
3
);
printf
(
"start encoder kr %d kr>>3 %d
\n
"
,
Kr
,
Kr
>>
3
);
for
(
int
tbs_counter
=
0
;
tbs_counter
<
Kr
>>
3
;
tbs_counter
++
){
for
(
int
tbs_counter
=
0
;
tbs_counter
<
8
;
tbs_counter
++
){
printf
(
"%d
\n
"
,
dlsch
->
harq_processes
[
harq_pid
]
->
c
[
r
][
tbs_counter
]);
printf
(
"%d
\n
"
,
dlsch
->
harq_processes
[
harq_pid
]
->
c
[
r
][
tbs_counter
]);
}
}
...
@@ -720,11 +720,11 @@ int dlsch_encoding(PHY_VARS_eNB *eNB,
...
@@ -720,11 +720,11 @@ int dlsch_encoding(PHY_VARS_eNB *eNB,
printf
(
"end ldpc encoder -- output
\n
"
);
printf
(
"end ldpc encoder -- output
\n
"
);
//printf("output %d %d %d %d %d \n", dlsch->harq_processes[harq_pid]->d[r][96], dlsch->harq_processes[harq_pid]->d[r][96+1], dlsch->harq_processes[harq_pid]->d[r][96+2],dlsch->harq_processes[harq_pid]->d[r][96+3], dlsch->harq_processes[harq_pid]->d[r][96+4]);
//printf("output %d %d %d %d %d \n", dlsch->harq_processes[harq_pid]->d[r][96], dlsch->harq_processes[harq_pid]->d[r][96+1], dlsch->harq_processes[harq_pid]->d[r][96+2],dlsch->harq_processes[harq_pid]->d[r][96+3], dlsch->harq_processes[harq_pid]->d[r][96+4]);
for
(
int
cnt
=
0
;
cnt
<
66
*
128
;
cnt
++
){
/*
for (int cnt =0 ; cnt < 66*128; cnt ++){
printf("%d \n", dlsch->harq_processes[harq_pid]->d[r][96+cnt]);
printf("%d \n", dlsch->harq_processes[harq_pid]->d[r][96+cnt]);
}
}
printf
(
"
\n
"
);
printf("\n");
*/
stop_meas
(
te_stats
);
stop_meas
(
te_stats
);
#ifdef DEBUG_DLSCH_CODING
#ifdef DEBUG_DLSCH_CODING
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
View file @
c08b399c
...
@@ -537,8 +537,9 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -537,8 +537,9 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
LOG_D
(
PHY
,
"AbsSubframe %d.%d Start turbo segment %d/%d
\n
"
,
frame
%
1024
,
nr_tti_rx
,
r
,
harq_process
->
C
-
1
);
LOG_D
(
PHY
,
"AbsSubframe %d.%d Start turbo segment %d/%d
\n
"
,
frame
%
1024
,
nr_tti_rx
,
r
,
harq_process
->
C
-
1
);
printf
(
"harq process dr
\n
"
);
printf
(
"harq process dr
\n
"
);
//66*p_decParams->Z
for
(
int
cnt
=
0
;
cnt
<
66
*
p_decParams
->
Z
;
cnt
++
){
for
(
int
cnt
=
0
;
cnt
<
8
;
cnt
++
){
printf
(
"%d
\n
"
,
harq_process
->
d
[
r
][
96
+
cnt
]);
printf
(
"%d
\n
"
,
harq_process
->
d
[
r
][
96
+
cnt
]);
}
}
...
@@ -592,8 +593,31 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
...
@@ -592,8 +593,31 @@ uint32_t dlsch_decoding(PHY_VARS_UE *phy_vars_ue,
&
pl
[
0
],
&
pl
[
0
],
llrProcBuf
,
llrProcBuf
,
p_procTime
);
p_procTime
);
for
(
int
m
=
0
;
m
<
Kr
>>
3
;
m
++
)
{
harq_process
->
c
[
r
][
m
]
=
(
uint8_t
)
llrProcBuf
[
m
];
}
for
(
int
u
=
0
;
u
<
Kr
>>
3
;
u
++
)
{
ullrProcBuf
[
u
]
=
(
uint8_t
)
llrProcBuf
[
u
];
}
printf
(
"output unsigned ullrProcBuf
\n
"
);
for
(
int
j
=
0
;
j
<
Kr
>>
3
;
j
++
)
{
printf
(
" %d
\n
"
,
ullrProcBuf
[
j
]);
}
printf
(
"
\n
"
);
#endif
#endif
printf
(
"output decoder %d %d %d %d %d
\n
"
,
harq_process
->
c
[
r
][
0
],
harq_process
->
c
[
r
][
1
],
harq_process
->
c
[
r
][
2
],
harq_process
->
c
[
r
][
3
],
harq_process
->
c
[
r
][
4
]);
#if UE_TIMING_TRACE
#if UE_TIMING_TRACE
stop_meas
(
dlsch_turbo_decoding_stats
);
stop_meas
(
dlsch_turbo_decoding_stats
);
...
...
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