Commit 549deb02 authored by rdoost's avatar rdoost

implemented subframe processing flags in iris_lib

parent dd2144d9
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment