Issue with QCA9980 initialization
nbd at openwrt.org
Sun Dec 20 06:47:27 PST 2015
On 2015-12-17 13:10, Josh Bendavid wrote:
> I have a problem with QCA9980 initialization.
> Hardware/software environment is a TP-Link Archer C2600 with Openwrt
> trunk + patches for the c2600. (This device has two QCA9980
> controllers for simultaneous dual band operation)
> Openwrt is currently populating the firmware files as follows
> -> /lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
> -> /lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
> -> /lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
> Then I am extracting (at hardware initialization time) the appropriate
> calibration data from the ART partition on the router flash
> offset/count 4096/12064 -> /lib/firmware/ath10k/cal-pci-0000:01:00.0.bin
> offset/count 20480/12064 -> /lib/firmware/ath10k/cal-pci-0001:01:00.0.bin
> Using ath10k as shipped with compat-wireless in openwrt trunk out of
> the box I get the output in attached nopatch.txt (and wireless is not
> functioning clearly)
> Using instead the patch from
> Then I get the output in attached patch.txt, and wireless is working
> correctly with both radios.
> Is it a known problem? Is there a mistake somewhere in how I am
> populating /lib/firmware, or is the applied patch the correct fix for
> the time being?
It's a known problem. ath10k has a bug where it needlessly tries to
extract the OTP board id and fetch data from board-2.bin (and fails if
it can't) even though it already has valid per-radio cal-data.
More information about the ath10k