AP mode firmware crash on QCA9880-BR4A

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Jul 12 13:05:14 PDT 2015


Hello,

I have two devices with chips that are supported by ath10k.
One uses a QCA9880-BR4A, the other has a QCA9558-AT4A.

The device with QCA9558-AT4A is working fine.
However, the other one is experiencing firmware crashes.
You can find the dmesg output below and here: [0].

Those crashes are firmware related. Here is what I have tested on QCA9880-BR4A:
- firmware-2.bin_10.1.467.bin is NOT crashing
- firmware-3.bin_10.2.2.39.bin is crashing
- firmware-4.bin_10.2.4.bin is also crashing
- firmware-5.bin_10.2.4.70-2 is crashing as well

As a side-note: Both devices are running OpenWrt.
I am pretty sure that my caldata is correct on both devices.
Also I am not the only one affected by this bug, see [1]

Please let me know if more information is required.


Regards,
Martin

[0] https://paste.kde.org/pzcauwdpb
[1] https://dev.openwrt.org/ticket/19167


[   11.544000] Loading modules backported from Linux version
master-2015-06-22-0-g4732c92
[   11.552000] Backport generated by backports.git backports-20150626-0-gc1a4168
[   11.724000] cfg80211: Calling CRDA to update world regulatory domain
[   11.732000] cfg80211: World regulatory domain updated:
[   11.736000] cfg80211:  DFS Master region: unset
[   11.740000] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.748000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[   11.756000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[   11.764000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
(N/A, 2000 mBm), (N/A)
[   11.772000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.784000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.792000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz),
(N/A, 2000 mBm), (0 s)
[   11.800000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz),
(N/A, 2000 mBm), (N/A)
[   11.808000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000
KHz), (N/A, 0 mBm), (N/A)
[   12.392000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   12.396000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[   12.404000] ath10k_pci 0000:02:00.0: pci irq legacy interrupts 0
irq_mode 0 reset_mode 0
[   12.600000] ath10k_pci 0000:02:00.0: Direct firmware load for
ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   12.608000] ath10k_pci 0000:02:00.0: Falling back to user helper
[   14.124000] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
0x043202ff) fw 10.2.4.70-2 api 5 htt 2.1 wmi 5 cal file max_sta 128
[   14.132000] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0
dfs 1 testmode 1
[   14.228000] ath: EEPROM regdomain: 0x833a
[   14.228000] ath: EEPROM indicates we should expect a country code
[   14.228000] ath: doing EEPROM country->regdmn map search
[   14.228000] ath: country maps to regdmn code: 0x37
[   14.228000] ath: Country alpha2 being used: GB
[   14.228000] ath: Regpair used: 0x37
...
[   28.952000] ath10k_pci 0000:02:00.0: firmware crashed! (uuid
adba4793-5d11-4002-b3ac-9be37592db2e)
[   28.960000] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
0x043202ff) fw 10.2.4.70-2 api 5 htt 2.1 wmi 5 cal file max_sta 128
[   28.972000] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0
dfs 1 testmode 1
[   28.992000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100804: -16
[   28.996000] ath10k_pci 0000:02:00.0: failed to get memcpy hi
address for firmware address 4: -16
[   29.004000] ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
[   29.100000] ieee80211 phy0: Hardware restart was requested
[   29.304000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   29.308000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   29.428000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   29.432000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   29.556000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   29.560000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   29.976000] br-lan: port 2(wlan1) entered forwarding state
[   30.288000] br-lan: port 3(wlan0) entered forwarding state
[   31.128000] ath10k_pci 0000:02:00.0: device successfully recovered
[   31.776000] ath10k_pci 0000:02:00.0: firmware crashed! (uuid
405c7667-677e-4f3f-884c-32d6d379e41e)
[   31.784000] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
0x043202ff) fw 10.2.4.70-2 api 5 htt 2.1 wmi 5 cal file max_sta 128
[   31.796000] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0
dfs 1 testmode 1
[   31.816000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100804: -16
[   31.824000] ath10k_pci 0000:02:00.0: failed to get memcpy hi
address for firmware address 4: -16
[   31.832000] ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
[   31.928000] ieee80211 phy0: Hardware restart was requested
[   33.460000] ath10k_pci 0000:02:00.0: device successfully recovered
[   34.108000] ath10k_pci 0000:02:00.0: firmware crashed! (uuid
5c29bde5-4bc1-4523-aa72-93674082f1e4)
[   34.116000] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
0x043202ff) fw 10.2.4.70-2 api 5 htt 2.1 wmi 5 cal file max_sta 128
[   34.128000] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0
dfs 1 testmode 1
[   34.148000] ath10k_warn: 6 callbacks suppressed
[   34.148000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100804: -16
[   34.156000] ath10k_pci 0000:02:00.0: failed to get memcpy hi
address for firmware address 4: -16
[   34.168000] ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
[   34.264000] ieee80211 phy0: Hardware restart was requested
[   34.456000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   34.460000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   34.568000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   34.572000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   34.680000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100800: -16
[   34.684000] ath10k_pci 0000:02:00.0: failed to poke copy engine: -16
[   35.828000] ath10k_pci 0000:02:00.0: device successfully recovered
[   36.476000] ath10k_pci 0000:02:00.0: firmware crashed! (uuid
1b3f8e65-d7b3-4ad4-a243-da91b6903627)
[   36.484000] ath10k_pci 0000:02:00.0: qca988x hw2.0 (0x4100016c,
0x043202ff) fw 10.2.4.70-2 api 5 htt 2.1 wmi 5 cal file max_sta 128
[   36.496000] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0
dfs 1 testmode 1
[   36.516000] ath10k_pci 0000:02:00.0: failed to read diag value at
0x1c100804: -16
[   36.524000] ath10k_pci 0000:02:00.0: failed to get memcpy hi
address for firmware address 4: -16
[   36.532000] ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
[   36.628000] ieee80211 phy0: Hardware restart was requested
[   38.160000] ath10k_pci 0000:02:00.0: device successfully recovered
...



More information about the ath10k mailing list