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
e24847b1
Commit
e24847b1
authored
Dec 02, 2015
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing last commit
parent
992b32a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/LTE_TRANSPORT/proto.h
+1
-1
openair1/PHY/LTE_TRANSPORT/uci_tools.c
openair1/PHY/LTE_TRANSPORT/uci_tools.c
+3
-1
No files found.
openair1/PHY/LTE_TRANSPORT/proto.h
View file @
e24847b1
...
...
@@ -1603,7 +1603,7 @@ uint16_t computeRIV(uint16_t N_RB_DL,uint16_t RBstart,uint16_t Lcrbs);
@param rank (0 or 1)
@returns subband PMI bitmap
*/
uint32_t
pmi_extend
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint8_t
wideband_pmi
,
u
ni
t8_t
rank
);
uint32_t
pmi_extend
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint8_t
wideband_pmi
,
u
in
t8_t
rank
);
/** \brief This routine extracts a single subband PMI from a bitmap coming from UCI or the pmi_extend function
@param N_RB_DL number of resource blocks
...
...
openair1/PHY/LTE_TRANSPORT/uci_tools.c
View file @
e24847b1
...
...
@@ -178,6 +178,7 @@ void extract_CQI(void *o,UCI_format_t uci_format,LTE_eNB_UE_stats *stats, uint8_
//unsigned char rank;
//UCI_format fmt;
//uint8_t N_RB_DL = 25;
uint8_t
i
;
LOG_D
(
PHY
,
"[eNB][UCI] N_RB_DL %d uci format %d
\n
"
,
N_RB_DL
,
uci_format
);
switch
(
N_RB_DL
)
{
...
...
@@ -287,8 +288,9 @@ void extract_CQI(void *o,UCI_format_t uci_format,LTE_eNB_UE_stats *stats, uint8_
stats
->
DL_pmi_dual
=
((
wideband_cqi_rank2_2A_5MHz
*
)
o
)
->
pmi
;
//this translates the 2-layer PMI into a single layer PMI for the first codeword
//the PMI for the second codeword will be stats->DL_pmi_single^0x1555
stats
->
DL_pmi_single
=
0
;
for
(
i
=
0
;
i
<
7
;
i
++
)
stats
->
DL_pmi_single
&
(
1
<<
(
2
*
i
))
=
(
stats
->
DL_pmi_dual
&
(
1
<
i
))
*
2
;
stats
->
DL_pmi_single
=
stats
->
DL_pmi_single
|
(((
stats
->
DL_pmi_dual
&
(
1
<
i
))
>>
i
)
*
2
)
<<
2
*
i
;
break
;
case
HLC_subband_cqi_nopmi
:
...
...
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