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
7db69e3a
Commit
7db69e3a
authored
Nov 21, 2017
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MPDCCH resource element fix
parent
7451f4c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair1/PHY/LTE_TRANSPORT/edci.c
openair1/PHY/LTE_TRANSPORT/edci.c
+2
-2
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+3
-1
No files found.
openair1/PHY/LTE_TRANSPORT/edci.c
View file @
7db69e3a
...
@@ -449,7 +449,7 @@ void generate_mdci_top(PHY_VARS_eNB * eNB, int frame, int subframe, int16_t amp,
...
@@ -449,7 +449,7 @@ void generate_mdci_top(PHY_VARS_eNB * eNB, int frame, int subframe, int16_t amp,
// add MPDCCH pilots
// add MPDCCH pilots
int
reset
=
1
;
int
reset
=
1
;
//
gain_lin_QPSK*=2;
gain_lin_QPSK
*=
2
;
for
(
i
=
0
;
i
<
(
24
*
6
);
i
+=
2
)
{
for
(
i
=
0
;
i
<
(
24
*
6
);
i
+=
2
)
{
if
((
i
&
0x1f
)
==
0
)
{
if
((
i
&
0x1f
)
==
0
)
{
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
...
@@ -458,7 +458,7 @@ void generate_mdci_top(PHY_VARS_eNB * eNB, int frame, int subframe, int16_t amp,
...
@@ -458,7 +458,7 @@ void generate_mdci_top(PHY_VARS_eNB * eNB, int frame, int subframe, int16_t amp,
((
int16_t
*
)
&
yIQ
)[
0
]
=
(((
s
>>
(
i
&
0x1f
))
&
1
)
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
yIQ
)[
0
]
=
(((
s
>>
(
i
&
0x1f
))
&
1
)
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
yIQ
)[
1
]
=
(((
s
>>
((
i
+
1
)
&
0x1f
))
&
1
)
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
((
int16_t
*
)
&
yIQ
)[
1
]
=
(((
s
>>
((
i
+
1
)
&
0x1f
))
&
1
)
==
1
)
?
-
gain_lin_QPSK
:
gain_lin_QPSK
;
txF
[
mpdcch_dmrs_tab
[(
i
>>
1
)]]
=
yIQ
;
txF
[
mpdcch_dmrs_tab
[(
i
>>
1
)]]
=
yIQ
;
txF
[
mpdcch_dmrs_tab
[
1
+
(
i
>>
1
)]]
=
yIQ
;
txF
[
1
+
mpdcch_dmrs_tab
[
(
i
>>
1
)]]
=
yIQ
;
LOG_D
(
PHY
,
"mpdcch_dmrs pos %d: %d => (%d,%d)
\n
"
,
i
,
off
+
mpdcch_dmrs_tab
[(
i
>>
1
)],
((
int16_t
*
)
&
yIQ
)[
0
],
((
int16_t
*
)
&
yIQ
)[
1
]);
LOG_D
(
PHY
,
"mpdcch_dmrs pos %d: %d => (%d,%d)
\n
"
,
i
,
off
+
mpdcch_dmrs_tab
[(
i
>>
1
)],
((
int16_t
*
)
&
yIQ
)[
0
],
((
int16_t
*
)
&
yIQ
)[
1
]);
}
}
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
7db69e3a
...
@@ -399,7 +399,9 @@ phy_procedures_eNB_TX (PHY_VARS_eNB * eNB, eNB_rxtx_proc_t * proc, relaying_type
...
@@ -399,7 +399,9 @@ phy_procedures_eNB_TX (PHY_VARS_eNB * eNB, eNB_rxtx_proc_t * proc, relaying_type
if
(
num_mdci
>
0
)
{
if
(
num_mdci
>
0
)
{
LOG_I
(
PHY
,
"[eNB %"
PRIu8
"] Frame %d, subframe %d: Calling generate_mdci_top (mpdcch) (num_dci %"
PRIu8
")
\n
"
,
eNB
->
Mod_id
,
frame
,
subframe
,
num_mdci
);
LOG_I
(
PHY
,
"[eNB %"
PRIu8
"] Frame %d, subframe %d: Calling generate_mdci_top (mpdcch) (num_dci %"
PRIu8
")
\n
"
,
eNB
->
Mod_id
,
frame
,
subframe
,
num_mdci
);
generate_mdci_top
(
eNB
,
frame
,
subframe
,
AMP
,
eNB
->
common_vars
.
txdataF
);
generate_mdci_top
(
eNB
,
frame
,
subframe
,
AMP
*
3
/
4
,
eNB
->
common_vars
.
txdataF
);
//write_output("/tmp/mpdcch.m","mpdcch_txF",(void*)&eNB->common_vars.txdataF[0][subframe*14*1024],14*1024,1,1);
//exit(-1);
}
}
#endif
#endif
// Now scan UE specific DLSCH
// Now scan UE specific DLSCH
...
...
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