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
006af697
Commit
006af697
authored
Oct 16, 2018
by
Wolfgang A. Mozart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
write out for txdataF_BF and txdata and minor fix for uhd load
parent
26418275
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+1
-1
targets/RT/USER/nr-ru.c
targets/RT/USER/nr-ru.c
+8
-4
No files found.
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
006af697
...
...
@@ -1039,7 +1039,7 @@ extern "C" {
if
(
device_adds
.
size
()
==
0
)
{
double
usrp_master_clock
=
184.32e6
;
std
::
string
args
=
"type=x300
, addr=192.168.30.2
"
;
std
::
string
args
=
"type=x300"
;
// workaround for an api problem, master clock has to be set with the constructor not via set_master_clock_rate
args
+=
boost
::
str
(
boost
::
format
(
",master_clock_rate=%f"
)
%
usrp_master_clock
);
...
...
targets/RT/USER/nr-ru.c
View file @
006af697
...
...
@@ -854,12 +854,16 @@ void tx_rf(RU_t *ru) {
// prepare tx buffer pointers
if
(
emulate_rf
)
{
if
(
proc
->
frame_tx
<
2
)
for
(
i
=
0
;
i
<
ru
->
nb_tx
;
i
++
)
{
if
(
proc
->
frame_tx
>
0
&&
proc
->
frame_tx
<
2
)
{
LOG_M
(
"txdataF_frame.m"
,
"txdataF_frame"
,
&
ru
->
common
.
txdataF_BF
[
i
],
fp
->
samples_per_subframe_wCP
,
1
,
1
);
LOG_M
(
"txdata_frame.m"
,
"txdata_frame"
,
&
ru
->
common
.
txdata
[
i
],
fp
->
samples_per_subframe
,
1
,
1
);
LOG_M
(
"txdataF_frame.m"
,
"txdataF_frame"
,
&
ru
->
common
.
txdataF_BF
[
i
][
0
],
fp
->
samples_per_subframe_wCP
,
1
,
1
);
LOG_M
(
"txdata_frame.m"
,
"txdata_frame"
,
&
ru
->
common
.
txdata
[
i
][(
proc
->
subframe_tx
*
fp
->
samples_per_subframe
)
-
sf_extension
],
fp
->
samples_per_subframe
,
1
,
1
);
}
else
if
(
proc
->
frame_tx
>=
2
)
oai_exit
=
1
;
}
else
oai_exit
=
1
;
txs
=
siglen
+
sf_extension
;
}
else
{
...
...
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