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
lizhongxiao
OpenXG-RAN
Commits
d8f6c1c8
Commit
d8f6c1c8
authored
Feb 09, 2024
by
Laurent THOMAS
Committed by
laurent
Feb 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mr2553 fix b210 usrp tx sample error compemsation
parent
28425d4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
radio/USRP/usrp_lib.cpp
radio/USRP/usrp_lib.cpp
+2
-2
No files found.
radio/USRP/usrp_lib.cpp
View file @
d8f6c1c8
...
...
@@ -428,7 +428,7 @@ static int trx_usrp_write(openair0_device *device,
int
flags
)
{
int
ret
=
0
;
usrp_state_t
*
s
=
(
usrp_state_t
*
)
device
->
priv
;
timestamp
-=
device
->
openair0_cfg
->
command_line_sample_advance
-
device
->
openair0_cfg
->
tx_sample_advance
;
timestamp
-=
device
->
openair0_cfg
->
command_line_sample_advance
+
device
->
openair0_cfg
->
tx_sample_advance
;
int
nsamps2
;
// aligned to upper 32 or 16 byte boundary
radio_tx_burst_flag_t
flags_burst
=
(
radio_tx_burst_flag_t
)
(
flags
&
0xf
);
...
...
@@ -1317,7 +1317,7 @@ extern "C" {
case
46080000
:
s
->
usrp
->
set_master_clock_rate
(
46.08e6
);
//openair0_cfg[0].samples_per_packet = 1024;
openair0_cfg
[
0
].
tx_sample_advance
=
1
1
5
;
openair0_cfg
[
0
].
tx_sample_advance
=
1
7
5
;
openair0_cfg
[
0
].
tx_bw
=
40e6
;
openair0_cfg
[
0
].
rx_bw
=
40e6
;
break
;
...
...
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