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
promise
OpenXG-RAN
Commits
4ba0e233
Commit
4ba0e233
authored
May 19, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5330
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
a055962b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
+8
-4
No files found.
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
View file @
4ba0e233
...
...
@@ -235,7 +235,7 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *phy_vars_eNB,
unsigned
int
sumKr
=
0
;
unsigned
int
Qprime
,
L
,
G
,
Q_CQI
,
Q_RI
,
H
,
Hprime
,
Hpp
,
Cmux
,
Rmux_prime
,
O_RCC
;
unsigned
int
Qprime_ACK
,
Qprime_CQI
,
Qprime_RI
,
len_ACK
=
0
,
len_RI
=
0
;
uint8_t
q_ACK
[
MAX_ACK_PAYLOAD
],
q_RI
[
MAX_RI_PAYLOAD
];
//
uint8_t q_ACK[MAX_ACK_PAYLOAD],q_RI[MAX_RI_PAYLOAD];
int
metric
,
metric_new
;
uint8_t
o_flip
[
8
];
uint32_t
x1
,
x2
,
s
=
0
;
...
...
@@ -437,6 +437,8 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *phy_vars_eNB,
start_meas
(
&
phy_vars_eNB
->
ulsch_demultiplexing_stats
);
i
=
0
;
memset
(
y
,
LTE_NULL
,
Q_m
*
Hpp
);
/*
// Do RI coding
if (ulsch->O_RI == 1) {
switch (Q_m) {
...
...
@@ -467,7 +469,7 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *phy_vars_eNB,
LOG_E(PHY,"ulsch_decoding: FATAL, RI cannot be more than 1 bit yet\n");
return(-1);
}
// 1-bit ACK/NAK
if (ulsch->harq_processes[harq_pid]->O_ACK == 1) {
switch (Q_m) {
...
...
@@ -551,11 +553,13 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *phy_vars_eNB,
LOG_E(PHY,"ulsch_decoding: FATAL, ACK cannot be more than 2 bits yet\n");
return(-1);
}
// RI BITS
memset
(
y
,
LTE_NULL
,
Q_m
*
Hpp
);
// memset(ytag2,0,Q_m*Hpp);
// memset(ytag2,0,Q_m*Hpp);
*/
// read in buffer and unscramble llrs for everything but placeholder bits
// llrs stored per symbol correspond to columns of interleaving matrix
...
...
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