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
wangjie
OpenXG-RAN
Commits
b06aa662
Commit
b06aa662
authored
Jul 15, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5506
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
7301e691
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+4
-4
No files found.
targets/RT/USER/lte-softmodem.c
View file @
b06aa662
...
...
@@ -2418,16 +2418,16 @@ void setup_eNB_buffers(PHY_VARS_eNB *phy_vars_eNB, LTE_DL_FRAME_PARMS *frame_par
#else // USRP
for
(
i
=
0
;
i
<
frame_parms
->
nb_antennas_rx
;
i
++
)
{
free
(
phy_vars_eNB
->
lte_eNB_common_vars
.
rxdata
[
0
][
i
]);
rxdata
=
(
s32
*
)
malloc16
(
samples_per_frame
*
sizeof
(
s32
));
rxdata
=
(
int32_t
*
)
malloc16
(
samples_per_frame
*
sizeof
(
int32_t
));
phy_vars_eNB
->
lte_eNB_common_vars
.
rxdata
[
0
][
i
]
=
rxdata
-
N_TA_offset
;
// N_TA offset for TDD
memset
(
rxdata
,
0
,
samples_per_frame
*
sizeof
(
s32
));
memset
(
rxdata
,
0
,
samples_per_frame
*
sizeof
(
int32_t
));
printf
(
"rxdata[%d] @ %p
\n
"
,
i
,
phy_vars_eNB
->
lte_eNB_common_vars
.
rxdata
[
0
][
i
]);
}
for
(
i
=
0
;
i
<
frame_parms
->
nb_antennas_tx
;
i
++
)
{
free
(
phy_vars_eNB
->
lte_eNB_common_vars
.
txdata
[
0
][
i
]);
txdata
=
(
s32
*
)
malloc16
(
samples_per_frame
*
sizeof
(
s32
));
txdata
=
(
int32_t
*
)
malloc16
(
samples_per_frame
*
sizeof
(
int32_t
));
phy_vars_eNB
->
lte_eNB_common_vars
.
txdata
[
0
][
i
]
=
txdata
;
memset
(
txdata
,
0
,
samples_per_frame
*
sizeof
(
s32
));
memset
(
txdata
,
0
,
samples_per_frame
*
sizeof
(
int32_t
));
printf
(
"txdata[%d] @ %p
\n
"
,
i
,
phy_vars_eNB
->
lte_eNB_common_vars
.
txdata
[
0
][
i
]);
}
#endif
...
...
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