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
685483eb
Commit
685483eb
authored
4 years ago
by
Sakthivel Velumani
Committed by
Raymond Knopp
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated usrplib for b210
parent
9c32a864
testing_with_external_txdata
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
+4
-4
No files found.
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
View file @
685483eb
...
...
@@ -1265,8 +1265,8 @@ extern "C" {
LOG_I
(
HW
,
"Actual time source %s...
\n
"
,
s
->
usrp
->
get_time_source
(
0
).
c_str
());
sleep
(
1
);
// create tx & rx streamer
uhd
::
stream_args_t
stream_args_rx
(
"sc16"
,
"sc16"
);
if
((
device
->
type
==
USRP_B200_DEV
)
&&
((
int
)
openair0_cfg
[
0
].
sample_rate
==
61440000
))
/*
uhd::stream_args_t stream_args_rx("sc16", "sc16");
if ((device->type == USRP_B200_DEV) && ((int)openair0_cfg[0].sample_rate==61440000))
*/
uhd
::
stream_args_t
stream_args_rx
(
"sc16"
,
"sc12"
);
int
samples
=
openair0_cfg
[
0
].
sample_rate
;
int
max
=
s
->
usrp
->
get_rx_stream
(
stream_args_rx
)
->
get_max_num_samps
();
...
...
@@ -1284,8 +1284,8 @@ extern "C" {
stream_args_rx
.
channels
.
push_back
(
i
);
s
->
rx_stream
=
s
->
usrp
->
get_rx_stream
(
stream_args_rx
);
uhd
::
stream_args_t
stream_args_tx
(
"sc16"
,
"sc16"
);
if
((
device
->
type
==
USRP_B200_DEV
)
&&
((
int
)
openair0_cfg
[
0
].
sample_rate
==
61440000
))
/*
uhd::stream_args_t stream_args_tx("sc16", "sc16");
if ((device->type == USRP_B200_DEV) && ((int)openair0_cfg[0].sample_rate==61440000))
*/
uhd
::
stream_args_t
stream_args_tx
(
"sc16"
,
"sc12"
);
for
(
int
i
=
0
;
i
<
openair0_cfg
[
0
].
tx_num_channels
;
i
++
)
...
...
This diff is collapsed.
Click to expand it.
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