BRING-UP GUIDE

MiniPCIe WiFi Module Bring-Up: ath10k Driver and Firmware

A fault-isolation sequence for 802.11ac MiniPCIe modules on Linux and OpenWrt. It starts at the PCIe bus and ends when the radio passes traffic — covering enumeration, firmware and board-file resolution, regulatory domain, and the dmesg lines that tell you which of those three failed.

By Zukaka Wireless Engineering Team · Reviewed by the platform integration group · Updated · 14 min read

1. Why bring-up fails in layers, not in one place

A MiniPCIe WiFi module sits behind four independent layers. Each one can fail silently while the layers above it report a plausible-looking error, so the symptom usually points at the wrong place.

The four layers, in the order the kernel walks them:

  1. Physical and electrical. The card is seated, the 3.3 V rail holds up under transmit current, and the host has assigned a PCIe link. If this layer fails, nothing above it exists.
  2. PCIe enumeration. The host bridge assigns a bus address, memory BARs, and an interrupt. A module can be physically present and electrically fine yet never appear in lspci because the slot was disabled in firmware or the BAR could not be allocated.
  3. Driver binding. A kernel module claims the device ID. If the module is not built, not loaded, or does not carry the vendor’s subsystem ID, the device enumerates and then sits there unclaimed.
  4. Firmware and board file. The driver loads a firmware image into the chip and a board data file that describes the specific RF front end on that PCB. Both must match the silicon revision. Most “it enumerates but there is no wlan0” cases end here.

There is a fifth layer that is not a failure at all but behaves like one: the regulatory domain. A module with correct firmware and a working driver will still refuse to start an AP on a channel the current regulatory domain does not permit, and the error surfaces as a generic interface-down message rather than anything mentioning the country code.

Debug in order, not by symptom. Before touching driver source or firmware versions, run lspci -nn and confirm the module’s vendor and device ID appear. If they do not, the problem is in layers 1 or 2 and no amount of driver work will help.

2. Step 1 — Confirm the PCIe endpoint enumerates

MiniPCIe carries one PCI Express lane plus USB 2.0 on the same 52-pin edge connector. WiFi modules use the PCIe lane; some cellular and combo modules use USB. Confirm which interface your module actually uses before assuming PCIe — a module that presents only on USB will never appear in lspci, and that is correct behaviour, not a fault.

# List PCI devices with numeric vendor:device IDs
lspci -nn

# Show the PCIe topology as a tree, which reveals which root port
# the module is behind — needed later for the OpenWrt 'path' option
lspci -nn -t

# Confirm the kernel bound a driver to the device
lspci -k -s 01:00.0

Qualcomm Atheros 802.11ac parts appear under vendor ID 168c. The QCA986x/988x family reports as 168c:003c, which is the ID you will see for a QCA9880-based MiniPCIe card. If lspci shows the device but lspci -k shows no “Kernel driver in use” line, you have reached layer 3 and the driver is the problem. If lspci shows nothing at all, stay on this step.

When the device does not appear

Work through these in order. Each one is cheap to check and rules out a large block of causes.

  • Slot disabled in firmware. Many industrial carrier boards default a MiniPCIe slot to “Auto” or leave it muxed to SATA or mSATA. Check the board manual for a BIOS/UEFI setting that explicitly enables PCIe on that slot. A slot muxed to SATA will power the card and never enumerate it.
  • BAR allocation failure. If the kernel log contains BAR 0: no space for [mem size …] or BAR 0: failed to assign, the host bridge has run out of memory window. This is common on older embedded SoCs with a small PCIe aperture and several populated slots. Reducing the number of populated slots, or enabling “Above 4G decoding” where the platform supports it, usually clears it.
  • 3.3 V rail sagging. A 3×3 802.11ac module can pull well over 1 A from the 3.3 V rail during a transmit burst. If the carrier board’s regulator was sized for a low-power mSATA drive, the rail collapses at the moment the module tries to train its PCIe link, and the device never appears. Measure the rail with a scope during power-up rather than a multimeter, because the dip lasts milliseconds.
  • Card not fully seated. MiniPCIe retention is mechanical only. A card that is 1 mm short of full insertion can make contact on some pins and not others, which produces exactly the same “no device” symptom as a dead card. Reseat before replacing anything.

3. Step 2 — Get the right driver module loaded

Qualcomm Atheros 802.11ac PCIe parts are handled by ath10k_pci, which depends on ath10k_core, mac80211, and cfg80211. Loading ath10k_pci pulls the rest in automatically. The driver has been in the mainline kernel since 4.4, so on any current LTS kernel the code itself is not the problem — the question is whether your build includes it and whether it carries your module’s subsystem ID.

Confirm the module is present and loaded

# Is the driver built into this kernel at all?
zcat /proc/config.gz | grep -i ATH10K
# Expect CONFIG_ATH10K=m and CONFIG_ATH10K_PCI=m

# Is it loaded, and what does it depend on?
lsmod | grep ath10k

# Load it explicitly and watch the result
modprobe ath10k_pci
dmesg | tail -40

If CONFIG_ATH10K_PCI is absent from the kernel config, no amount of module loading will help — the driver has to be built. On OpenWrt this means installing the package; on a custom kernel it means enabling the option and rebuilding.

OpenWrt: which package to install

OpenWrt splits the driver and the firmware into separate packages, and the naming is specific to the chip family. For a QCA9880-based MiniPCIe card the set is:

opkg update
opkg install kmod-ath10k \
ath10k-firmware-qca988x \
ath10k-board-qca988x \
wireless-regdb

The qca988x suffix covers the QCA986x/988x family, which is what a QCA9880 reports as. Installing ath10k-firmware-qca9888 instead — a mistake that is easy to make because the names differ by one digit — leaves the driver looking for a board file that does not exist for your chip, and you get the board-data failure described in the next section.

ath10k versus ath10k-ct. OpenWrt also ships kmod-ath10k-ct, a community fork of the driver paired with Candela Technologies firmware. The two are mutually exclusive: the CT driver requires CT firmware, and the stock driver requires stock firmware. Mixing them produces a probe failure that looks like a firmware corruption. Pick one pair and stay with it. The stock pair is the safer default for a new design because it tracks the mainline kernel; the CT pair exists mainly for specific features and older hardware quirks. Whichever you choose, install the matching -ct or non--ct firmware package, never one of each.

When the device enumerates but no driver claims it

This is the subsystem ID case. lspci -nn shows the device, lspci -k shows no driver in use, and dmesg says nothing about ath10k. The driver’s PCI ID table matches on vendor and device, and for some vendor-specific modules also on subsystem vendor and device. A module built on a QCA9880 with a custom subsystem ID that is not in the table will enumerate and stay unclaimed.

Confirm the ID before assuming this is the cause:

# Full ID string including subsystem
lspci -nn -vv -s 01:00.0 | grep -i -E 'Subsystem|Kernel'

# Check whether the driver knows this ID
modinfo ath10k_pci | grep alias | grep -i 168c

If the subsystem ID is genuinely missing, the fix is a one-line addition to the driver’s ID table followed by a rebuild, or asking the module vendor for a card whose subsystem ID is already covered. Patching a driver ID table is a maintenance commitment, not a one-time fix — every kernel update re-applies it.

4. Step 3 — Resolve firmware and board files

ath10k needs two different files, and confusing them is the most common reason a MiniPCIe card enumerates correctly and still produces no wireless interface.

  • The firmware image is the code that runs on the WiFi chip’s own processor. It is versioned and must be compatible with the driver’s ABI.
  • The board data file describes the RF front end on your specific PCB — which power amplifier, which antenna path, which calibration offsets. It is not generic to the chip; it is specific to the module design.

Both live under /lib/firmware/ath10k/, in a directory named for the chip family and the silicon hardware revision. For a QCA9880 the path is:

/lib/firmware/ath10k/QCA988X/hw2.0/
├── firmware-5.bin # firmware image
├── board.bin # single-board data file (older format)
└── board-2.bin # multi-board container (current format)
The directory name is the chip family, not the part number. A QCA9880 does not look in a directory called QCA9880. It looks in QCA988X, because the driver’s family table maps the whole QCA986x/988x group to that name. The hw2.0 component is the silicon hardware revision reported by the chip, not the 802.11 Wave generation. A Wave 1 and a Wave 2 card can both live under hw2.0 if they share silicon. Writing a path like ath10k/QCA9880/hw2.0/ by analogy with the part number is a reliable way to produce a file-not-found error that looks like a missing package.

What the firmware-N.bin number means

The trailing digit is the firmware interface version, not a revision counter. The driver tries the highest number it supports and walks downward. On a current kernel you will see it attempt firmware-6.bin first and fall back:

ath10k_pci 0000:01:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
ath10k_pci 0000:01:00.0: Falling back to user helper
ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00047 api 5
features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 7f5a1c3e

The error -2 on the first line is ENOENT and is expected — it means that particular version is not installed, and the driver moved on. The line that matters is the one reporting firmware ver … api 5. If you see that line, firmware loaded successfully and you can stop looking at firmware. If the log ends at the fallback message with no version line, firmware loading failed and the next section applies.

The board data failure, and why it is not a firmware problem

This error appears immediately after the firmware loads and mentions a file path, which makes it easy to misread as a firmware fault:

ath10k_pci 0000:01:00.0: failed to fetch board data for
bus=pci,bmi-chip-id=0,bmi-board-id=20 from
ath10k/QCA9888/hw2.0/board-2.bin
ath10k_pci 0000:01:00.0: failed to fetch board-2.bin or board.bin
from ath10k/QCA9888/hw2.0
ath10k_pci 0000:01:00.0: failed to fetch board file: -12
ath10k_pci 0000:01:00.0: could not probe fw (-12)

Read the first line carefully. The file board-2.bin was found and opened — otherwise the message would be a plain load failure. What failed is the lookup inside that container. board-2.bin is an archive holding board data for many different module designs, and the driver selects an entry by matching the identifiers the chip reports: bmi-chip-id and bmi-board-id. If no entry in the container matches the pair your card reports, the lookup fails and the probe aborts with -12 (ENOMEM here, misleadingly, because the driver’s error path reuses that code).

Three causes:

  1. Wrong chip-family package installed. The log above names QCA9888 while the card is a QCA9886 or QCA9880. The driver picked the family from the chip ID it read, so the family in the path is authoritative — but the installed package may not contain an entry for your specific board ID. Install the firmware package matching the family in the log, not the family you assumed from the product page.
  2. Board ID genuinely absent from the container. Vendor-specific module designs sometimes ship with a board ID that upstream board-2.bin does not carry. The module vendor is then responsible for supplying a board file, and the fix is to obtain it from them rather than to substitute a file from a different module.
  3. Stale or truncated board file. A partially written file from an interrupted package install produces the same lookup failure. Verify the package installed cleanly before chasing anything else.
Do not substitute a board file from another module. Board data carries per-design calibration for the power amplifier and antenna path. A file from a different module will load and the radio will come up, then transmit at the wrong power and with the wrong spectral characteristics. That is a regulatory problem, not just a performance one. If the board ID is missing, get the correct file from the module vendor.

Verifying what actually loaded

Once the radio is up, confirm the firmware and board file versions rather than assuming:

# Firmware and board file versions as reported by the driver
dmesg | grep -E 'firmware ver|board_file api'

# Expected shape of a healthy pair:
# firmware ver 10.2.4-1.0-00047 api 5 features ... crc32 ...
# board_file api 2 bmi_id 0:20 crc32 ...

# Which files the driver will look for
modinfo ath10k_pci | grep firmware

The board_file api 2 bmi_id 0:20 line confirms which board entry was selected. If that line is missing while the firmware line is present, the board lookup failed and the interface will not come up even though firmware loaded.

5. Step 4 — Set the regulatory domain before measuring anything

Regulatory domain produces symptoms that point away from itself. A module with correct firmware and a working driver will still refuse to operate on channels the current domain does not permit, and the refusal often surfaces as a generic interface-down message with no mention of the country code.

The kernel enforces the domain in two places. cfg80211 holds the current domain and applies it to every wireless device. The domain itself comes from the wireless-regdb database, which is a separate package from the driver. If that package is missing, the kernel falls back to the world domain, which is the most restrictive set of rules and blocks most of the 5 GHz band.

# What domain is currently in force?
iw reg get

# A healthy result names a country and lists per-band limits:
# country DE: DFS-ETSI
# (2400 - 2483 @ 40), (N/A, 20), (N/A)
# (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR
# ...

# A broken result looks like this:
# global
# (N/A - N/A @ 20), (N/A, 20), (N/A)

# Set the domain explicitly
iw reg set DE

If iw reg get shows no country and no frequency ranges, the regulatory database is not being read. On OpenWrt that means wireless-regdb is not installed. On a custom build it usually means the kernel was compiled without CONFIG_CFG80211_CRDA_SUPPORT or the database file is not at the path the kernel expects.

Why the configured channel silently changes

When you configure a channel the domain does not allow, the driver does not fail loudly. It either refuses to bring the interface up or falls back to a permitted channel, and the only evidence is in the log:

cfg80211: regulatory: domain 00 is unset
cfg80211: Regulatory domain changed to country: 00
ath10k_pci 0000:01:00.0: failed to set channel: -22

The -22 is EINVAL — the channel is not valid under the current domain. This is not a driver bug and not a hardware fault. It is the regulatory layer doing its job with an unset domain.

Setting the domain in OpenWrt

OpenWrt applies the country code through UCI rather than through iw reg set, because UCI writes it into the wireless configuration that is re-applied on every boot:

# /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:00.0'
option hwmode '11a'
option htmode 'VHT80'
option channel '36'
option country 'DE'

# Apply without rebooting
wifi reload

# Confirm the domain took effect
iw reg get

The option path value must match the PCIe path the module actually enumerates at, which is why lspci -nn -t from Step 1 matters. If the path is wrong, the wireless device never attaches and the interface stays down — a failure that looks identical to a regulatory problem but is not.

Do not set a country code the installation is not actually in. The country code is a legal declaration of where the equipment operates, not a performance setting. Selecting a permissive domain to unlock channels or higher EIRP is a compliance violation in most jurisdictions, and it is detectable from the outside. Set the code for the deployment location and accept the channel and power limits that come with it.

DFS channels and why they behave differently

Channels in the 5250–5350 and 5470–5725 MHz ranges require Dynamic Frequency Selection: the radio must listen for radar before transmitting, and must vacate the channel if radar is detected. On a freshly booted system this produces a delay of up to a minute before the interface becomes usable, and the log shows a channel availability check in progress. An interface that appears up but passes no traffic for 60 seconds on channel 52 is usually doing exactly what it should. If the deployment cannot tolerate that delay, use a non-DFS channel — but check the domain first, because which channels are non-DFS varies by country.

6. Reading real dmesg output

ath10k is unusually verbose during probe, which is an advantage once you know the order of the messages. A successful probe produces a fixed sequence:

[ 15.915387] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 15.922213] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 17.274870] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[ 17.284440] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 17.303702] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00047 api 5 features ... crc32 7f5a1c3e
[ 17.643425] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:20 crc32 9a038867
[ 17.695594] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 128 raw 0 hwcrypto 1
[ 17.812004] ath: EEPROM regdomain: 0x0
[ 17.812011] ath: EEPROM indicates default country code should be used
[ 17.812018] ath: doing EEPROM country->regdmn map search
[ 17.812026] ath: country maps to regdmn code: 0x3a
[ 17.812031] ath: Country alpha2 being used: US
[ 17.812037] ath: Regpair used: 0x3a
[ 18.104221] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 18.105887] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0

The messages appear in a fixed order, and the point where the sequence stops tells you which layer failed:

  1. enabling device and pci irq — the PCIe layer is alive. If you never see these two lines, the device did not enumerate and you are still in Step 1.
  2. qca988x hw2.0 target … chip_id … — the driver talked to the chip and read its identity. This line also tells you the exact family and hardware revision, which is what the firmware path must match. If this line is missing but the PCIe lines are present, the driver bound but could not communicate with the chip.
  3. firmware ver … then board_file api … — both files loaded. Firmware without board file means the board lookup failed.
  4. ieee80211 phy0 and renamed from wlan0 — the wireless stack registered a phy and created an interface. If you get this far, the radio exists and any remaining problem is configuration, not bring-up.

The EEPROM regdomain lines

The block starting ath: EEPROM regdomain: 0x0 is frequently misread as an error. It is not. It reports that the module’s EEPROM does not carry a hard-coded regulatory domain, so the kernel should apply the country code from userspace instead. That is the normal and preferred state — a module with a hard-coded domain cannot be legally redeployed to another country. The lines that follow trace the mapping from the EEPROM value to a regulatory pair, and Country alpha2 being used: US shows which country was applied at that moment. If that country is not where the equipment is installed, fix it in Step 4.

Where a failing probe stops

A failure has a location. Three real failure sequences, each stopping at a different point:

# Failure A — firmware file absent entirely
ath10k_pci 0000:01:00.0: Failed to find firmware-N.bin (N between 2 and 6)
from ath10k/QCA988X/hw2.0: -12
ath10k_pci 0000:01:00.0: could not fetch firmware files (-12)
ath10k_pci 0000:01:00.0: could not probe fw (-12)

# Failure B — firmware loaded, board lookup failed
ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00047 api 5 features ... crc32 ...
ath10k_pci 0000:01:00.0: failed to fetch board data for
bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
ath10k_pci 0000:01:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9888/hw2.0
ath10k_pci 0000:01:00.0: failed to fetch board file: -12
ath10k_pci 0000:01:00.0: could not probe fw (-12)

# Failure C — firmware loaded, board loaded, then firmware crashed at runtime
ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00047 api 5 features ... crc32 ...
ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:20 crc32 ...
ath10k_pci 0000:01:00.0: firmware crashed! (uuid 8f3c1a2e-...)
ath10k_pci 0000:01:00.0: firmware assert log:

Failure A is a packaging problem — the file is not on disk. Failure B is a matching problem — the file is on disk but contains no entry for this card. Failure C is different in kind: everything loaded, and the firmware then faulted while running. Failure C is the only one of the three where the firmware version itself is a plausible cause, and the assert log that follows the crash line is what you send to the driver maintainers.

Capture the whole probe, not the last line. dmesg | grep ath10k is convenient but drops the PCIe lines that tell you whether enumeration succeeded. Use dmesg | grep -E ‘ath10k|ath:|cfg80211|pci’ when diagnosing a cold boot, and save the full output before reloading the module — reloading overwrites the evidence.

7. Step 5 — Antenna path and connector integrity

Once the interface exists, the remaining failures are physical. The driver will happily report a working radio with a disconnected antenna, because nothing in the digital path knows the RF connector is loose. The symptoms are a link that associates at close range and collapses at distance, or a transmit power reading that looks normal while throughput is a fraction of expectation.

Connector types are not interchangeable

Two connector families appear on 802.11ac MiniPCIe modules, and they are physically incompatible despite looking similar at a glance:

Connector Hirose part Mated height Rated mating cycles Typical use
U.FL (MHF1) U.FL-R-SMT-1 2.5 mm 30 Older and lower-density modules
MHF4 MHF4-2L 1.2 mm 50 Current modules, tighter stack-ups

The mating cycle rating is the number that matters in the field. It is the manufacturer’s specification for how many times the connector can be mated before contact reliability is no longer guaranteed. A U.FL connector rated at 30 cycles has used a tenth of its life after three service visits; an MHF4 rated at 50 has more headroom but the same failure mode. A link that degrades after a maintenance visit is therefore more often a connector than a radio.

Never mate a U.FL plug to an MHF4 jack or the reverse. The centre pin diameters differ and the shells do not seat. Forcing them produces a connection that passes a continuity test and fails at 5 GHz, which is the worst possible failure mode because it looks like it works. Check the module datasheet for the connector part number before ordering pigtails.

Reading the radio’s own view of the link

Before touching hardware, get the radio’s measurement of its own state. These three commands separate a configuration problem from a physical one:

# Current channel, width, and transmit power
iw dev wlp1s0 info

# Per-chain signal, noise, and bitrate for the current peer
iw dev wlp1s0 station dump

# Survey: how much airtime is actually busy on this channel
iw dev wlp1s0 survey dump

In station dump, the fields to read are signal (per-chain dBm), tx bitrate, and expected throughput. A 2×2 module with one antenna disconnected shows a large gap between the two chain signal values — typically 15 dB or more — and the bitrate will sit at a low MCS regardless of distance. That asymmetry is the signature of a single broken RF path, and it is visible without any test equipment.

Transmit power is capped by three separate limits

When measured range falls short, the instinct is to raise transmit power. On a regulatory-compliant module there are three independent ceilings, and the effective power is the lowest of them:

  1. Regulatory limit for the band and channel in the current domain, from wireless-regdb.
  2. Board data limit — the per-channel maximum calibrated for this specific module design, stored in the board file. Substituting a board file from another module is dangerous for the same reason: the calibration no longer matches the hardware.
  3. Configured limit in the wireless configuration, which can only lower the value, never raise it above the other two.

If iw dev wlp1s0 info reports a transmit power well below what the datasheet claims, the cause is one of the first two, and no configuration change will exceed them. Check the domain first, then the board file.

Antenna placement inside an enclosure

A metal enclosure with the antenna mounted inside it is a shielded box. The radio will associate with a client in the same room and fail through a wall, and no amount of driver tuning changes that. Either bring the antenna outside through a bulkhead connector, or leave a non-metallic window in the enclosure at the antenna location. The pigtail from the module to the bulkhead connector adds loss — roughly 0.3 to 0.5 dB per connector pair plus cable loss — and that loss comes directly off the link budget. Budget it before choosing a cable length, not after the range test fails.

8. A bring-up checklist that runs in order

The layers above are ordered because each one depends on the previous. Running them out of order wastes time: a firmware error cannot be diagnosed while the device is not enumerating, and a regulatory problem cannot be seen while the interface does not exist.

# Layer Command Pass condition If it fails
1 Power and slot lspci -nn Device appears with ID 168c:xxxx Slot mux, BAR space, 3.3 V rail, seating
2 Driver binding lspci -k -s 01:00.0 “Kernel driver in use: ath10k_pci” Missing kernel module, or subsystem ID not in table
3 Firmware dmesg | grep ‘firmware ver’ A version line with api 5 or higher Wrong firmware package, or file not on disk
4 Board data dmesg | grep ‘board_file api’ A line with a bmi_id pair Board ID absent from container; contact module vendor
5 Regulatory iw reg get Country code with frequency ranges listed wireless-regdb missing, or country not set
6 Interface ip link show wlp1s0 Interface exists and can be brought up UCI option path mismatch
7 RF path iw dev wlp1s0 station dump Per-chain signal within a few dB of each other Connector, pigtail, or antenna

Do not skip a row because you believe it is fine — a failure at row 5 is invisible until rows 1 through 4 pass. When a row fails, fix only that row and re-run from the top. Changing two variables at once makes the next failure ambiguous.

What to record for each unit

For a production run, capture the pass values from rows 3, 4, and 5 for every unit and store them against the serial number. The firmware version, the board file bmi_id, and the regulatory domain together define the radio’s legal and functional state. When a unit comes back from the field, comparing its recorded values against a known-good unit answers most questions before any hardware is touched — and it distinguishes a unit that was misconfigured in production from one that was altered in service.

9. Mistakes that cost the most time

Each of these is a case where the symptom points at the wrong layer.

The firmware fallback line is not an error

The Direct firmware load for … firmware-6.bin failed with error -2 line appears on healthy systems. It means the driver tried the newest interface version, did not find it, and moved on. Reinstalling firmware packages in response to this line changes nothing, because the system is already working. The line to look for is the firmware ver line that follows.

Directory name is not the part number

A QCA9880 reads from QCA988X, not QCA9880. The same pattern applies across the family — the directory is the driver’s internal family name, and the only reliable way to learn it is to read the family name in the driver’s own log line, not to infer it from the marketing part number.

ath10k and ath10k-ct installed together

Installing kmod-ath10k-ct alongside stock firmware, or the reverse, produces a probe failure that reads like a corrupt firmware image. The two drivers are not interchangeable and the firmware packages are paired to them. If a system has both installed, remove one pair completely before diagnosing anything else.

Country code used as a channel unlock

Beyond the compliance problem, a permissive domain often makes things worse: it enables channels the module’s board data was never calibrated for, and the radio then transmits at a power the calibration does not support. The result is a link that looks strong on the client side and performs badly, which is harder to diagnose than a channel that simply refuses to come up.

RF faults chased with driver settings

No driver setting recovers a disconnected antenna, a mismatched connector, or an antenna inside a sealed metal box. Once rows 1 through 6 of the checklist pass, further driver work has no leverage — the remaining variables are physical.

10. Terms used in this guide

Board data file
Per-module-design calibration data describing the RF front end: power amplifier characteristics, antenna path, and per-channel power limits. Distinct from firmware, which is chip-level code.
bmi-board-id / bmi-chip-id
The identifier pair a Qualcomm WiFi chip reports during boot, used by the driver to select the matching entry inside board-2.bin.
ath10k
The mainline Linux driver for Qualcomm Atheros 802.11ac chips, covering the QCA986x/988x, QCA9887, QCA9888, QCA9984, QCA4019, and QCA6174 families.
ath10k-ct
A community fork of ath10k maintained with Candela Technologies, paired with its own firmware builds. Mutually exclusive with the stock driver and firmware.
cfg80211 / mac80211
The kernel’s wireless configuration layer and its soft-MAC implementation. ath10k is a full-MAC driver, so it uses cfg80211 for configuration and regulatory enforcement while implementing most 802.11 behaviour in firmware.
Regulatory domain
The set of permitted channels, bandwidths, and transmit power limits for a country, sourced from the wireless-regdb database and enforced by cfg80211.
DFS
Dynamic Frequency Selection. Mandatory radar detection and avoidance on the 5250–5350 and 5470–5725 MHz bands, which introduces a channel availability check delay at startup.
U.FL / MHF4
Sub-miniature coaxial connector families used for antenna connections on WiFi modules. Physically incompatible with each other. U.FL is rated for 30 mating cycles, MHF4 for 50.

11. Sources and further reading

  • Linux kernel documentation, ath10k driver directory — drivers/net/wireless/ath/ath10k/, including the firmware and board file loading logic in core.c and bmi.c.
  • Linux Wireless documentation, cfg80211 regulatory enforcement and mac80211 subsystem pages at docs.kernel.org.
  • OpenWrt documentation, WiFi configuration (/etc/config/wireless) and the ath10k package pages covering kmod-ath10k, ath10k-firmware-*, and ath10k-board-*.
  • wireless-regdb regulatory database, maintained at git.kernel.org and shipped as the wireless-regdb package.
  • Hirose Electric, U.FL and MHF4 series datasheets — mated height and mating cycle specifications.
  • IEEE 802.11ac-2013, Enhancements for Very High Throughput for Operation in Bands below 6 GHz.
  • PCI Express Base Specification, for BAR allocation and endpoint enumeration behaviour referenced in Step 1.
Scope of this guide. This article covers bring-up and driver-level diagnosis for Qualcomm Atheros 802.11ac MiniPCIe modules on Linux. Form-factor selection between MiniPCIe and M.2, chipset comparison across WiFi 5 through WiFi 7, and thermal design for these modules are covered in separate articles in this series. If your problem is that the module runs but overheats under sustained load, the thermal article is the right starting point rather than this one.
Zukaka Wireless Engineering Team
This guide is maintained by the platform integration group at Zukaka, which supports MiniPCIe and M.2 WiFi module designs through bring-up, regulatory certification, and volume production. Technical content is reviewed against the upstream Linux kernel driver source and the OpenWrt package tree before publication. Corrections and specific failure logs are welcome through our contact page.

Last reviewed 27 October 2026. Driver behaviour described here reflects mainline Linux ath10k and the OpenWrt 23.05 package set. Firmware file names and package names change between releases — verify against your own kernel log before acting on a specific path.

Related Blog