
During shutdown of TX or RX, the host may stop supplying or retrieving sample data some time before a stop request causes the M0 to be set back to idle mode. This makes it common for a spurious shortfall to occur during shutdown, giving the misleading impression that there has been a throughput problem. In fact, the final shortfall is simply an artifact. This commit detects when this happens, and excludes the spurious shortfall from the stats. To implement this, we back up the shortfall stats whenever a new shortfall begins. If the new shortfall later turns out to be spurious, as indicated by a transition to IDLE while it is ongoing, then we roll back the stats to their previous values. We actually only need to back up previous longest shortfall length. To get a previous shortfall count, can simply to subtract one from the current shortfall count. This change adds four cycles to the two shortfall paths - a load and store to back up the previous longest shortfall length.
HackRF
This repository contains hardware designs and software for HackRF, a low cost, open source Software Defined Radio platform.
(photo by fd0 from https://github.com/fd0/hackrf-one-pictures)
principal author: Michael Ossmann mike@ossmann.com
Information on HackRF and purchasing HackRF: https://greatscottgadgets.com/hackrf/
Documentation
Documentation for HackRF can be viewed on Read the Docs. The raw documenation files for HackRF are in the docs folder in this repository and can be built locally by installing Sphinx Docs and running make html
. Documentation changes can be submitted through pull request and suggestions can be made as GitHub issues.
Getting Help
Before asking for help with HackRF, check to see if your question is listed in the FAQ.
For assistance with HackRF general use or development, please look at the issues on the GitHub project. This is the preferred place to ask questions so that others may locate the answer to your question in the future.
We invite you to join our community discussions on Discord. Note that while technical support requests are welcome here, we do not have support staff on duty at all times. Be sure to also submit an issue on GitHub if you've found a bug or if you want to ensure that your request will be tracked and not overlooked.
If you wish to see past discussions and questions about HackRF, you may also view the mailing list archives.
GitHub issues on this repository that are labelled "technical support" by Great Scott Gadgets employees can expect a response time of two weeks. We currently do not have expected response times for other GitHub issues or pull requests for this repository.