All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
       [not found] <BLUPR06MB868ABBAAB6D6107EECB885FE0740@BLUPR06MB868.namprd06.prod.outlook.com>
@ 2017-01-25 23:39 ` Kevin Dious
  2017-01-26  0:05   ` Adrian Chadd
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Dious @ 2017-01-25 23:39 UTC (permalink / raw)
  To: ath10k

To whomever may can help,

I'm writing because I am having an issue with ath10k + OpenWRT + ath10k firmware 10.2.2.60.14.

Currently my company has a license to the AR9888 firmware.  We have version 10.2.2.60.14.  I know this is a rather old version but this is what we have access to for now.  We are able to build the firmware and we are working on making some custom firmware  changes.  I am working with OpenWRT 15.05 and a Compex WPJ344 board and a AR9888 802.11ac chip.

After building the firmware, I am left with several binaries including athwlan.bin and otp.bin.  I run the following command to use the firmware encoder to create the firmware binary:

qca-swiss-army-knife/tools/scripts/ath10k$ python ath10k-fwencoder -c --otp otp.bin --firmware athwlan.bin --set-fw-api 3 --set-wmi-op-version 10.2 --set-htt-op-version unset


I am using the ath10k-fwencoder script found here:
https://github.com/qca/qca-swiss-army-knife/blob/master/tools/scripts/ath10k/ath10k-fwencoder

I then copy the firmware to the correct location so that it is created when I build my OpenWRT image.  After I copy the device image to memory, I boot the device.  During bootup I see the following logs:




[   11.940000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.950000] ath10k_pci 0000:00:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   12.170000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   12.180000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.270000] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   12.280000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   12.290000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.390000] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   12.400000] ath10k_pci 0000:00:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-5.bin': -11
[   12.410000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   12.420000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.520000] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   12.530000] ath10k_pci 0000:00:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-4.bin': -11
[   12.540000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   12.550000] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.570000] ath10k_pci 0000:00:00.0: firmware ver  api 3 features  crc32 167fdc70
[   12.600000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   12.610000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.700000] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   12.710000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.730000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1

 And when I review the /etc/config/wireless once the bootup process is complete file I see that AR9888 shows up as a PCI card (radio0):
 

config wifi-device  radio0
        option type     mac80211
        option channel  36
        option hwmode   11a
        option path     'pci0000:00/0000:00:00.0'
        option htmode   VHT80
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1


config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none


config wifi-device  radio1
        option type     mac80211
        option channel  11
        option hwmode   11g
        option path     'platform/ar934x_wmac'
        option htmode   HT20
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1


config wifi-iface
        option device   radio1
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none


However, when I try to enable the AR9888 card and boot it up (calling "eifi" at the command line) I get the following error.  The firmware crashes and the device tries to restart it again, and this continues forever.


I am not sure how to make sense of the firware crash dump there.  Has anyone seen anything like this before?  Or have any tips about how to interpret this firmware dump that ath10k gives?  I am happy to provide any additional requested details.  Thank you.



root@OpenWrt:/# [  114.440000] ath10k_pci 0000:00:00.0: failed to receive initialized event from target: 00000000
[  115.560000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  115.570000] device wlan0 entered promiscuous mode
[  115.730000] ath10k_pci 0000:00:00.0: no channel configured; ignoring frame(s)!
[  115.890000] br-lan: port 2(wlan0) entered forwarding state
[  115.900000] br-lan: port 2(wlan0) entered forwarding state
[  115.910000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  117.260000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid a55a5b20-c144-4a53-be4e-916bbeb09686)
[  117.270000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  117.280000] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[  117.290000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 167fdc70
[  117.300000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  117.310000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  117.320000] ath10k_pci 0000:00:00.0: firmware register dump:
[  117.330000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  117.330000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  117.340000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  117.350000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0xFFFFFFFF 0x00958360 0x0095836B
[  117.360000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  117.370000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  117.380000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  117.380000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  117.390000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  117.400000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  117.410000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  117.420000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  117.420000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  117.430000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  117.440000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  117.550000] ieee80211 phy0: Hardware restart was requested
[  117.900000] br-lan: port 2(wlan0) entered forwarding state
[  118.820000] ath10k_pci 0000:00:00.0: device successfully recovered
[  126.050000] device wlan0 left promiscuous mode
[  126.050000] br-lan: port 2(wlan0) entered disabled state
[  126.120000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid f91615b9-9daa-4e2d-9295-7fa34a773157)
[  126.130000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  126.140000] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[  126.150000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 167fdc70
[  126.160000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  126.170000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  126.180000] ath10k_pci 0000:00:00.0: firmware register dump:
[  126.190000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  126.200000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  126.200000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  126.210000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0x00000000 0x00957F04 0x00957F12
[  126.220000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  126.230000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  126.240000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  126.240000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  126.250000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  126.260000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  126.270000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  126.280000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  126.280000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  126.290000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  126.300000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  126.310000] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 1 ar-state 1): 500
[  126.420000] ieee80211 phy0: Hardware restart was requested
[  126.420000] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 0: -143
[  126.430000] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 0: -143
[  126.440000] ath10k_pci 0000:00:00.0: removing stale peer 04:f0:21:1a:7b:3d from vdev_id 0
[  128.080000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  128.090000] device wlan0 entered promiscuous mode
[  128.250000] ath10k_pci 0000:00:00.0: no channel configured; ignoring frame(s)!
[  128.410000] br-lan: port 2(wlan0) entered forwarding state
[  128.420000] br-lan: port 2(wlan0) entered forwarding state
[  128.420000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  130.420000] br-lan: port 2(wlan0) entered forwarding state
[  154.520000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid a33b7858-5887-4ba9-9210-4ac3295bf196)
[  154.530000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  154.540000] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[  154.550000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 167fdc70
[  154.560000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  154.570000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  154.580000] ath10k_pci 0000:00:00.0: firmware register dump:
[  154.590000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  154.590000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  154.600000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  154.610000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0xFFFFFFFF 0x00958360 0x0095836B
[  154.620000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  154.630000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  154.630000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  154.640000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  154.650000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  154.660000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  154.670000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  154.670000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  154.680000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  154.690000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  154.700000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  154.810000] ieee80211 phy0: Hardware restart was requested
[  156.070000] ath10k_pci 0000:00:00.0: device successfully recovered
[  157.710000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid 2a52de2f-f701-4a1e-86c5-30ff75995af5)
[  157.720000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  157.730000] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[  157.740000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 167fdc70
[  157.750000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  157.760000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  157.770000] ath10k_pci 0000:00:00.0: firmware register dump:
[  157.780000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  157.780000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  157.790000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  157.800000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0x00000000 0x00957F04 0x00957F12
[  157.810000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  157.820000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  157.820000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  157.830000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  157.840000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  157.850000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  157.860000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  157.860000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  157.870000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  157.880000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  157.890000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  158.000000] ieee80211 phy0: Hardware restart was requested
[  159.260000] ath10k_pci 0000:00:00.0: device successfully recovered





      
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
  2017-01-25 23:39 ` ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash Kevin Dious
@ 2017-01-26  0:05   ` Adrian Chadd
       [not found]     ` <BLUPR06MB86859F97513770F64B72784E0770@BLUPR06MB868.namprd06.prod.outlook.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Chadd @ 2017-01-26  0:05 UTC (permalink / raw)
  To: Kevin Dious; +Cc: ath10k

Hiya,

Can you enable WMI/MAC debugging when you load it up? Knowing which
command(s) it's sent before it does would be helpful.

It'd also be useful to know if it's something silly, like it thinking
it's a 2G device when QCA9888 is definitely 5G...


-a

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
       [not found]     ` <BLUPR06MB86859F97513770F64B72784E0770@BLUPR06MB868.namprd06.prod.outlook.com>
@ 2017-01-26  0:10       ` Kevin Dious
  2017-01-26  0:15         ` Adrian Chadd
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Dious @ 2017-01-26  0:10 UTC (permalink / raw)
  To: Adrian Chadd; +Cc: ath10k

Adrian,





Thanks for the prompt reply.

How exactly do I enable WMI/MAC debugging?  I am a little new to this with ath10k.  Is this the correct way to do it (use the -d flag when running the firmware encoder script)?  Just want to be sure.

kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$ python ath10k-fwencoder -c --otp otp.bin --firmware athwlan.bin --set-fw-api 3 --set-wmi-op-version 10.2 --set-htt-op-version unset -d
DEBUG: adding id 1 len(value) 4padding_len 0
DEBUG: adding id 4 len(value) 6869padding_len 3
DEBUG: adding id 3 len(value) 224758padding_len 2
DEBUG: adding id 5 len(value) 4padding_len 0
firmware-3.bin created: 231684 B
kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$


Thank you.

Kevin
  
From: adrian.chadd@gmail.com <adrian.chadd@gmail.com> on behalf of Adrian Chadd <adrian@freebsd.org>
Sent: Wednesday, January 25, 2017 4:05:05 PM
To: Kevin Dious
Cc: ath10k@lists.infradead.org
Subject: Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
    
Hiya,

Can you enable WMI/MAC debugging when you load it up? Knowing which
command(s) it's sent before it does would be helpful.

It'd also be useful to know if it's something silly, like it thinking
it's a 2G device when QCA9888 is definitely 5G...


-a
    
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
  2017-01-26  0:10       ` Kevin Dious
@ 2017-01-26  0:15         ` Adrian Chadd
  2017-01-26 19:41           ` Kevin Dious
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Chadd @ 2017-01-26  0:15 UTC (permalink / raw)
  To: Kevin Dious; +Cc: ath10k

Hi,

https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/debug should help!



-adrian


On 25 January 2017 at 16:10, Kevin Dious <Kevin.Dious@ubiqomm.com> wrote:
> Adrian,
>
>
>
>
>
> Thanks for the prompt reply.
>
> How exactly do I enable WMI/MAC debugging?  I am a little new to this with ath10k.  Is this the correct way to do it (use the -d flag when running the firmware encoder script)?  Just want to be sure.
>
> kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$ python ath10k-fwencoder -c --otp otp.bin --firmware athwlan.bin --set-fw-api 3 --set-wmi-op-version 10.2 --set-htt-op-version unset -d
> DEBUG: adding id 1 len(value) 4padding_len 0
> DEBUG: adding id 4 len(value) 6869padding_len 3
> DEBUG: adding id 3 len(value) 224758padding_len 2
> DEBUG: adding id 5 len(value) 4padding_len 0
> firmware-3.bin created: 231684 B
> kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$
>
>
> Thank you.
>
> Kevin
>
> From: adrian.chadd@gmail.com <adrian.chadd@gmail.com> on behalf of Adrian Chadd <adrian@freebsd.org>
> Sent: Wednesday, January 25, 2017 4:05:05 PM
> To: Kevin Dious
> Cc: ath10k@lists.infradead.org
> Subject: Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
>
> Hiya,
>
> Can you enable WMI/MAC debugging when you load it up? Knowing which
> command(s) it's sent before it does would be helpful.
>
> It'd also be useful to know if it's something silly, like it thinking
> it's a 2G device when QCA9888 is definitely 5G...
>
>
> -a
>

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
  2017-01-26  0:15         ` Adrian Chadd
@ 2017-01-26 19:41           ` Kevin Dious
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Dious @ 2017-01-26 19:41 UTC (permalink / raw)
  To: Adrian Chadd; +Cc: ath10k

Adrian (and anyone else who chimes in),

Thank you for your help.  I'm a bit new to this so I really appreciate your help.  Please let me know if enabling any additional debug logs or taking any additional steps would be helpful.  The wireless chip I am using is the AR9888 which is an 802.11ac wireless chip capable of 2.4Ghz and 5Ghz.  I am focuse don bringing it up as a 802.11ac 5GHz mode.

Per your instructions I enabled the WMI and MAC debugging but doing the following after the device booted up (but before bringing up the wifi chip):
root@OpenWrt:/# echo 0x12 > /sys/module/ath10k_core/parameters/debug_mask

Then I brought up the wifi device by doing the following (the device is disabled by default at bootup):

a. Editing the /etc/config/wireless file to set the channel to 149, change the hwmode from "11a" to "11ac", enable radio0 and saving it (changed the option disabled from "1" to "0"):

config wifi-device  radio0
        option type     mac80211
        option channel  149
        option hwmode   11ac
        option path     'pci0000:00/0000:00:00.0'
        option htmode   VHT80
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt_Kevin
        option encryption none

config wifi-device  radio1
        option type     mac80211
        option channel  11
        option hwmode   11g
        option path     'platform/ar934x_wmac'
        option htmode   HT20
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio1
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none


b. type "wifi" at th eocmmand prompt

Below are the dmesg logs (used grep and filtered on "ath10k"):

root@OpenWrt:/# dmesg | grep ath10k


[   11.970000] ath10k_pci 0000:00:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   12.190000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   12.200000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.290000] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   12.300000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   12.310000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.410000] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   12.420000] ath10k_pci 0000:00:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-5.bin': -11
[   12.430000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   12.440000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.540000] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   12.550000] ath10k_pci 0000:00:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-4.bin': -11
[   12.560000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   12.570000] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.590000] ath10k_pci 0000:00:00.0: firmware ver  api 3 features  crc32 11ebb35d
[   12.620000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   12.630000] ath10k_pci 0000:00:00.0: Falling back to user helper
[   12.720000] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   12.730000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.750000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   93.220000] ath10k_pci 0000:00:00.0: wmi svc: 00000000: 0e 00 00 00 07 00 00 00 07 00 00 00 09 00 00 00  ................
[   93.220000] ath10k_pci 0000:00:00.0: wmi svc: 00000010: 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   93.220000] ath10k_pci 0000:00:00.0: wmi svc: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   93.220000] ath10k_pci 0000:00:00.0: wmi svc: 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   93.220000] ath10k_pci 0000:00:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000085b vht_cap 0x338001b2 sw_ver0 0x4100000e sw_ver1 0x00000000 1
[   93.220000] ath10k_pci 0000:00:00.0: wmi chunk 0 len 64380 requested, addr 0x6420000
[   93.220000] ath10k_pci 0000:00:00.0: wmi init 10.2
[   93.240000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 1090519054 abi_version 1 mac_addr 04:f0:21:1a:7b:3d status 0
[   93.240000] ath10k_pci 0000:00:00.0: wmi disable pktlog
[   93.240000] ath10k_pci 0000:00:00.0: wmi pdev set param 30 value 1
[   93.240000] ath10k_pci 0000:00:00.0: wmi pdev set param 10 value 1
[   93.240000] ath10k_pci 0000:00:00.0: wmi pdev set param 41 value 0
[   93.240000] ath10k_pci 0000:00:00.0: wmi pdev set param 1 value 3
[   93.240000] ath10k_pci 0000:00:00.0: wmi pdev set param 2 value 3
[   93.250000] ath10k_pci 0000:00:00.0: wmi pdev set param 31 value 0
[   93.250000] ath10k_pci 0000:00:00.0: wmi pdev set param 33 value 1
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [0/25] freq 5180 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [1/25] freq 5200 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [2/25] freq 5220 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [3/25] freq 5240 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [4/25] freq 5260 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [5/25] freq 5280 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [6/25] freq 5300 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [7/25] freq 5320 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [8/25] freq 5500 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [9/25] freq 5520 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [10/25] freq 5540 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [11/25] freq 5560 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [12/25] freq 5580 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [13/25] freq 5600 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [14/25] freq 5620 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [15/25] freq 5640 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [16/25] freq 5660 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [17/25] freq 5680 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [18/25] freq 5700 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [19/25] freq 5720 maxpower 46 regpower 46 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [20/25] freq 5745 maxpower 60 regpower 60 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [21/25] freq 5765 maxpower 60 regpower 60 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [22/25] freq 5785 maxpower 60 regpower 60 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [23/25] freq 5805 maxpower 60 regpower 60 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: mac channel [24/25] freq 5825 maxpower 60 regpower 60 antenna 0 mode 0
[   93.250000] ath10k_pci 0000:00:00.0: wmi pdev regdomain rd 3a rd2g 3a rd5g 3a ctl2g 10 ctl5g 10 dfs_region 1
[   93.260000] ath10k_pci 0000:00:00.0: mac create vdev 0 map ffff
[   93.260000] ath10k_pci 0000:00:00.0: mac vdev create 0 (add interface) type 1 subtype 0 bcnmode single-buf
[   93.260000] ath10k_pci 0000:00:00.0: WMI vdev create: id 0 type 1 subtype 0 macaddr 04:f0:21:1a:7b:3d
[   93.260000] ath10k_pci 0000:00:00.0: vdev param 0 not supported by firmware
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 32 value 2
[   93.260000] ath10k_pci 0000:00:00.0: wmi peer create vdev_id 0 peer_addr 04:f0:21:1a:7b:3d
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set param 13 value 320
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 38 value 3747
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 39 value 3895
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 40 value 3900
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 1 value -1
[   93.260000] ath10k_pci 0000:00:00.0: mac txpower 0
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 0
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 0
[   93.260000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.260000] ath10k_pci 0000:00:00.0: mac vdev 0 cts_prot 0
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 43 value 17
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 24 value 0
[   93.260000] ath10k_pci 0000:00:00.0: mac vdev 0 slot_time 1
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 7 value 1
[   93.260000] ath10k_pci 0000:00:00.0: mac vdev 0 preamble 1n
[   93.260000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 8 value 1
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.260000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.260000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.270000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.280000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.280000] ath10k_pci 0000:00:00.0: wmi 10x start scan
[   93.280000] ath10k_pci 0000:00:00.0: scan event started type 1 reason 3 freq 0 req_id 40961 scan_id 40960 vdev_id 0 state starting (1)
[   93.280000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 0 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.280000] ath10k_pci 0000:00:00.0: scan event foreign channel type 8 reason 3 freq 5745 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.280000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5745 cmd_flags 0 noise_floor 0 rx_clear_count 1588630 cycle_count 4634863
[   93.430000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 5745 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.430000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5745 cmd_flags 1 noise_floor -107 rx_clear_count 2508924 cycle_count 17485800
[   93.430000] ath10k_pci 0000:00:00.0: scan event foreign channel type 8 reason 3 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.430000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5765 cmd_flags 0 noise_floor 0 rx_clear_count 2509759 cycle_count 17838999
[   93.580000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.580000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5765 cmd_flags 1 noise_floor -106 rx_clear_count 2781472 cycle_count 30689936
[   93.580000] ath10k_pci 0000:00:00.0: scan event completed type 2 reason 0 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[   93.580000] ath10k_pci 0000:00:00.0: mac chanctx add freq 5765 width 3 ptr 85cbc6b0
[   93.580000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.580000] ath10k_pci 0000:00:00.0: mac chanctx assign ptr 85cbc6b0 vdev_id 0
[   93.580000] ath10k_pci 0000:00:00.0: mac vdev 0 start center_freq 5765 phymode 11ac-vht80
[   93.580000] ath10k_pci 0000:00:00.0: wmi vdev start id 0x0 flags: 0x0, freq 5765, mode 10, ch_flags: 0xA000000, max_power: 60
[   93.590000] ath10k_pci 0000:00:00.0: WMI_VDEV_START_RESP_EVENTID
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev_id 0 txpower 30
[   93.590000] ath10k_pci 0000:00:00.0: mac txpower 30
[   93.590000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[   93.590000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[   93.590000] ath10k_pci 0000:00:00.0: mac chanctx change freq 5765 width 3 ptr 85cbc6b0 changed 2
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 3 value 100
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 beacon_interval 100
[   93.590000] ath10k_pci 0000:00:00.0: vdev 0 set beacon tx mode to staggered
[   93.590000] ath10k_pci 0000:00:00.0: wmi pdev set param 7 value 0
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 dtim_period 2
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 13 value 2
[   93.590000] ath10k_pci 0000:00:00.0: wmi mgmt vdev up id 0x0 assoc id 0 bssid 04:f0:21:1a:7b:3d
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 up
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev_id 0 txpower 30
[   93.590000] ath10k_pci 0000:00:00.0: mac txpower 30
[   93.590000] ath10k_pci 0000:00:00.0: WMI_TBTTOFFSET_UPDATE_EVENTID
[   93.590000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[   93.590000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 cts_prot 0
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 43 value 17
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 24 value 0
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 slot_time 2
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 7 value 2
[   93.590000] ath10k_pci 0000:00:00.0: mac vdev 0 preamble 2n
[   93.590000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 8 value 2
[   93.620000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.620000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.620000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.620000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   93.620000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   93.680000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   94.220000] ath10k_pci 0000:00:00.0: wmi event debug mesg len 164
[   95.360000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   96.410000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid 7a4754d1-994d-49d0-9d25-ca362d51279d)
[   96.420000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   96.430000] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   96.450000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 11ebb35d
[   96.460000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   96.460000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   96.470000] ath10k_pci 0000:00:00.0: firmware register dump:
[   96.480000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[   96.490000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[   96.500000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[   96.500000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0x00000000 0x00957F04 0x00957F12
[   96.510000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[   96.520000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[   96.530000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[   96.540000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[   96.540000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[   96.550000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[   96.560000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[   96.570000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[   96.580000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[   96.590000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[   96.590000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[   96.700000] ath10k_pci 0000:00:00.0: wmi disable pktlog
[   97.910000] ath10k_pci 0000:00:00.0: wmi svc: 00000000: 0e 00 00 00 07 00 00 00 07 00 00 00 09 00 00 00  ................
[   97.910000] ath10k_pci 0000:00:00.0: wmi svc: 00000010: 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   97.910000] ath10k_pci 0000:00:00.0: wmi svc: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   97.910000] ath10k_pci 0000:00:00.0: wmi svc: 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   97.910000] ath10k_pci 0000:00:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000085b vht_cap 0x338001b2 sw_ver0 0x4100000e sw_ver1 0x00000000 1
[   97.910000] ath10k_pci 0000:00:00.0: wmi chunk 0 len 64380 requested, addr 0x6420000
[   97.910000] ath10k_pci 0000:00:00.0: wmi init 10.2
[   97.930000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 1090519054 abi_version 1 mac_addr 04:f0:21:1a:7b:3d status 0
[   97.940000] ath10k_pci 0000:00:00.0: wmi disable pktlog
[   97.940000] ath10k_pci 0000:00:00.0: wmi pdev set param 30 value 1
[   97.940000] ath10k_pci 0000:00:00.0: wmi pdev set param 10 value 1
[   97.940000] ath10k_pci 0000:00:00.0: wmi pdev set param 41 value 0
[   97.940000] ath10k_pci 0000:00:00.0: wmi pdev set param 1 value 3
[   97.940000] ath10k_pci 0000:00:00.0: wmi pdev set param 2 value 3
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev set param 31 value 0
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev set param 33 value 1
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [0/25] freq 5180 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [1/25] freq 5200 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [2/25] freq 5220 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [3/25] freq 5240 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [4/25] freq 5260 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [5/25] freq 5280 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [6/25] freq 5300 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [7/25] freq 5320 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [8/25] freq 5500 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [9/25] freq 5520 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [10/25] freq 5540 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [11/25] freq 5560 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [12/25] freq 5580 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [13/25] freq 5600 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [14/25] freq 5620 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [15/25] freq 5640 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [16/25] freq 5660 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [17/25] freq 5680 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [18/25] freq 5700 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [19/25] freq 5720 maxpower 46 regpower 46 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [20/25] freq 5745 maxpower 60 regpower 60 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [21/25] freq 5765 maxpower 60 regpower 60 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [22/25] freq 5785 maxpower 60 regpower 60 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [23/25] freq 5805 maxpower 60 regpower 60 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: mac channel [24/25] freq 5825 maxpower 60 regpower 60 antenna 0 mode 0
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev regdomain rd 3a rd2g 3a rd5g 3a ctl2g 10 ctl5g 10 dfs_region 1
[   97.950000] ath10k_pci 0000:00:00.0: mac create vdev 0 map ffff
[   97.950000] ath10k_pci 0000:00:00.0: mac vdev create 0 (add interface) type 1 subtype 0 bcnmode single-buf
[   97.950000] ath10k_pci 0000:00:00.0: WMI vdev create: id 0 type 1 subtype 0 macaddr 04:f0:21:1a:7b:3d
[   97.950000] ath10k_pci 0000:00:00.0: vdev param 0 not supported by firmware
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 32 value 2
[   97.950000] ath10k_pci 0000:00:00.0: wmi peer create vdev_id 0 peer_addr 04:f0:21:1a:7b:3d
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev set param 13 value 320
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 38 value 3747
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 39 value 3895
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 40 value 3900
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 1 value -1
[   97.950000] ath10k_pci 0000:00:00.0: mac txpower 30
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[   97.950000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[   97.950000] ath10k_pci 0000:00:00.0: mac chanctx add freq 5765 width 3 ptr 85cbc6b0
[   97.950000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   97.950000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   97.950000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[   97.950000] ath10k_pci 0000:00:00.0: mac chanctx assign ptr 85cbc6b0 vdev_id 0
[   97.950000] ath10k_pci 0000:00:00.0: mac vdev 0 start center_freq 5765 phymode 11ac-vht80
[   97.950000] ath10k_pci 0000:00:00.0: wmi vdev start id 0x0 flags: 0x0, freq 5765, mode 10, ch_flags: 0xA000000, max_power: 60
[   97.960000] ath10k_pci 0000:00:00.0: WMI_VDEV_START_RESP_EVENTID
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 3 value 100
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 beacon_interval 100
[   97.960000] ath10k_pci 0000:00:00.0: vdev 0 set beacon tx mode to staggered
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set param 7 value 0
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 dtim_period 2
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 13 value 2
[   97.960000] ath10k_pci 0000:00:00.0: wmi mgmt vdev up id 0x0 assoc id 0 bssid 04:f0:21:1a:7b:3d
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 up
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 cts_prot 0
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 43 value 17
[   97.960000] ath10k_pci 0000:00:00.0: WMI_TBTTOFFSET_UPDATE_EVENTID
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 24 value 0
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 slot_time 2
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 7 value 2
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev 0 preamble 2n
[   97.960000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 8 value 2
[   97.960000] ath10k_pci 0000:00:00.0: mac vdev_id 0 txpower 30
[   97.960000] ath10k_pci 0000:00:00.0: mac txpower 30
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[   97.960000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[   97.960000] ath10k_pci 0000:00:00.0: device successfully recovered
[   98.910000] ath10k_pci 0000:00:00.0: wmi event debug mesg len 164
[  103.750000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  103.750000] ath10k_pci 0000:00:00.0: wmi mgmt vdev down id 0x0
[  103.750000] ath10k_pci 0000:00:00.0: mac chanctx unassign ptr 85cbc6b0 vdev_id 0
[  103.750000] ath10k_pci 0000:00:00.0: wmi vdev stop id 0x0
[  103.820000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid 563f5bdf-6841-4997-a2a0-998be6eb3bc9)
[  103.830000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  103.840000] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[  103.860000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 11ebb35d
[  103.860000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  103.870000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  103.880000] ath10k_pci 0000:00:00.0: firmware register dump:
[  103.890000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  103.900000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  103.910000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  103.910000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0x00000000 0x00957F04 0x00957F12
[  103.920000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  103.930000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  103.940000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  103.950000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  103.950000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  103.960000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  103.970000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  103.980000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  103.990000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  103.990000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  104.000000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  104.010000] ath10k_pci 0000:00:00.0: mac chanctx remove freq 5765 width 3 ptr 85cbc6b0
[  104.010000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  104.010000] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 1 ar-state 1): 500
[  104.120000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  104.120000] ath10k_pci 0000:00:00.0: wmi peer delete vdev_id 0 peer_addr 04:f0:21:1a:7b:3d
[  104.120000] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 0: -143
[  104.130000] ath10k_pci 0000:00:00.0: mac vdev 0 delete (remove interface)
[  104.130000] ath10k_pci 0000:00:00.0: WMI vdev delete id 0
[  104.130000] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 0: -143
[  104.140000] ath10k_pci 0000:00:00.0: removing stale peer 04:f0:21:1a:7b:3d from vdev_id 0
[  104.150000] ath10k_pci 0000:00:00.0: wmi disable pktlog
[  105.730000] ath10k_pci 0000:00:00.0: wmi svc: 00000000: 0e 00 00 00 07 00 00 00 07 00 00 00 09 00 00 00  ................
[  105.730000] ath10k_pci 0000:00:00.0: wmi svc: 00000010: 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  105.730000] ath10k_pci 0000:00:00.0: wmi svc: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  105.730000] ath10k_pci 0000:00:00.0: wmi svc: 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  105.730000] ath10k_pci 0000:00:00.0: wmi event service ready min_tx_power 0x0000003f max_tx_power 0x0000003f ht_cap 0x0000085b vht_cap 0x338001b2 sw_ver0 0x4100000e sw_ver1 0x00000000 1
[  105.730000] ath10k_pci 0000:00:00.0: wmi chunk 0 len 64380 requested, addr 0x6420000
[  105.730000] ath10k_pci 0000:00:00.0: wmi init 10.2
[  105.760000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 1090519054 abi_version 1 mac_addr 04:f0:21:1a:7b:3d status 0
[  105.760000] ath10k_pci 0000:00:00.0: wmi disable pktlog
[  105.760000] ath10k_pci 0000:00:00.0: wmi pdev set param 30 value 1
[  105.760000] ath10k_pci 0000:00:00.0: wmi pdev set param 10 value 1
[  105.760000] ath10k_pci 0000:00:00.0: wmi pdev set param 41 value 0
[  105.760000] ath10k_pci 0000:00:00.0: wmi pdev set param 1 value 3
[  105.760000] ath10k_pci 0000:00:00.0: wmi pdev set param 2 value 3
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev set param 31 value 0
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev set param 33 value 1
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [0/25] freq 5180 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [1/25] freq 5200 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [2/25] freq 5220 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [3/25] freq 5240 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [4/25] freq 5260 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [5/25] freq 5280 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [6/25] freq 5300 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [7/25] freq 5320 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [8/25] freq 5500 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [9/25] freq 5520 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [10/25] freq 5540 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [11/25] freq 5560 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [12/25] freq 5580 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [13/25] freq 5600 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [14/25] freq 5620 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [15/25] freq 5640 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [16/25] freq 5660 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [17/25] freq 5680 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [18/25] freq 5700 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [19/25] freq 5720 maxpower 46 regpower 46 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [20/25] freq 5745 maxpower 60 regpower 60 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [21/25] freq 5765 maxpower 60 regpower 60 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [22/25] freq 5785 maxpower 60 regpower 60 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [23/25] freq 5805 maxpower 60 regpower 60 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: mac channel [24/25] freq 5825 maxpower 60 regpower 60 antenna 0 mode 0
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev regdomain rd 3a rd2g 3a rd5g 3a ctl2g 10 ctl5g 10 dfs_region 1
[  105.770000] ath10k_pci 0000:00:00.0: mac create vdev 0 map ffff
[  105.770000] ath10k_pci 0000:00:00.0: mac vdev create 0 (add interface) type 1 subtype 0 bcnmode single-buf
[  105.770000] ath10k_pci 0000:00:00.0: WMI vdev create: id 0 type 1 subtype 0 macaddr 04:f0:21:1a:7b:3d
[  105.770000] ath10k_pci 0000:00:00.0: vdev param 0 not supported by firmware
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 32 value 2
[  105.770000] ath10k_pci 0000:00:00.0: wmi peer create vdev_id 0 peer_addr 04:f0:21:1a:7b:3d
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev set param 13 value 320
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 38 value 3747
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 39 value 3895
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 40 value 3900
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 1 value -1
[  105.770000] ath10k_pci 0000:00:00.0: mac txpower 0
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 0
[  105.770000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 0
[  105.770000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  105.770000] ath10k_pci 0000:00:00.0: mac vdev 0 cts_prot 0
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 43 value 17
[  105.770000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 24 value 0
[  105.780000] ath10k_pci 0000:00:00.0: mac vdev 0 slot_time 1
[  105.780000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 7 value 1
[  105.780000] ath10k_pci 0000:00:00.0: mac vdev 0 preamble 1n
[  105.780000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 8 value 1
[  105.780000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  105.780000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  105.780000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  105.780000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  105.780000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  105.790000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  105.790000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  105.800000] ath10k_pci 0000:00:00.0: wmi 10x start scan
[  105.800000] ath10k_pci 0000:00:00.0: scan event started type 1 reason 3 freq 0 req_id 40961 scan_id 40960 vdev_id 0 state starting (1)
[  105.800000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 0 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  105.800000] ath10k_pci 0000:00:00.0: scan event foreign channel type 8 reason 3 freq 5745 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  105.800000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5745 cmd_flags 0 noise_floor 0 rx_clear_count 1601308 cycle_count 4784683
[  105.950000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 5745 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  105.950000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5745 cmd_flags 1 noise_floor -106 rx_clear_count 1879424 cycle_count 17635268
[  105.950000] ath10k_pci 0000:00:00.0: scan event foreign channel type 8 reason 3 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  105.950000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5765 cmd_flags 0 noise_floor 0 rx_clear_count 1943346 cycle_count 17988467
[  106.100000] ath10k_pci 0000:00:00.0: scan event bss channel type 4 reason 3 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  106.100000] ath10k_pci 0000:00:00.0: chan info err_code 0 freq 5765 cmd_flags 1 noise_floor -106 rx_clear_count 2944042 cycle_count 30838964
[  106.100000] ath10k_pci 0000:00:00.0: scan event completed type 2 reason 0 freq 5765 req_id 40961 scan_id 40960 vdev_id 0 state running (2)
[  106.100000] ath10k_pci 0000:00:00.0: mac chanctx add freq 5765 width 3 ptr 8677ea30
[  106.100000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  106.100000] ath10k_pci 0000:00:00.0: mac chanctx assign ptr 8677ea30 vdev_id 0
[  106.100000] ath10k_pci 0000:00:00.0: mac vdev 0 start center_freq 5765 phymode 11ac-vht80
[  106.100000] ath10k_pci 0000:00:00.0: wmi vdev start id 0x0 flags: 0x0, freq 5765, mode 10, ch_flags: 0xA000000, max_power: 60
[  106.110000] ath10k_pci 0000:00:00.0: WMI_VDEV_START_RESP_EVENTID
[  106.110000] ath10k_pci 0000:00:00.0: mac vdev_id 0 txpower 30
[  106.110000] ath10k_pci 0000:00:00.0: mac txpower 30
[  106.110000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[  106.110000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[  106.110000] ath10k_pci 0000:00:00.0: mac chanctx change freq 5765 width 3 ptr 8677ea30 changed 2
[  106.110000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 3 value 100
[  106.110000] ath10k_pci 0000:00:00.0: mac vdev 0 beacon_interval 100
[  106.110000] ath10k_pci 0000:00:00.0: vdev 0 set beacon tx mode to staggered
[  106.110000] ath10k_pci 0000:00:00.0: wmi pdev set param 7 value 0
[  106.110000] ath10k_pci 0000:00:00.0: mac vdev 0 dtim_period 2
[  106.110000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 13 value 2
[  106.110000] ath10k_pci 0000:00:00.0: wmi mgmt vdev up id 0x0 assoc id 0 bssid 04:f0:21:1a:7b:3d
[  106.110000] ath10k_pci 0000:00:00.0: mac vdev 0 up
[  106.110000] ath10k_pci 0000:00:00.0: mac vdev_id 0 txpower 30
[  106.110000] ath10k_pci 0000:00:00.0: mac txpower 30
[  106.110000] ath10k_pci 0000:00:00.0: WMI_TBTTOFFSET_UPDATE_EVENTID
[  106.110000] ath10k_pci 0000:00:00.0: wmi pdev set param 3 value 60
[  106.110000] ath10k_pci 0000:00:00.0: wmi pdev set param 4 value 60
[  106.130000] ath10k_pci 0000:00:00.0: mac vdev 0 cts_prot 0
[  106.130000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 43 value 17
[  106.130000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 24 value 0
[  106.130000] ath10k_pci 0000:00:00.0: mac vdev 0 slot_time 2
[  106.130000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 7 value 2
[  106.130000] ath10k_pci 0000:00:00.0: mac vdev 0 preamble 2n
[  106.130000] ath10k_pci 0000:00:00.0: wmi vdev id 0x0 set param 8 value 2
[  106.130000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  106.130000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  106.130000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  106.130000] ath10k_pci 0000:00:00.0: wmi pdev set wmm params
[  106.140000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  106.200000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  106.730000] ath10k_pci 0000:00:00.0: wmi event debug mesg len 164
[  107.750000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  107.750000] ath10k_pci 0000:00:00.0: wmi mgmt vdev down id 0x0
[  107.750000] ath10k_pci 0000:00:00.0: mac chanctx unassign ptr 8677ea30 vdev_id 0
[  107.750000] ath10k_pci 0000:00:00.0: wmi vdev stop id 0x0
[  107.820000] ath10k_pci 0000:00:00.0: firmware crashed! (uuid 5a1c3c4f-ace2-4ea8-893d-63ecf3c02c4b)
[  107.830000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[  107.840000] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[  107.850000] ath10k_pci 0000:00:00.0: firmware ver 65.14.0.0 api 3 features  crc32 11ebb35d
[  107.860000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  107.870000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 3 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[  107.880000] ath10k_pci 0000:00:00.0: firmware register dump:
[  107.890000] ath10k_pci 0000:00:00.0: [00]: 0x4100016C 0x00000000 0x00414C64 0x00414C64
[  107.890000] ath10k_pci 0000:00:00.0: [04]: 0x00414C64 0x00060530 0x0000001F 0x00000001
[  107.900000] ath10k_pci 0000:00:00.0: [08]: 0x0040AE04 0x00400000 0x00000007 0x00000000
[  107.910000] ath10k_pci 0000:00:00.0: [12]: 0x00000002 0x00000000 0x00957F04 0x00957F12
[  107.920000] ath10k_pci 0000:00:00.0: [16]: 0x809B02B0 0x0040AD94 0x0040AE04 0x00400000
[  107.930000] ath10k_pci 0000:00:00.0: [20]: 0x00000000 0x00000000 0x00000000 0x0040F6A0
[  107.930000] ath10k_pci 0000:00:00.0: [24]: 0x809AF9C0 0x0040ADC4 0x00000001 0x0040AE04
[  107.940000] ath10k_pci 0000:00:00.0: [28]: 0x0041397C 0x00000001 0x0040AE08 0x00000002
[  107.950000] ath10k_pci 0000:00:00.0: [32]: 0x00000007 0x00000000 0x00000000 0x00413964
[  107.960000] ath10k_pci 0000:00:00.0: [36]: 0x809BD4EF 0x0040ADE4 0x00411B0C 0x00411B30
[  107.970000] ath10k_pci 0000:00:00.0: [40]: 0x00000001 0x00000000 0x00955A00 0x0040F6B0
[  107.970000] ath10k_pci 0000:00:00.0: [44]: 0x809BCD0C 0x0040AE04 0x00000001 0x00000000
[  107.980000] ath10k_pci 0000:00:00.0: [48]: 0x0040AE04 0x00000001 0x00413964 0x00411D50
[  107.990000] ath10k_pci 0000:00:00.0: [52]: 0x809BCA78 0x0040AEA4 0x0041F294 0x0041216C
[  108.000000] ath10k_pci 0000:00:00.0: [56]: 0x00413964 0x0040AE34 0x004124AC 0x004124AC
[  108.010000] ath10k_pci 0000:00:00.0: mac chanctx remove freq 5765 width 3 ptr 8677ea30
[  108.010000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  108.010000] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 1 ar-state 1): 500
[  108.020000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  108.120000] ath10k_pci 0000:00:00.0: mac monitor recalc started? 0 needed? 0 allowed? 1
[  108.120000] ath10k_pci 0000:00:00.0: wmi peer delete vdev_id 0 peer_addr 04:f0:21:1a:7b:3d
[  108.120000] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 0: -143
[  108.130000] ath10k_pci 0000:00:00.0: mac vdev 0 delete (remove interface)
[  108.130000] ath10k_pci 0000:00:00.0: WMI vdev delete id 0
[  108.130000] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 0: -143
[  108.140000] ath10k_pci 0000:00:00.0: removing stale peer 04:f0:21:1a:7b:3d from vdev_id 0
[  108.150000] ath10k_pci 0000:00:00.0: wmi disable pktlog


From: adrian.chadd@gmail.com <adrian.chadd@gmail.com> on behalf of Adrian Chadd <adrian@freebsd.org>
Sent: Wednesday, January 25, 2017 4:15 PM
To: Kevin Dious
Cc: ath10k@lists.infradead.org
Subject: Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
    
Hi,

https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/debug should help!


en:users:drivers:ath10k:debug [Linux Wireless]
wireless.wiki.kernel.org
ath10k contains various debug log levels (check drivers/net/wireless/ath/ath10k/debug.h for up-to-date list): enum ath10k_debug_mask { ATH10K_DBG_PCI ...




-adrian


On 25 January 2017 at 16:10, Kevin Dious <Kevin.Dious@ubiqomm.com> wrote:
> Adrian,
>
>
>
>
>
> Thanks for the prompt reply.
>
> How exactly do I enable WMI/MAC debugging?  I am a little new to this with ath10k.  Is this the correct way to do it (use the -d flag when running the firmware encoder script)?  Just want to be sure.
>
> kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$ python ath10k-fwencoder -c --otp otp.bin --firmware athwlan.bin --set-fw-api 3 --set-wmi-op-version 10.2 --set-htt-op-version unset -d
> DEBUG: adding id 1 len(value) 4padding_len 0
> DEBUG: adding id 4 len(value) 6869padding_len 3
> DEBUG: adding id 3 len(value) 224758padding_len 2
> DEBUG: adding id 5 len(value) 4padding_len 0
> firmware-3.bin created: 231684 B
> kevin@kevin-XPS-8700:~/compex_board_build/qca-swiss-army-knife/tools/scripts/ath10k$
>
>
> Thank you.
>
> Kevin
>
> From: adrian.chadd@gmail.com <adrian.chadd@gmail.com> on behalf of Adrian Chadd <adrian@freebsd.org>
> Sent: Wednesday, January 25, 2017 4:05:05 PM
> To: Kevin Dious
> Cc: ath10k@lists.infradead.org
> Subject: Re: ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash
>
> Hiya,
>
> Can you enable WMI/MAC debugging when you load it up? Knowing which
> command(s) it's sent before it does would be helpful.
>
> It'd also be useful to know if it's something silly, like it thinking
> it's a 2G device when QCA9888 is definitely 5G...
>
>
> -a
>
    
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-26 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BLUPR06MB868ABBAAB6D6107EECB885FE0740@BLUPR06MB868.namprd06.prod.outlook.com>
2017-01-25 23:39 ` ath10k + OpenWRT + ath10k firmware 10.2.2.60.14 - Crash Kevin Dious
2017-01-26  0:05   ` Adrian Chadd
     [not found]     ` <BLUPR06MB86859F97513770F64B72784E0770@BLUPR06MB868.namprd06.prod.outlook.com>
2017-01-26  0:10       ` Kevin Dious
2017-01-26  0:15         ` Adrian Chadd
2017-01-26 19:41           ` Kevin Dious

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.