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
ZhouShuya
OpenXG-RAN
Commits
214f019b
Commit
214f019b
authored
Sep 26, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
printouts to help me
parent
e1d8a145
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+12
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
214f019b
...
@@ -612,7 +612,7 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -612,7 +612,7 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
uint8_t
precoder_index0
;
uint8_t
precoder_index0
;
int
use2ndpilots
=
(
frame_parms
->
mode1_flag
==
1
)
?
1
:
0
;
int
use2ndpilots
=
(
frame_parms
->
mode1_flag
==
1
)
?
1
:
0
;
int
cnt
;
uint32_t
tti_offset
;
//,aa;
uint32_t
tti_offset
;
//,aa;
uint8_t
re
;
uint8_t
re
;
uint8_t
qam64_table_offset_re
=
0
;
uint8_t
qam64_table_offset_re
=
0
;
...
@@ -1759,6 +1759,16 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -1759,6 +1759,16 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
/* pointer to the frequency domain Tx signal */
/* pointer to the frequency domain Tx signal */
txdataF
[
p
][
tti_offset
]
=
qpsk_p
[(
phy_vars_eNB
->
lte_gold_uespec_table
[
nscid
][
Ns
][
0
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
))
&
3
]
;
txdataF
[
p
][
tti_offset
]
=
qpsk_p
[(
phy_vars_eNB
->
lte_gold_uespec_table
[
nscid
][
Ns
][
0
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
))
&
3
]
;
if
(
p
==
7
){
if
(
lprime
==
0
){
cnt
++
;
}
printf
(
"information : p %d, lprime %d, w %d, mprime2 %d, qpsk_p[pos] %d , qpsk_p[re] %d, qpsk_p[im] %d
\n
"
,
p
,
lprime
,
w
,
mprime2
,
(
phy_vars_eNB
->
lte_gold_uespec_table
[
nscid
][
Ns
][
0
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
))
&
3
,
((
int16_t
*
)
&
qpsk
[
phy_vars_eNB
->
lte_gold_uespec_table
[
nscid
][
Ns
][
0
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
)
&
3
])[
0
],
((
int16_t
*
)
&
qpsk
[
phy_vars_eNB
->
lte_gold_uespec_table
[
nscid
][
Ns
][
0
][
ind_dword
]
>>
(
2
*
ind_qpsk_symb
)
&
3
])[
1
]);
printf
(
"txdataF[re] %d, p %d, tti_offset %d
\n
"
,
((
int16_t
*
)
&
txdataF
[
p
][
tti_offset
])[
0
],
p
,
tti_offset
);
printf
(
"txdataF[im] %d, p %d, tti_offset %d
\n
"
,
((
int16_t
*
)
&
txdataF
[
p
][
tti_offset
])[
1
],
p
,
tti_offset
);
printf
(
"symbol_offset %d, re_off %d, re %d
\n
"
,
symbol_offset
,
re_off
,
re
);
printf
(
"nscid %d, Ns %d, ind_dword %d
\n
"
,
nscid
,
Ns
,
ind_dword
);
}
}
}
}
}
mprime2
++
;
mprime2
++
;
...
@@ -1769,6 +1779,7 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -1769,6 +1779,7 @@ int allocate_REs_in_RB(PHY_VARS_eNB *phy_vars_eNB,
}
}
}
}
}
}
printf
(
"cnt %d
\n
"
,
cnt
);
return
(
0
);
return
(
0
);
}
}
...
...
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