Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove time query from tx burst now #1

Open
guruofquality opened this issue Jul 21, 2015 · 0 comments
Open

remove time query from tx burst now #1

guruofquality opened this issue Jul 21, 2015 · 0 comments

Comments

@guruofquality
Copy link
Contributor

The transmit time is recorded in the burst now (aka without a timestamp). The purpose is to store it for the end of burst time to simulate waiting for the end of burst acknowledgement. The problem being that this imposes an extra readback wait to read the tx time, a wait that we otherwise dont need in most cases. Consider testing without the time read and changing the implementation.

   //pack the metadata
    if (not _inTxBurst)
    {
        md.flags |= BLADERF_META_FLAG_TX_BURST_START;
        if ((flags & SOAPY_SDR_HAS_TIME) != 0)
        {
            md.timestamp = _timeNsToTxTicks(timeNs);
        }
        else
        {
            md.flags |= BLADERF_META_FLAG_TX_NOW;
            bladerf_get_timestamp(_dev, BLADERF_MODULE_TX, &md.timestamp);
        }
        _txNextTicks = md.timestamp;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant