Which SDR should be selected for a protocol experiment? Frequency range and sample rate are only the beginning. The radio must also deliver samples reliably and respond at the time required by the protocol. This guide connects those requirements to practical hardware checks, using the Wi-Fi porting and Bluetooth timing discussion as examples.
- Executive Summary
- What must the radio actually do ?
- Frequency coverage is only the beginning
- How much data must reach the host ?
- Can the radio respond before the deadline ?
- Where should the PHY and lower MAC run ?
- Will multiple channels stay aligned ?
- What did the Wi-Fi porting experiment establish ?
- How should a candidate be qualified ?
- Reference
Executive Summary
Start with the operation that must work, then check the hardware and software needed to support it.
Selection question | Evidence to request |
|---|---|
Can it receive the signal? | Tuning range, usable bandwidth, noise performance and verified sample continuity |
Can it transmit a usable waveform? | Output power, linearity, filtering and independent RF decoding |
Can it respond in time? | Measured receive-to-transmit turnaround at the antenna, jitter and late-response handling |
Can the required processing run near the radio? | Working firmware/FPGA access or a documented controller interface |
Does the software support this configuration? | Board revision, driver, SDK, firmware, operating system and tested channel count |
What must the radio actually do ?
A radio can receive a Wi-Fi beacon and still fail to operate as a Wi-Fi station. That difference matters when selecting hardware. The first task is to define the required operation, including the response that follows reception.
Passive reception can tolerate processing delay if the samples remain continuous and timestamped. Offline analysis can tolerate even more delay. A connected device has additional obligations: it must send valid responses, track state and meet the peer's timing rules. These requirements change the hardware selection.
Intended use | Main selection constraint | Useful first demonstration |
|---|---|---|
Spectrum viewing or recorded IQ analysis | Frequency coverage, dynamic range and capture bandwidth | Known signal captured without clipping or sample loss |
Continuous broadcast or beacon reception | Sustained processing and stable sample timing | Long-duration decoding with timestamps and gap counters |
Scheduled waveform generation | TX timing, waveform quality and clock stability | Independent capture of burst start and end |
Interactive Wi-Fi or Bluetooth connection | Receive-to-response latency and controller functions | Valid reply at the required time, followed by a complete connection |
Coherent multi-channel measurements | Clock distribution, phase stability and calibration | Repeated alignment and phase measurements across channels |
Write the target band, channel bandwidth, number of simultaneous streams and required protocol mode before comparing products. Include the expected host and software stack. A single-channel demonstration does not qualify a two-radio experiment, and an AP demonstration does not automatically qualify every station feature.
Keep the acceptance result explicit. For a Wi-Fi station, discovery, authentication, association, WPA completion and encrypted traffic are separate milestones. An IP connectivity test comes after the radio link succeeds. This makes an incomplete result useful without calling it a working adapter.
Select for the required exchange. Receiving a signal proves only part of an interactive protocol.Define success before choosing hardware. Use observable milestones rather than the presence of an API or connector.
Frequency coverage is only the beginning
The front end must cover the required frequency, but tuning alone does not establish usable reception or transmission. Filters, gain, bandwidth and signal quality also matter. Check these properties at the actual operating frequency and signal level.
Distinguish tuning range, instantaneous analog bandwidth and sample rate. A wide tuning range does not mean the receiver can capture that whole range at once. A complex sample rate describes the IQ stream; the usable passband is narrower when filter transition regions and implementation margins are included.
Property | What to verify |
|---|---|
RX and TX range | Both directions cover the band; external filters and amplifiers also support it |
Instantaneous bandwidth | The complete waveform fits inside the usable passband |
Supported sample rates | The exact rate is accepted and read back; any required resampling is implemented |
ADC/DAC and dynamic range | Clipping, effective resolution, noise floor and strong-signal behavior |
TX quality | Packet power, EVM, frequency error, spurs and spectral shape |
Ports and duplex operation | Physical connector mapping, simultaneous operation and receiver recovery after TX |
The porting experiment used a 30.72 Msps radio stream and a 20 Msps Wi-Fi PHY. Filtered resampling connected the two rates. That conversion adds processing and filter delay, so it belongs in both the CPU budget and timing measurements. Selecting an exact native rate can simplify this path, but does not solve protocol timing by itself.
Gain is not output power. A TX gain setting must be interpreted through the particular radio and calibration. Likewise, a high RX gain can cause clipping rather than improve decoding. An antenna demonstrated with LTE or NR below 6 GHz does not establish its gain or matching at every Wi-Fi frequency.
For a conducted test, calculate expected receiver input power from measured transmitter power, cable loss and attenuation. Check both the receiver damage limit and its linear operating range. A direct SMA connection is not automatically a valid test merely because a low gain value was selected.
A conducted link also exposes what the transmitter does while it is supposed to be idle. In the cabled two-radio tests, an idle transmitter at a high gain setting still put an unmodulated carrier on the cable: the peer received a tone a few kHz from its center frequency that carried most of its received power. A constant tone has the same short-term periodicity that an OFDM short-preamble detector looks for, so the peer's detector fired almost continuously and its decoder fell behind. A narrow DC notch, placed so that its nulls fell on the subcarrier spacing, removed the effect.
Check how a radio blanks its transmitter between bursts. In the same tests, the idle-blanking method used by the radio module gated the TX path without clearing earlier samples, and old frames were transmitted again: one authentication request was decoded 31 times by the peer. Writing explicit zero samples during idle periods removed the repeats. Neither problem was visible in software loopback tests.
Qualify the complete RF path. Include antennas, cables, filters, gain settings and port selection.Measure power and waveform quality. A software gain readback is not a calibrated packet-power measurement.Check the idle transmitter too. Carrier leakage and incomplete blanking can disturb a receiver as much as a bad packet.
How much data must reach the host ?
A sample rate becomes a transport requirement only after the sample format and channel count are known. The host must sustain this load while decoding, encoding and handling both directions. Peak interface speed is not sufficient evidence.
For one direction, payload rate = sample rate x bytes per complex sample x channel count. CS16 uses two 16-bit components, or 4 bytes per complex sample. CF32 uses two 32-bit floats, or 8 bytes. The following values are calculated payload rates, before transport headers or additional memory copies.
30.72 Msps configuration | CS16 | CF32 |
|---|---|---|
One channel, one direction | 122.88 MB/s | 245.76 MB/s |
One RX channel plus one TX channel | 245.76 MB/s | 491.52 MB/s |
Two RX channels plus two TX channels | 491.52 MB/s | 983.04 MB/s |
The host API format may differ from the format on the cable or DMA interface. A driver can transport integers and convert them into floats. Measure interface throughput and memory traffic separately. Include resampling, format conversion, decoding, logging and storage when testing the intended application.
Buffers help absorb scheduling variation, but queued samples also create delay. At 30.72 Msps, 2048 samples span about 66.7 us, while 256 samples span about 8.33 us. Neither number alone establishes the age of the samples when the application receives them. Partial delivery, staging and the sample position inside a block change that age.
In the porting tests, a stream advertised an MTU of 2048 samples but returned 256 samples with a low-latency setting. Treating MTU divided by rate as a hard lower bound would therefore have been wrong. A short read-call duration also does not prove a short RF-to-host delay: the data may already be queued.
Run continuous RX and TX with the intended number of radios. Record actual sample counts, timestamp continuity, overflow, underflow and abrupt termination flags. Repeat under the expected CPU load. A setting that reduces latency for one radio may produce sample loss when another stream starts.
Smaller receive blocks can also shrink the total buffering. If a driver keeps a fixed number of DMA buffers, reducing the block size reduces the whole ring in proportion. In the porting tests, 256-sample blocks left about 1.25 ms of buffering at 30.72 Msps, while the default 2048-sample blocks left about 10 ms. A deliberate one-time reader stall measured the difference directly: with the small blocks, a 1.0 ms stall was absorbed and a 1.2 ms stall lost samples; with the default blocks, a 9 ms stall was absorbed. Lower delivery latency was bought with lower tolerance to host scheduling jitter.
A higher sample rate does not shorten these time intervals. When the hardware buffer unit is defined in time rather than in samples, raising the rate only puts more samples into each unit, and the host has more data to move and filter. For a 20 MHz Wi-Fi channel the extra rate is oversampling; it does not bring the response any closer to the deadline.
Budget each representation. The wire format and host format may have different data rates.Measure sample age and continuity. Buffer size and API-call duration answer different questions.Measure stall tolerance. A deliberate pause in the reader shows how much host jitter the buffering absorbs.
Can the radio respond before the deadline ?
Some packets must be answered soon after their final received bit. The response depends on the packet just received, so it cannot always be scheduled far in advance. This is where an otherwise capable SDR can become unsuitable for a particular implementation.
Figure 1 shows the work that remains after the incoming packet ends. Processing can overlap reception, so the labels represent the residual critical path, not necessarily five fully separate stages. The outgoing waveform must reach the antenna at the protocol's required time.
Figure 1. A future TX timestamp helps only if the response reaches the radio before its deadline.
Example | Timing reference | Selection implication |
|---|---|---|
5 GHz legacy OFDM Wi-Fi | ACK starts after nominal 16 us SIFS, measured from received frame end | Host delivery, decision and TX turnaround must fit the immediate response |
Connected LE ACL, default spacing | Next packet starts after a 150 us interframe gap | SN/NESN acknowledgment still needs timely controller processing |
Classic Bluetooth, one-slot exchange | Reply starts 625 us after the outgoing packet starts | Available end-to-start gap depends on packet airtime |
LTE / NR scheduled operation | Timing depends on direction, procedure, configuration and numerology | Use the target stack's actual scheduling and processing requirements |
A 16 us SIFS specifies when the ACK starts, not when it finishes. For example, a 6 Mbps legacy OFDM ACK occupies 44 us and ends 60 us after the preceding frame ends. See the Wi-Fi timing diagrams for the assumptions and timing tolerances.
Bluetooth also has strict lower-layer timing. A Basic Rate DH1 packet lasting 366 us leaves 259 us before a one-slot reply at 625 us. LE uses a different end-to-start interval. Core v6.0 introduced negotiated frame spacing for applicable connections; fixed-spacing exchanges remain. See Bluetooth acknowledgment and timing and the Frame Space Update reference.
These numbers are not interchangeable latency budgets. They use different reference points and conditions. Timing tolerances allow bounded implementation error, not an arbitrary software delay. A working LTE/NR installation therefore cannot, by itself, establish Wi-Fi or Bluetooth response capability.
The reason is who sets the deadline. In LTE and NR, the network schedules transmissions ahead of time and chooses the feedback delays. In NR, the HARQ-ACK timing (K1) and the uplink grant timing (K2) are signaled in slots by the base station, which can pick values that cover its own processing pipeline. Shorter slots at higher numerology raise the processing load, but they do not force the base station to react within microseconds. Wi-Fi and Bluetooth fix the response interval in the standard and expect the reply to start on time.
Property | LTE / NR on a host | Wi-Fi / Bluetooth lower MAC |
|---|---|---|
Who sets the response delay | The network, in slots, within the protocol's ranges | The standard (for example, SIFS or the LE interframe space) |
Can transmissions be prepared early | Yes; slots are known before they are on air | Only partly; the reply depends on a packet that has just arrived |
What a slow host costs | Longer configured delays or lower throughput | Missed replies, retries and failed connections |
Host processing can meet an immediate-response deadline only when the radio interface itself adds very little delay. The Sora research system (Tan et al., NSDI 2009) interoperated with commercial 802.11 adapters from a multi-core PC. It dedicated processor cores to the radio, precomputed responses and used its own PCIe radio board with small buffers. A stream-oriented SDR that requires TX samples to be queued well ahead of air time cannot reproduce that result in software alone.
Measure at the antenna timebase. Application timestamps alone cannot separate host delay from radio delay.Check worst-case variation. A good average can hide missed protocol deadlines.
Where should the PHY and lower MAC run ?
The location of processing determines which delays enter the response path. A host can perform flexible signal processing, while local logic can react without a host round trip. The right split depends on the required protocol and the functions the hardware exposes.
Figure 2 compares an IQ interface with a frame interface. Both can be useful, but they place different responsibilities on the application. Replacing frequency and gain calls does not move the PHY or acknowledgment logic automatically.
Figure 2. Local response logic can remove host transport from the immediate acknowledgment path.
Original openwifi uses FPGA PHY and lower-MAC processing with a Linux mac80211 driver. Its supported designs include Zynq-based boards with AD9361/AD9364 front ends. The project documentation identifies FPGA DCF processing and supported board combinations. Sharing an RF chip does not make another board compatible with its FPGA image or driver.
openwifi is host-controlled but FPGA-timed. Its Linux driver exchanges whole frames with the FPGA and writes timing parameters into FPGA registers, such as the ACK wait windows, DIFS and CSMA settings. The FPGA logic then performs the ACK, carrier sensing and backoff at run time. A port that moves the PHY and acknowledgment decision onto a PC keeps the Linux side but not that timing.
An FPGA on the product sheet is not enough. Check whether source, tool versions, board interfaces and image-loading procedures are available. Confirm that custom logic can access samples, timing and RF control. A closed FPGA may provide excellent streaming while offering no practical place to add a Wi-Fi lower MAC.
SoapySDR provides device control and streaming interfaces. Its Device API exposes capabilities such as channel enumeration, sample rates, stream timestamps and status. These interfaces do not promise a particular latency or implement a Wi-Fi ACK engine. Query the actual backend and verify optional behavior.
A successful writeStream return reports accepted samples, not peer reception. Timed operations also need enough lead time and supported device behavior. The UHD timed-command documentation illustrates queue and device-specific limitations; those details must not be assumed identical in another SDK.
Choose an implementable processing split. Either prove the host response path or provide suitable local response processing.Verify the exact backend. An API function name is not a guarantee that every device supports its timing semantics.
Will multiple channels stay aligned ?
Two RX ports do not necessarily provide every form of synchronization an experiment needs. Channels may share a sample clock while still having uncertain phase. Separate radios introduce further questions about time alignment, frequency reference and startup behavior.
Decide whether the experiment needs simultaneous capture, a common timestamp epoch, stable relative phase or all three. These are different requirements. A timestamp lets software identify samples in time only when its origin and behavior are known. A shared frequency reference alone does not establish a common epoch.
Requirement | Evidence to collect |
|---|---|
Sample-rate agreement | Long-duration drift measurement and clock-source readback |
Common timestamp origin | Known event captured on every channel, including after restart |
Deterministic timed TX | Independent measurement of requested versus actual burst start |
Phase coherence | Relative phase stability, repeatability and calibration results |
Channel hopping | Retune command latency, settling time and valid samples after each hop |
Multiple-device operation | Concurrent streams remain continuous under the intended processing load, including while another device starts or stops |
Check whether time resets after retuning, rate changes, activation or driver restart. A packet timestamp from an old epoch must not schedule a response in a new epoch. Also verify how RX timestamps relate to the first returned sample and whether channel alignment survives an overflow.
Test start order explicitly when several radios share a host. In the two-radio porting tests, starting the second card with a transmit channel configured interrupted the first card's running receive stream every time, in either order, while starting it receive-only did not. Receive-only drains on both cards, run together and staggered, stayed continuous. The workaround was to start both radios before either began to acquire data.
The device synchronization reference separates reference-clock distribution, PPS timing and phase considerations. It provides examples for its own hardware family. Another platform needs its own synchronization contract and measurements.
Bluetooth makes retuning particularly relevant because connections use channel selection and hopping. A driver that stops and restarts streaming for every frequency change may be adequate for a slow scan but unsuitable for that hopping procedure. The Amarisoft SoapySDR tutorial documents reconfiguration limitations for its example module. Those are version-specific observations, not permanent limits of every card.
Not every Bluetooth mode hops, and the modes that hop do so at very different rates:
Mode | Channel use | SDR implication |
|---|---|---|
Classic (BR/EDR), including audio profiles | 79 channels of 1 MHz, 1600 hops per second, adaptive hopping | Needs about 80 MHz of capture bandwidth or very fast retuning, plus slot-aligned replies |
LE connections | 37 data channels, one hop per connection event | Retuning between events is feasible; the 150 us reply remains |
LE legacy advertising and Mesh advertising bearer | Three fixed advertising channels (37, 38, 39) | Easiest host-based case; broadcast and scanning need no immediate reply |
LE extended and periodic advertising, LE Audio isochronous channels | Secondary or periodic packets on data channels, with channel selection per event | Hopping as for connections |
Specify the type of synchronization. Time alignment, frequency agreement and phase coherence are separate tests.Test reconfiguration explicitly. A stable fixed-frequency stream does not qualify a hopping implementation.
What did the Wi-Fi porting experiment establish ?
The Amarisoft/SoapySDR Wi-Fi experiment is useful because it shows how far a host-based implementation can go and where it stops. The results below record the state in October 2026. They apply to that experimental implementation and test setup, not every Amarisoft product.
The backend used host OFDM processing with a 30.72 Msps radio stream and a 20 Msps PHY. It reused Linux mac80211, hostapd and wpa_supplicant for upper-layer procedures. Two cards were connected by direct SMA cables, one acting as an access point and one as a station, at 5220 MHz with 6 Mbps legacy OFDM. Moving these procedures onto a new radio path did not reproduce the original FPGA lower-MAC timing.
Observation | What it supports | What remains unproved |
|---|---|---|
Cabled bench completed authentication, association and the WPA 4-way handshake over RF (three of four runs at the highest tested gain) | The host PHY, transports and upper layers work together over a real RF path between two of these backends | IP traffic, repeatability and any exchange with standard equipment |
ACKs were sent about 4 ms after each frame, and each side waited 30 ms for them | Acknowledgments work only because both ends relax the timing about 250 times beyond the 16 us SIFS | Operation with a standard device, which gives up after tens of microseconds |
Of unicast frames, 78% were acknowledged from station to AP and 54% from AP to station; almost every ACK sent was received | Losses are mostly data and management frames, not ACKs | The cause of the weaker AP-to-station direction |
Four bench faults were isolated and fixed before WPA completed | Two-radio start interference, TX scheduling tied to receive progress, receive buffering and leakage-triggered detection, and stale-frame replay (described above) | Whether other host loads expose further faults |
Simulated transport completed WPA | Upper-layer exchange worked without RF in that test | Radio timing and encrypted over-the-air operation |
External AP beacons decoded, no AP ACK or Authentication Response decoded | Discovery works; attach stopped at the first authentication attempt | Tested before the bench fixes; whether the AP responded is unknown. That test is paused while all ports are cabled |
The faults were found by narrowing, not by tuning. Receive-only drains on both cards stayed continuous, which cleared the basic streaming path. Replaying the backend's startup one step at a time then showed that only a start with a transmit channel disturbed the other card. Counting how often each transmitted frame was decoded by the peer exposed the stale-frame replay: a frame sent once and decoded many times is not a link-quality problem.
The result defines what this kind of port can be. Between two of its own backends, with relaxed timing, it is a working PHY and protocol test bed. It is not a standards-compliant station or access point. Receiving from standard equipment, and transmitting to equipment that replies on time, can work in principle; acknowledging a standard device's frames on time cannot, through a host round trip measured in milliseconds.
Closing that gap needs response logic next to the radio: an ACK generator, a SIFS timer and carrier sensing, as in openwifi's FPGA. On a card whose FPGA image is closed, that depends on the vendor providing a way to add such logic. The receive chipset itself was not the limit: the same transceiver meets SIFS under FPGA control.
Keep each conclusion within its evidence. A completed handshake between two relaxed-timing backends is not interoperability with standard equipment.Locate the limit precisely. The constraint here is the host response path and the closed card logic, not the RF transceiver.
How should a candidate be qualified ?
A useful selection test becomes more demanding one step at a time. Each stage should establish a specific capability before the next one depends on it. This also makes failures easier to reproduce and explain to a hardware supplier.
Stage | Test | Pass evidence |
|---|---|---|
1. Identify | Record board, firmware, SDK, driver and host versions | Reproducible configuration and actual capability readbacks |
2. Stream | Run RX-only, TX-only, then simultaneous and multi-device streams | Continuous timestamps and explained error counters under load |
3. Validate RF | Capture a known waveform with an independent receiver | Valid frame, acceptable signal quality and measured power |
4. Measure response | Send a valid trigger and capture the reply on a common timebase | Delay distribution meets the protocol timing bounds |
5. Exercise lower MAC | Test loss, duplicates, contention and channel changes as applicable | Correct ACK, retry, access and recovery behavior |
6. Complete service | Run the intended connection and sustained bidirectional traffic | Protocol completion plus the required application result |
Vary packet length and arrival position within the receive buffer during response testing. Include CPU load and simultaneous streams. Report maximum observed latency, percentile values, test duration and missed deadlines. A finite test provides evidence under those conditions; it does not prove every future timing outcome.
Capture IQ from before the transmitted request through the expected response interval. This can reveal clipping, leakage and receiver recovery. A power burst is only a candidate response until its preamble and frame are decoded or independently identified. Compare with idle captures so periodic beacons are not mistaken for replies.
Count, for every message, how many times the sender transmitted it and how many times the peer decoded it. Sent but not decoded points at the far side or the RF path. Decoded more often than sent points at replayed or duplicated transmissions. The sender's own log proves only that it transmitted.
Before purchase, request a demonstration using the required band, rate, channel count and software interface. Ask for FPGA or firmware access if the design depends on local processing. Include tool licenses, host hardware, storage, synchronization accessories and RF measurement equipment in the total effort and cost.
Select the candidate whose demonstrated processing split matches the task. A stream-oriented SDR may be sufficient for passive analysis or scheduled waveform work. A supported controller or accessible local PHY/MAC is often the more direct route for tight interactive protocols. A host-only implementation remains an option when measurements establish that it meets the required timing.
Use a staged acceptance test. Do not substitute successful enumeration for RF or protocol qualification.Record the limits of the result. State the tested versions, load, rates, ports and remaining uncertainties.
Reference
The linked material was consulted for the specific capabilities described above. The porting observations come from the project's troubleshooting record and bench runs in October 2026, including the cabled two-radio tests; no separate hardware test was run for this page.
- SoapySDR Device API : Streaming, capability queries and status semantics
- openwifi project : Architecture, FPGA lower MAC and supported platforms
- UHD Timed Commands : Queue behavior and device-specific timing support
- UHD Device Synchronization : Clock, time and phase synchronization
- Bluetooth Core v6.0 : Frame Space Update, section 8
- Amarisoft SoapySDR tutorial : Example module architecture and reconfiguration behavior