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
9bd28ec1
Commit
9bd28ec1
authored
Nov 24, 2015
by
lukashov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge with master
parent
4e9670b5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
12 deletions
+15
-12
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
+2
-2
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+3
-3
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+8
-6
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+2
-1
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
View file @
9bd28ec1
...
...
@@ -428,8 +428,8 @@ void lte_ue_measurements(PHY_VARS_UE *phy_vars_ue,
phy_vars_ue
->
PHY_measurements
.
rank
[
eNB_id
]
=
0
;
else
phy_vars_ue
->
PHY_measurements
.
rank
[
eNB_id
]
=
1
;
printf
(
"tx mode %d
\n
"
,
phy_vars_ue
->
transmission_mode
[
eNB_id
]);
printf
(
"rank %d
\n
"
,
phy_vars_ue
->
PHY_measurements
.
rank
[
eNB_id
]);
//
printf ("tx mode %d\n", phy_vars_ue->transmission_mode[eNB_id]);
//
printf ("rank %d\n", phy_vars_ue->PHY_measurements.rank[eNB_id]);
switch
(
N_RB_DL
)
{
case
6
:
...
...
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
9bd28ec1
...
...
@@ -4631,7 +4631,7 @@ int generate_ue_dlsch_params_from_dci(int frame,
}
}
else
{
LOG_E
(
PHY
,
"UE: Format2
A
DCI: unsupported number of TX antennas %d
\n
"
,
frame_parms
->
nb_antennas_tx_eNB
);
LOG_E
(
PHY
,
"UE: Format2 DCI: unsupported number of TX antennas %d
\n
"
,
frame_parms
->
nb_antennas_tx_eNB
);
}
break
;
...
...
@@ -4694,7 +4694,7 @@ int generate_ue_dlsch_params_from_dci(int frame,
}
}
else
{
LOG_E
(
PHY
,
"UE: Format2
A
DCI: unsupported number of TX antennas %d
\n
"
,
frame_parms
->
nb_antennas_tx_eNB
);
LOG_E
(
PHY
,
"UE: Format2 DCI: unsupported number of TX antennas %d
\n
"
,
frame_parms
->
nb_antennas_tx_eNB
);
}
break
;
...
...
@@ -4921,7 +4921,7 @@ int generate_ue_dlsch_params_from_dci(int frame,
dlsch1_harq
->
mcs
=
mcs2
;
if
(
dlsch1_harq
->
nb_rb
>
1
)
{
dlsch1_harq
->
TBS
=
TBStable
[
dlsch1_harq
->
mcs
][
dlsch1_harq
->
nb_rb
-
1
];
dlsch1_harq
->
TBS
=
TBStable
[
get_I_TBS
(
dlsch1_harq
->
mcs
)
][
dlsch1_harq
->
nb_rb
-
1
];
if
(
mcs2
<=
28
)
dlsch1_harq
->
Qm
=
get_Qm
(
mcs2
);
else
if
(
mcs1
<=
31
)
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
View file @
9bd28ec1
...
...
@@ -344,7 +344,7 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
frame_parms
,
symbol
,
first_symbol_flag
,
get_Qm
(
dlsch0_harq
->
mcs
)
,
dlsch0_harq
->
Qm
,
nb_rb
,
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
,
phy_measurements
);
// log2_maxh+I0_shift
...
...
@@ -407,16 +407,18 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
// effective channel of desired user is always stronger than interfering eff. channel
dlsch_channel_level_TM34
(
lte_ue_pdsch_vars
[
eNB_id
]
->
dl_ch_estimates_ext
,
frame_parms
,
avg
,
symbol
,
nb_rb
,
avg
,
symbol
,
nb_rb
,
dlsch0_harq
->
mimo_mode
);
/*
if
(
rx_type
>
rx_standard
)
{
// LOG_D(PHY,"llr_offset = %d\n",offset_mumimo_llr_drange[dlsch0_harq->mcs][(dlsch1_harq->mcs>>1)-1]);
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
=
log2_approx
(
avg
[
0
])
-
13
+
offset_mumimo_llr_drange
[
dlsch0_harq
->
mcs
][(
get_Qm
(
dlsch1_harq
->
mcs
)
>>
1
)
-
1
];
}
else
*/
lte_ue_pdsch_vars
[
eNB_id
]
->
log2_maxh
=
log2_approx
(
avg
[
0
])
/
2
;
}
...
...
@@ -426,8 +428,8 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
phy_measurements
,
eNB_id
,
symbol
,
get_Qm
(
dlsch0_harq
->
mcs
)
,
get_Qm
(
dlsch1_harq
->
mcs
)
,
dlsch0_harq
->
Qm
,
dlsch1_harq
->
Qm
,
harq_pid
,
dlsch0_harq
->
round
,
dlsch0_harq
->
mimo_mode
,
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
9bd28ec1
...
...
@@ -410,6 +410,7 @@ int main(int argc, char **argv)
case
'M'
:
mcs2
=
atoi
(
optarg
);
i_mod
=
get_Qm
(
mcs2
);
/// think here again!!!
break
;
case
't'
:
...
...
@@ -1782,7 +1783,7 @@ n(tikz_fname,"w");
((
DCI2_20MHz_2A_FDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
ndi2
=
1
;
((
DCI2_20MHz_2A_FDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
rv2
=
0
;
((
DCI2_20MHz_2A_FDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tb_swap
=
0
;
((
DCI2_20MHz_2A_TDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
=
0
;
((
DCI2_20MHz_2A_TDD_t
*
)
&
DLSCH_alloc_pdu_1
[
k
])
->
tpmi
=
0
;
break
;
}
}
...
...
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