Qualcomm in depth
Qualcomm's Wi-Fi portfolio is really three different engineering worlds. Choosing the wrong mental model for the one you are in is the first mistake.
World 1: IoT Wi-Fi on an RTOS (QCA4020, QCC730 class)
These parts target battery and cost-constrained devices. The Wi-Fi stack lives in the vendor SDK, applications call vendor APIs, and the host often shares a chip or a tightly coupled processor with the radio. The hard problems here are about budgets, not drivers:
- Power. A device that associates fine but drains a battery has usually lost its sleep schedule: it is waking for every beacon, missing the DTIM interval it negotiated, keeping the radio on while the application polls, or reconnecting with a full scan after every drop. We profile current against a state timeline (sleep, wake for beacon, TX, RX, reconnect) and fix the scheduler, the listen interval, the application's traffic pattern and the reconnect strategy (cached channel and BSSID, bounded scan) rather than just "enabling power save".
- Memory and task budget. The Wi-Fi, TCP/IP and TLS stacks compete with the application for RAM. We measure heap high-water marks through a full connect, TLS handshake and OTA cycle, and tune buffer pools and task priorities until the worst case fits with margin.
- Multi-protocol coexistence. Where Wi-Fi shares a radio front end or an antenna with Bluetooth Low Energy or 802.15.4, arbitration decides who loses. We test the worst combined load (BLE connection events during a Wi-Fi TLS handshake) rather than each protocol alone.
- Provisioning and recovery. First-time credentials, credential change, an unreachable access point and a captive portal each need a defined behavior and a way out that does not need a truck roll.
World 2: Wi-Fi 5/6/6E/7 on embedded Linux (ath10k, ath11k, ath12k)
For gateways, cameras, industrial and automotive-adjacent computers, and access points, Qualcomm radios are commonly attached over PCIe (or SDIO and SoC-internal buses on some parts) and driven by the in-kernel ath10k, ath11k and ath12k drivers. The driver is only the host half: each radio runs a firmware image that you load at boot, and the pair is version-sensitive. This is where we spend most of our Qualcomm time. The recurring problem classes, and what we do about them:
| Symptom | Usual root cause | How we diagnose and fix it |
| Radio does not probe, or probes with no usable channels | Firmware or board data file missing, wrong or not matched to the board; device tree or PCIe resource problem | Read the driver's probe and firmware-load messages, confirm which firmware and board-data entry was selected for the board and chip identifiers, and add or correct the board data entry for your hardware rather than borrowing a reference one |
| Association works, but TX power is low or channels are missing | Regulatory domain not set as intended; board-level power limits absent or from a different design | Verify country code flow end to end (firmware, regulatory database, user space); work with the module or board vendor on a board data file calibrated for your antenna and front end; confirm in a shielded setup, not only in the lab |
| Firmware crash, then no network until reboot | Firmware assertion, bus error, host-side mistake (memory, power sequencing) or an unsupported feature combination | Capture the crash dump (kernel device-coredump mechanisms), check whether firmware recovery restores a working state, and bisect: firmware version, feature flags, power-save settings, traffic pattern. Make recovery a tested path: after a crash, the connection manager must reassociate unattended |
| Link drops when the system suspends or idles | PCIe link power states (ASPM, L1 sub-states) or runtime power management interacting badly with the platform's root complex; wake-on-WLAN misconfigured | Test with link power states constrained to find the culprit, then apply the narrowest fix that keeps the power budget: a platform quirk, root-complex configuration, or a tuned runtime-PM policy. Validate suspend/resume in a loop, not once |
| Throughput far below the PHY rate | Host bottleneck (single-core interrupt handling, NAPI and softirq limits, copy overhead), TCP window, retries from interference, antenna imbalance | Separate radio from host: look at PHY rate and retry counters first, then CPU per core and interrupt affinity during iperf3-style runs, then TCP. Fix the bottleneck that the data points to; on networking SoCs, check whether the vendor's hardware offload path is available and compatible with your firewall and QoS needs |
| Wi-Fi works until Bluetooth audio starts | Coexistence arbitration on combo parts sharing 2.4 GHz and sometimes an antenna; a missing coex configuration; poor isolation | Reproduce with a scripted A2DP or BLE load, read coexistence statistics, tune priority and traffic shaping, and push isolation fixes back to the hardware design if the problem is physical |
| 6 GHz not appearing or limited | Regional rules (low-power indoor versus standard power and the associated coordination requirements), firmware or regulatory database support, AP mode versus client mode differences | Check the regulatory database version and the firmware's reported capabilities before blaming RF; confirm the intended operating class for your market with your compliance lead |
| AP mode: clients flap, DFS channel changes surprise users | Radar-detection behavior, beacon and power-save handling for many clients, hostapd configuration | Log hostapd and driver events together, tune beacon interval, DTIM and group-key handling, and decide a DFS policy deliberately instead of accepting the defaults |
| Works on the vendor kernel, breaks on a newer one (or the reverse) | Vendor BSP kernel carries patches that upstream lacks, or firmware requires a newer driver | Pin a tested firmware-and-driver pair, and track the delta between the vendor tree and upstream. Where a long product life is expected, we plan the upgrade path up front |
The firmware and board data discipline
The single habit that prevents the most Qualcomm Linux problems is treating firmware, board data and the regulatory database as versioned product artifacts, not files that happen to be in /lib/firmware. In practice that means:
- the exact firmware and board-data files are in your image build, checksummed and recorded in the release notes;
- a boot-time check logs which firmware, board entry and regulatory data were actually loaded, so a field unit's logs tell you the truth;
- an OTA update changes firmware, driver and board data together, and can roll back together;
- any module or antenna change triggers a re-validation of the board data, not just a regression run.
A typical first look at a misbehaving unit uses standard tools. The commands are generic Linux tooling, not Qualcomm-specific:
# Which driver and firmware actually loaded?
dmesg | grep -iE 'ath1[012]k|firmware|board|regdomain'
# Regulatory state and what the radio thinks it may do
iw reg get
iw phy | less # supported bands, rates, per-channel flags
# Link quality while it is misbehaving
iw dev wlan0 link
iw dev wlan0 station dump # signal, tx/rx rates, retries, failures
# Radio versus host: is the air the problem or the CPU?
iperf3 -c <server> -P 4 -t 60
mpstat -P ALL 1 # one saturated core usually means a host bottleneck
cat /proc/interrupts | grep -i wlan
World 3: Android, mobile and vendor networking stacks
On Android-class and networking-platform builds, Wi-Fi arrives through a vendor-supplied stack (framework, HAL, a vendor driver and its configuration files) that you customize rather than own. Our work here is mostly configuration and behavior: per-region and per-SKU configuration files, roaming and band-steering parameters, power-save policy, connectivity-framework settings for captive portals and no-internet networks, and getting vendor patches to survive an OS upgrade. We keep customizations as small, documented overlays so they can be re-applied to each vendor drop.
Cross-cutting Qualcomm lessons
- The firmware is a black box with a log. We always find out how to capture its logs and crash dumps before we need them, because on a field unit after a failure it is too late to learn.
- Reference-board results do not transfer. The reference design has tuned antennas, a clean supply and a calibrated board data file. Your product has none of those until you do the work.
- Pair versions. Many "driver bugs" are firmware and driver being a version apart. Fix the pair, then test.
- Treat regulatory as a feature. Country code, DFS and 6 GHz rules are behavior your product must get right for each market it ships in.
The other vendors: what we watch for
Espressif (ESP32 family)
ESP32 parts are popular because Wi-Fi and Bluetooth come on one inexpensive chip with a mature SDK. The classic traps: Wi-Fi and Bluetooth share the 2.4 GHz radio, so heavy BLE traffic and heavy Wi-Fi traffic degrade each other and need coexistence settings validated under combined load; the Wi-Fi stack's RAM use can starve the application, so buffer counts and task stacks need measuring; the ADC unit that shares resources with the radio is unusable while Wi-Fi runs on some variants, which matters for sensor designs; and modem sleep and light sleep need tuning against the access point's DTIM behavior. We also design the provisioning and reconnect state machine deliberately, since defaults rarely match a product's failure cases.
Nordic (nRF70 Series)
Nordic's Wi-Fi 6 companion ICs pair with its Bluetooth SoCs and are driven from the nRF Connect SDK. The issues we focus on are the host-to-companion interface (signal integrity, power sequencing, bring-up order), power behavior when Wi-Fi is mostly off and woken for bursts, and the interplay with BLE so that provisioning over Bluetooth hands cleanly to Wi-Fi operation.
Infineon / Cypress and NXP (module-based combos)
These parts mostly reach products as certified modules from partners such as Murata. The recurring Linux and RTOS problem is file matching: firmware, NVRAM or configuration, and regulatory (CLM) data must correspond to the exact module variant, and a file that "mostly works" from another module can silently cost range or violate regulatory limits. The second is SDIO: marginal clocking, level shifting or pull-ups produce intermittent timeouts that look like firmware bugs. We validate the bus at the intended speed across temperature and supply tolerance before trusting higher-level tests.
MediaTek and Realtek
MediaTek's Filogic parts are common in routers, CPE and gateways, where the upstream mt76 driver, OpenWrt and the vendor SDK coexist and differ in features and offload. Realtek parts are often cost-driven and sometimes depend on out-of-tree drivers of varying quality. In both cases the questions are the same: which driver tree will you ship, who maintains it, how does it port to your kernel version, and does it cover the features you promise (mesh, DFS, WPA3, offload) as opposed to the features its datasheet lists. We make that decision explicitly at the start, because it is expensive to reverse.
Problems that cut across every vendor
| Problem | What actually goes wrong | What we do |
| Roaming and sticky clients | The device clings to a distant access point, or roams too eagerly and drops traffic | Tune scan and roam triggers against the real deployment's AP vendor and 802.11k/v/r support; test with a walk-through, not a bench |
| Power save versus latency | Aggressive power save delays packets until the next DTIM; no power save drains the battery | Set policy per product mode (idle, streaming, alert) and test against several access point brands |
| WPA3, enterprise and odd networks | Connects at home, fails on a corporate or hotel network (802.1X, captive portals, transition modes, hidden SSIDs) | Build a test network matrix covering the security modes you claim, and a defined behavior for captive and no-internet networks |
| Reconnect storms | After an outage every device scans and associates at once, overloading the AP and the cloud | Backoff with jitter on the device, bounded scans, cached channel and BSSID. See performance testing for the backend half |
| Antenna and enclosure | Range and throughput collapse once the real enclosure, battery and cabling are added | Review placement early, measure in the final enclosure, and iterate the antenna match before software tuning |
| Regulatory and certification | Late discovery that a channel, power level or DFS behavior is not compliant for a target market | Pre-compliance runs, a per-market configuration table, and a documented test plan before the lab visit |
| OTA of the radio stack | Updating firmware or a driver bricks connectivity, so the unit cannot fetch its own fix | A/B or rollback-capable updates, and a connectivity health check that triggers automatic revert. See device identity and provisioning |
How we diagnose, in practice
The toolkit is deliberately boring, because boring tools are repeatable:
- Over-the-air capture. A monitor-mode adapter and Wireshark to see what is really on the air: association exchanges, retries, rate behavior, power-save bits, deauthentication reasons. Many "firmware bugs" are visible here as an access point rejecting the device.
- Driver and firmware logs. Kernel logs, driver debug facilities and vendor firmware logs correlated by timestamp with the capture.
- Controlled RF. Shielded enclosures and variable attenuators for repeatable range and roaming tests, so a result does not depend on who walked past the bench.
- Current profiling. A power analyzer synchronized with logs for any battery device, so energy is explained by state, not guessed.
- Spectrum view. A spectrum analyzer when interference, harmonics from a switching regulator, or coexistence with another radio is suspected.
- Soak and fault injection. Long runs with repeated suspend/resume, AP reboot, DHCP loss, forced firmware crash and power-cycle, with the pass criterion that the device recovers unattended.
Across these, the discipline is the same as in our other work: reproduce first, change one variable at a time, and close a finding with a re-measurement. AI tooling helps us read large logs, correlate captures with driver traces and draft test scripts faster; engineers decide what the evidence means. How we divide that work is described on The AI/Human Split.
An illustrative walkthrough
This is a composite of how engagements of this kind are run, not a report on one named client. It contains no client data or measured figures.
Imagine a gateway on embedded Linux with a Qualcomm Wi-Fi 6E module over PCIe, intended for homes and small offices. The prototype works on the bench. We would proceed like this:
- Before layout freeze: review the antenna plan, module placement, supply design and PCIe routing, and confirm the vendor SDK, kernel line and firmware version support the features in the product spec (6 GHz client and AP roles, WPA3, the offload path).
- Bring-up: get the firmware and board data loading from a reproducible image; log what was selected; verify scan, association and traffic on both bands.
- Platform data: produce and validate board data for the actual antenna and front end, and put the per-market regulatory behavior in a table that the product configuration drives.
- Stability: loop suspend/resume and AP reboot; inject firmware crashes and confirm unattended recovery; trace any PCIe power-state sensitivity to a narrow fix.
- Performance: separate radio limits from host limits, tune interrupt and queue handling, and confirm behavior with a mixed fleet of client devices.
- Coexistence and roaming: test Bluetooth peripherals alongside, and a walk-through on a multi-AP network.
- Handover: versioned firmware and board-data artifacts, an automated regression suite, pre-compliance results, and a runbook for field diagnosis.
To see how we approach complete products rather than isolated debugging, our proof of work pages show the devices, platforms and apps we have built.
How to judge any Wi-Fi integration claim
- Which exact firmware, driver and board data were tested, and are they the ones shipping?
- Was it tested in the final enclosure with the final antenna, not just on a reference board?
- Is the regulatory behavior defined per market, and was it verified on the air?
- Does the device recover unattended from a firmware crash, an AP reboot and a suspend/resume loop?
- Was power measured by state on the real battery profile?
- Was coexistence tested under combined Wi-Fi and Bluetooth load?
- Was it tried against several access point brands and security modes, not one home router?
- Who maintains the driver tree after launch, and how does an update roll back?