Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
0c6015cf
Commit
0c6015cf
authored
Oct 03, 2017
by
Cédric Roux
Browse files
bugfix
parent
6eed836f
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
0c6015cf
...
...
@@ -1676,13 +1676,13 @@ void fill_ulsch_cqi_indication(PHY_VARS_eNB *eNB,uint16_t frame,uint8_t subframe
else
pdu
->
cqi_indication_rel9
.
data_offset
=
1
;
// fill in after all cqi_indications have been generated when non-zero
// by default set O to rank 1 value
pdu
->
cqi_indication_rel9
.
length
=
(
ulsch_harq
->
Or1
>>
3
)
+
(
ulsch_harq
->
Or1
&
7
)
>
0
?
1
:
0
;
pdu
->
cqi_indication_rel9
.
length
=
(
ulsch_harq
->
Or1
>>
3
)
+
(
(
ulsch_harq
->
Or1
&
7
)
>
0
?
1
:
0
)
;
pdu
->
cqi_indication_rel9
.
ri
[
0
]
=
0
;
// if we have RI bits, set them and if rank2 overwrite O
if
(
ulsch_harq
->
O_RI
>
0
)
{
pdu
->
cqi_indication_rel9
.
ri
[
0
]
=
ulsch_harq
->
o_RI
[
0
];
if
(
ulsch_harq
->
o_RI
[
0
]
==
2
)
pdu
->
cqi_indication_rel9
.
length
=
(
ulsch_harq
->
Or2
>>
3
)
+
(
ulsch_harq
->
Or2
&
7
)
>
0
?
1
:
0
;
if
(
ulsch_harq
->
o_RI
[
0
]
==
2
)
pdu
->
cqi_indication_rel9
.
length
=
(
ulsch_harq
->
Or2
>>
3
)
+
(
(
ulsch_harq
->
Or2
&
7
)
>
0
?
1
:
0
)
;
pdu
->
cqi_indication_rel9
.
timing_advance
=
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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