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
549deb02
Commit
549deb02
authored
Sep 19, 2017
by
rdoost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implemented subframe processing flags in iris_lib
parent
dd2144d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
+8
-0
No files found.
targets/ARCH/IRIS/USERSPACE/LIB/iris_lib.cpp
View file @
549deb02
...
@@ -145,6 +145,14 @@ static int trx_iris_write(openair0_device *device, openair0_timestamp timestamp,
...
@@ -145,6 +145,14 @@ static int trx_iris_write(openair0_device *device, openair0_timestamp timestamp,
if
(
flags
)
if
(
flags
)
flag
|=
SOAPY_SDR_HAS_TIME
;
flag
|=
SOAPY_SDR_HAS_TIME
;
if
(
flags
==
2
||
flags
==
1
)
{
// start of burst
}
else
if
(
flags
==
3
||
flags
==
4
){
flag
|=
SOAPY_SDR_END_BURST
;
}
long
long
timeNs
=
SoapySDR
::
ticksToTimeNs
(
timestamp
,
s
->
sample_rate
/
SAMPLE_RATE_DOWN
);
long
long
timeNs
=
SoapySDR
::
ticksToTimeNs
(
timestamp
,
s
->
sample_rate
/
SAMPLE_RATE_DOWN
);
uint32_t
*
samps
[
2
];
//= (uint32_t **)buff;
uint32_t
*
samps
[
2
];
//= (uint32_t **)buff;
int
r
;
int
r
;
...
...
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