Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Added 3.2 Firmware #4

Closed
wants to merge 1 commit into from
Closed

Added 3.2 Firmware #4

wants to merge 1 commit into from

Conversation

racerxdl
Copy link

Ok so I'm basically a noob arround that firmware stuff. But I had a problem with my new laptop that had an Killer 1535 board that didnt worked with any firmwares I could find in the internet.

So I followed this comment: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115 and managed to get it working.

I got the newest driver from Clevo for my Killer 1535, dissected the qca61x430.bin (instead 420.bin) and assembled the same files.

I also used another eeprom file eeprom_qca9377_1p0_NFA435_olpc.bin but the original one seens to be working as well.

I'm at Ubuntu 15.10.

lucas@nblucas:~$ uname -a
Linux nblucas 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
lucas@nblucas:~$ lspci -nnk
(...)
03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Bigfoot Networks, Inc. Device [1a56:1535]
    Kernel driver in use: ath10k_pci
(...)
lucas@nblucas:~$ dmesg
(...)
[ 2117.995325] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2118.183800] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 2118.183826] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:1a56:1535.bin failed with error -2
[ 2118.183828] ath10k_pci 0000:03:00.0: failed to load spec board file, falling back to generic: -2
[ 2119.862229] ath10k_pci 0000:03:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:1a56:1535 fallback) fw killer-n1535-fw api 5 htt 3.1 wmi 4 cal otp max_sta 32
[ 2119.862232] ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2119.928090] ath: EEPROM regdomain: 0x6c
[ 2119.928092] ath: EEPROM indicates we should expect a direct regpair map
[ 2119.928094] ath: Country alpha2 being used: 00
[ 2119.928095] ath: Regpair used: 0x6c
[ 2119.929839] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 2119.955957] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 2121.746133] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 2121.785528] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[ 2218.246828] wlp3s0: authenticate with 06:27:22:0b:3f:d8
[ 2218.283865] wlp3s0: send auth to 06:27:22:0b:3f:d8 (try 1/3)
[ 2218.328420] wlp3s0: authenticated
[ 2218.332724] wlp3s0: associate with 06:27:22:0b:3f:d8 (try 1/3)
[ 2218.348086] wlp3s0: RX AssocResp from 06:27:22:0b:3f:d8 (capab=0x431 status=0 aid=3)
[ 2218.349732] wlp3s0: associated
[ 2218.349750] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready

I dont know if I did correct, but it is working fine now. Let me know if you need any more info from my machine or from me. I hope I can help ^^

Lucas

@racerxdl
Copy link
Author

Btw this complements #2 and for some weird reason for me only this firmware file solves, but for #3 he solved with only board-2.bin

@dposea
Copy link

dposea commented Nov 29, 2015

firmware-5.bin worked for my 1535 board in an Alienware 17 R3. I'm testing the board file now, with a new kernel.

@pitersc
Copy link

pitersc commented Jan 15, 2016

firmware5-bin has worked for my as well in an Alienware 15 R2. Thank you.

@Zibri
Copy link

Zibri commented Oct 24, 2017

I tried the same but failed.. can you tell me how you did it step by step?

https://drive.google.com/open?id=0B-oCtUsYAoieMmdwSmNZa0hNRVE

At the link above you find the drivers used by windows 10 for the Killer
wireless 1535 rev 3.2

I tried making the linux drivers using dissect.py and assemble.py but
they don't work.. maybe I do something wrong.

Can anybody help?

@Zibri
Copy link

Zibri commented Oct 24, 2017

If I try the procedure (dissect/assemble) I get:
[336506.351866] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[336506.626977] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[336506.626983] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[336506.628266] ath10k_pci 0000:01:00.0: firmware ver killer-n1535-fw api 5 features crc32 1c8c9ec0
[336506.711336] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 19644295
[336506.794435] ath10k_pci 0000:01:00.0: failed to get board id: -95
[336506.877279] ath10k_pci 0000:01:00.0: otp calibration failed: 3
[336506.877281] ath10k_pci 0000:01:00.0: failed to run otp: -22
[336506.877282] ath10k_pci 0000:01:00.0: could not init core (-22)
[336506.877303] ath10k_pci 0000:01:00.0: could not probe fw (-22)

@Zibri
Copy link

Zibri commented Oct 24, 2017

firmware-4.zip
Finally.. I generated a valid firmware.. I don't know why it works if I generate an API 4 firmware..
This is the latest 1535 firmware.. It's stable, I only have one problem: in iwconfig I always read:
Bit Rate=6 Mb/s
even if it is wifi N

@racerxdl
Copy link
Author

@Zibri yeah I get that as well here. Don't worry is just the reporting statistics that get wrong because the ath10k driver actually doesn't support the newer firmware. If you do a network test you will see that its getting full speed.

@Zibri
Copy link

Zibri commented Oct 25, 2017

And I also read "found invalid board magic" in dmesg

@AbelVM
Copy link

AbelVM commented Sep 28, 2018

One year later, any news on this?

@racerxdl
Copy link
Author

@AbelVM well, for some unknown reason, when I installed Ubuntu 18.04 everything is working fine. Looks like it was merged somewhere and got upstream in Ubuntu LTS. Not sure where though.

@AbelVM
Copy link

AbelVM commented Sep 30, 2018

I'm on 18.04.1 and getting firmware crashes all around. I've tested the out-of-the-box config, updating the kernel to 4.18.x, updating the linux-firmware-all, updating the QCA6174 from here... same behavior:

[  820.463814] ath10k_pci 0000:02:00.0: HTC Rx: invalid eid 14
[  825.825910] ath10k_pci 0000:02:00.0: firmware crashed! (guid c8e34a2a-a75b-42ef-aa38-aeb186214e45)
[  825.825928] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[  825.825934] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  825.827589] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[  825.828859] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[  825.828867] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  825.830881] ath10k_pci 0000:02:00.0: firmware register dump:
[  825.830891] ath10k_pci 0000:02:00.0: [00]: 0x05030000 0x000015B3 0x009FCE17 0x00955B31
[  825.830899] ath10k_pci 0000:02:00.0: [04]: 0x009FCE17 0x00060730 0x00000005 0xFFFC0000
[  825.830906] ath10k_pci 0000:02:00.0: [08]: 0x00000001 0x000CD21C 0x000CE5A4 0x000CCABD
[  825.830914] ath10k_pci 0000:02:00.0: [12]: 0x00000009 0x00000001 0x009DC9B0 0x009DC9BA
[  825.830920] ath10k_pci 0000:02:00.0: [16]: 0x00952CC4 0x009392F3 0x00000000 0x0091080D
[  825.830927] ath10k_pci 0000:02:00.0: [20]: 0x409FCE17 0x0040E848 0x000CD1A4 0x00000000
[  825.830934] ath10k_pci 0000:02:00.0: [24]: 0x80A03408 0x0040E8A8 0x00000014 0xC09FCE17
[  825.830941] ath10k_pci 0000:02:00.0: [28]: 0x80A03618 0x0040E8C8 0x00000014 0x00001000
[  825.830948] ath10k_pci 0000:02:00.0: [32]: 0x80A036A6 0x0040E8F8 0x000CD497 0x0000FE00
[  825.830955] ath10k_pci 0000:02:00.0: [36]: 0x80939AB1 0x0040E918 0x00407CC8 0x00000600
[  825.830962] ath10k_pci 0000:02:00.0: [40]: 0x80A03498 0x0040E958 0x00407C78 0x00407C7C
[  825.830969] ath10k_pci 0000:02:00.0: [44]: 0x80926FBB 0x0040E998 0x00000000 0x00000000
[  825.830976] ath10k_pci 0000:02:00.0: [48]: 0x809E34B9 0x0040E9C8 0x0040A054 0x00000000
[  825.830983] ath10k_pci 0000:02:00.0: [52]: 0x809E378B 0x0040EA38 0x0040A054 0x00000001
[  825.830990] ath10k_pci 0000:02:00.0: [56]: 0x80932EF9 0x0040EA68 0x0040A054 0x00428E80
[  825.830995] ath10k_pci 0000:02:00.0: Copy Engine register dump:
[  825.831011] ath10k_pci 0000:02:00.0: [00]: 0x00034400   8   8   3   3
[  825.831026] ath10k_pci 0000:02:00.0: [01]: 0x00034800   8   8 309 310
[  825.831041] ath10k_pci 0000:02:00.0: [02]: 0x00034c00  26  26  89  90
[  825.831055] ath10k_pci 0000:02:00.0: [03]: 0x00035000  19  19  21  19
[  825.831069] ath10k_pci 0000:02:00.0: [04]: 0x00035400 5405 5405 208 144
[  825.831084] ath10k_pci 0000:02:00.0: [05]: 0x00035800   0   0  64   0
[  825.831098] ath10k_pci 0000:02:00.0: [06]: 0x00035c00  29  29  22  22
[  825.831113] ath10k_pci 0000:02:00.0: [07]: 0x00036000   1   1   1   1
[  826.655807] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[  826.658810] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[  826.743240] ath10k_pci 0000:02:00.0: device successfully recovered

But regardless the last message, the connection remains "limited" or "none" and I need to manually restart the device and/or the service. It's so recurring that I've made my own script to do so:

#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
WFSTATUS=$(nmcli networking connectivity check)
if [ "$WFSTATUS" == "full" ]; then
  echo -e "${GREEN}WiFI OK"
else
  echo -e "${RED}WiFi is down, status = "$WFSTATUS
  echo -e "${NC}Restarting WiFi..."
  nmcli radio wifi off
  sleep 10s
  nmcli radio wifi on
  sleep 10s
  WFSTATUS=$(nmcli networking connectivity check)
  if [ "$WFSTATUS" == "full" ]; then
    echo -e "${GREEN}WiFI is back"
  else
    echo -e "${RED}WiFi is still down, status = "$WFSTATUS
    echo -e "${NC}Restarting network..."
    sudo netplan apply
    sleep 10s
    nmcli radio wifi on
    sleep 10s
    echo "New status: "$(nmcli networking connectivity check) 
  fi 
fi

@AbelVM
Copy link

AbelVM commented Oct 15, 2018

I keep getting crashes, sorry to spam this PR, but I find no other place to report it

[   51.286865] ath10k_pci 0000:02:00.0: firmware crashed! (guid 34906646-8427-49a8-8c24-2fb093997b55)
[   51.286886] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[   51.286889] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   51.287460] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[   51.287888] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[   51.287893] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   51.289897] ath10k_pci 0000:02:00.0: firmware register dump:
[   51.289903] ath10k_pci 0000:02:00.0: [00]: 0x05030000 0x000015B3 0x009FCE17 0x00955B31
[   51.289906] ath10k_pci 0000:02:00.0: [04]: 0x009FCE17 0x00060530 0x00000005 0x00000000
[   51.289910] ath10k_pci 0000:02:00.0: [08]: 0x00000001 0x0000B2E6 0x0000C66E 0x0000B6B7
[   51.289913] ath10k_pci 0000:02:00.0: [12]: 0x00000009 0x00000000 0x00A07080 0x00A0708E
[   51.289916] ath10k_pci 0000:02:00.0: [16]: 0x00952CC4 0x0091080D 0x00000000 0x0091080D
[   51.289919] ath10k_pci 0000:02:00.0: [20]: 0x409FCE17 0x0040E8F8 0x0000B763 0x00000000
[   51.289922] ath10k_pci 0000:02:00.0: [24]: 0x80A03408 0x0040E958 0x000070A4 0xC09FCE17
[   51.289925] ath10k_pci 0000:02:00.0: [28]: 0x809FCBC1 0x0040E978 0x000070A4 0x0000003F
[   51.289928] ath10k_pci 0000:02:00.0: [32]: 0x809E80A5 0x0040E9A8 0x00407E84 0x00003208
[   51.289931] ath10k_pci 0000:02:00.0: [36]: 0x809E348B 0x0040E9C8 0x0040A054 0x0041293C
[   51.289934] ath10k_pci 0000:02:00.0: [40]: 0x809ECCBC 0x0040E9F8 0x0040A054 0x00000001
[   51.289937] ath10k_pci 0000:02:00.0: [44]: 0x809FBCF5 0x0040EA28 0x0040A054 0x00499E18
[   51.289940] ath10k_pci 0000:02:00.0: [48]: 0x809143A7 0x0040EA68 0x00499E24 0x0042A020
[   51.289943] ath10k_pci 0000:02:00.0: [52]: 0x809F94A7 0x0040EA88 0x00411770 0x004117E0
[   51.289946] ath10k_pci 0000:02:00.0: [56]: 0x809F9202 0x0040EAA8 0x00000000 0x00000000
[   51.289950] ath10k_pci 0000:02:00.0: Copy Engine register dump:
[   51.289960] ath10k_pci 0000:02:00.0: [00]: 0x00034400   8   8   3   3
[   51.289969] ath10k_pci 0000:02:00.0: [01]: 0x00034800   1   1 398 399
[   51.289978] ath10k_pci 0000:02:00.0: [02]: 0x00034c00  50  50 113 114
[   51.289987] ath10k_pci 0000:02:00.0: [03]: 0x00035000   7   7   9   7
[   51.289996] ath10k_pci 0000:02:00.0: [04]: 0x00035400 6243 6243 115  51
[   51.290005] ath10k_pci 0000:02:00.0: [05]: 0x00035800   0   0  64   0
[   51.290014] ath10k_pci 0000:02:00.0: [06]: 0x00035c00  19  19  14  14
[   51.290023] ath10k_pci 0000:02:00.0: [07]: 0x00036000   1   1   1   1

@racerxdl
Copy link
Author

@AbelVM thats odd, have you tried all the firmwares mentioned in this PR (besides the one in the PR)? It seens that the firmware that has been loaded for you WLAN.RM.4.4.1-00119-QCARMSWP-1 is the same as loads fine for me.

@AbelVM
Copy link

AbelVM commented Oct 15, 2018

Yep 😢

@AbelVM
Copy link

AbelVM commented Oct 16, 2018

Some log messages during crash and later restart using the script above:

[    3.574520] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[    3.576906] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    3.868182] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[    3.868184] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    3.868654] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[    3.933406] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[    4.521203] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[    4.524227] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[    4.524769] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    4.616233] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[    5.527376] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[    5.530391] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[   87.524111] ath10k_pci 0000:02:00.0: failed to set 5g txpower 26: -11
[   87.524117] ath10k_pci 0000:02:00.0: failed to setup tx power 26: -11
[   87.524121] ath10k_pci 0000:02:00.0: failed to recalc tx power: -11
[   92.640122] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[   95.712093] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer e8:d1:1b:1b:58:52: -11
[   98.784074] ath10k_pci 0000:02:00.0: failed to delete peer e8:d1:1b:1b:58:52 for vdev 0: -11
[   98.784089] ath10k_pci 0000:02:00.0: found sta peer e8:d1:1b:1b:58:52 (ptr 0000000000000000 id 4) entry on vdev 0 after it was supposedly removed
[   98.784598]  snd_seq_midi_event irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_rawmidi aesni_intel ath10k_pci aes_x86_64 dell_wmi ath10k_core crypto_simd cryptd snd_seq dell_smbios glue_helper dcdbas intel_cstate ath intel_rapl_perf mac80211 snd_seq_device snd_timer joydev input_leds wmi_bmof dell_wmi_descriptor serio_raw intel_wmi_thunderbolt snd soundcore cfg80211 idma64 virt_dma rtsx_pci_ms memstick mei_me intel_lpss_pci ucsi_acpi processor_thermal_device typec_ucsi intel_pch_thermal intel_lpss mei intel_soc_dts_iosf typec intel_hid int3400_thermal sparse_keymap int3403_thermal acpi_thermal_rel acpi_pad int340x_thermal_zone mac_hid sch_fq_codel coretemp uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media parport_pc ppdev lp parport ip_tables
[   98.785341]  ? ath10k_monitor_recalc+0x114/0x580 [ath10k_core]
[  101.856079] ath10k_pci 0000:02:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[  104.928125] ath10k_pci 0000:02:00.0: failed to set cts protection for vdev 0: -11
[  108.000094] ath10k_pci 0000:02:00.0: failed to set erp slot for vdev 0: -11
[  111.072058] ath10k_pci 0000:02:00.0: failed to set preamble for vdev 0: -11
[  114.144131] ath10k_pci 0000:02:00.0: failed to down vdev 0: -11
[  117.216098] ath10k_pci 0000:02:00.0: failed to submit vdev param txbf 0x0: -11
[  117.216105] ath10k_pci 0000:02:00.0: failed to recalc txbf for vdev 0: -11
[  120.288132] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  123.360097] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  126.432107] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  129.504096] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  132.580054] ath10k_pci 0000:02:00.0: failed to stop WMI vdev 0: -11
[  132.580061] ath10k_pci 0000:02:00.0: failed to stop vdev 0: -11
[  137.696100] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[  140.768126] ath10k_pci 0000:02:00.0: failed to delete WMI vdev 0: -11
[  140.780333] ath10k_pci 0000:02:00.0: failed to read hi_board_data address: -16
[  146.912080] ath10k_pci 0000:02:00.0: could not suspend target (-11)
[  149.963396] ath10k_pci 0000:02:00.0: failed to receive initialized event from target: 00000000
[  152.987362] ath10k_pci 0000:02:00.0: failed to receive initialized event from target: 00000000
[  152.987367] ath10k_pci 0000:02:00.0: failed to wait for target init: -110
[  153.564872] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[  153.871752] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[  153.871756] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  153.872532] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[  153.937854] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[  154.520730] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[  154.523012] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[  154.523842] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  154.619501] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[  164.884492] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[  164.887169] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[  901.347190] ath10k_pci 0000:02:00.0: failed to set 5g txpower 26: -11
[  901.347197] ath10k_pci 0000:02:00.0: failed to setup tx power 26: -11
[  901.347201] ath10k_pci 0000:02:00.0: failed to recalc tx power: -11
[  906.467225] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[  909.539225] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer e8:d1:1b:1b:58:52: -11
[  912.611259] ath10k_pci 0000:02:00.0: failed to delete peer e8:d1:1b:1b:58:52 for vdev 0: -11
[  912.611269] ath10k_pci 0000:02:00.0: found sta peer e8:d1:1b:1b:58:52 (ptr 0000000000000000 id 4) entry on vdev 0 after it was supposedly removed
[  915.683233] ath10k_pci 0000:02:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[  918.755208] ath10k_pci 0000:02:00.0: failed to set cts protection for vdev 0: -11
[  921.827272] ath10k_pci 0000:02:00.0: failed to set erp slot for vdev 0: -11
[  924.899282] ath10k_pci 0000:02:00.0: failed to set preamble for vdev 0: -11
[  927.971298] ath10k_pci 0000:02:00.0: failed to down vdev 0: -11
[  931.043274] ath10k_pci 0000:02:00.0: failed to submit vdev param txbf 0x0: -11
[  931.043284] ath10k_pci 0000:02:00.0: failed to recalc txbf for vdev 0: -11
[  934.115357] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  937.187285] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  940.263350] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  943.331352] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[  946.403368] ath10k_pci 0000:02:00.0: failed to stop WMI vdev 0: -11
[  946.403374] ath10k_pci 0000:02:00.0: failed to stop vdev 0: -11
[  951.523374] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[  954.595391] ath10k_pci 0000:02:00.0: failed to delete WMI vdev 0: -11
[  954.595401] ath10k_pci 0000:02:00.0: found vif peer 9c:b6:d0:8a:8d:c3 entry on vdev 0 after it was supposedly removed
[  954.607723] ath10k_pci 0000:02:00.0: failed to read hi_board_data address: -16
[  960.739376] ath10k_pci 0000:02:00.0: could not suspend target (-11)
[  961.520755] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[  961.805705] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[  961.805715] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  961.807515] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[  961.874069] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[  962.459232] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[  962.462250] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[  962.463501] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  962.561179] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[  973.019064] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[  973.020854] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 1546.981511] ath10k_pci 0000:02:00.0: failed to set 5g txpower 26: -11
[ 1546.981517] ath10k_pci 0000:02:00.0: failed to setup tx power 26: -11
[ 1546.981522] ath10k_pci 0000:02:00.0: failed to recalc tx power: -11
[ 1552.101603] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 1555.173636] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer e8:d1:1b:1b:58:52: -11
[ 1558.245629] ath10k_pci 0000:02:00.0: failed to delete peer e8:d1:1b:1b:58:52 for vdev 0: -11
[ 1558.245640] ath10k_pci 0000:02:00.0: found sta peer e8:d1:1b:1b:58:52 (ptr 0000000000000000 id 4) entry on vdev 0 after it was supposedly removed
[ 1561.317854] ath10k_pci 0000:02:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1564.389655] ath10k_pci 0000:02:00.0: failed to set cts protection for vdev 0: -11
[ 1567.461689] ath10k_pci 0000:02:00.0: failed to set erp slot for vdev 0: -11
[ 1570.533667] ath10k_pci 0000:02:00.0: failed to set preamble for vdev 0: -11
[ 1573.605804] ath10k_pci 0000:02:00.0: failed to down vdev 0: -11
[ 1576.677677] ath10k_pci 0000:02:00.0: failed to submit vdev param txbf 0x0: -11
[ 1576.677683] ath10k_pci 0000:02:00.0: failed to recalc txbf for vdev 0: -11
[ 1579.749822] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 1582.821696] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 1585.893724] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 1588.965663] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 1592.037757] ath10k_pci 0000:02:00.0: failed to stop WMI vdev 0: -11
[ 1592.037764] ath10k_pci 0000:02:00.0: failed to stop vdev 0: -11
[ 1597.157744] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 1600.229757] ath10k_pci 0000:02:00.0: failed to delete WMI vdev 0: -11
[ 1600.242011] ath10k_pci 0000:02:00.0: failed to read hi_board_data address: -16
[ 1606.373790] ath10k_pci 0000:02:00.0: could not suspend target (-11)
[ 1607.127406] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 1607.429813] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[ 1607.429820] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 1607.431291] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[ 1607.497477] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[ 1608.080527] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 1608.083370] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 1608.084283] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 1608.179455] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[ 1618.646452] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 1618.649346] ath10k_pci 0000:02:00.0: Unknown eventid: 90118

@AbelVM
Copy link

AbelVM commented Oct 16, 2018

New crash detected by sudden limited or none connectivity, no log message at all at dmesg | grep ath10k, but when running the above script:

[ 2690.025734] ath10k_pci 0000:02:00.0: failed to set 5g txpower 26: -11
[ 2690.025741] ath10k_pci 0000:02:00.0: failed to setup tx power 26: -11
[ 2690.025746] ath10k_pci 0000:02:00.0: failed to recalc tx power: -11
[ 2695.145780] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 2698.217766] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer e8:d1:1b:1b:58:52: -11
[ 2701.289778] ath10k_pci 0000:02:00.0: failed to delete peer e8:d1:1b:1b:58:52 for vdev 0: -11
[ 2701.289788] ath10k_pci 0000:02:00.0: found sta peer e8:d1:1b:1b:58:52 (ptr 0000000000000000 id 4) entry on vdev 0 after it was supposedly removed
[ 2704.365880] ath10k_pci 0000:02:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2707.433801] ath10k_pci 0000:02:00.0: failed to set cts protection for vdev 0: -11
[ 2710.505858] ath10k_pci 0000:02:00.0: failed to set erp slot for vdev 0: -11
[ 2713.577852] ath10k_pci 0000:02:00.0: failed to set preamble for vdev 0: -11
[ 2716.653808] ath10k_pci 0000:02:00.0: failed to down vdev 0: -11
[ 2719.721845] ath10k_pci 0000:02:00.0: failed to submit vdev param txbf 0x0: -11
[ 2719.721855] ath10k_pci 0000:02:00.0: failed to recalc txbf for vdev 0: -11
[ 2722.797832] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 2725.869872] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 2728.937909] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 2732.010071] ath10k_pci 0000:02:00.0: failed to set vdev wmm params on vdev 0: -11
[ 2735.081979] ath10k_pci 0000:02:00.0: failed to stop WMI vdev 0: -11
[ 2735.081986] ath10k_pci 0000:02:00.0: failed to stop vdev 0: -11
[ 2740.205978] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 2743.273974] ath10k_pci 0000:02:00.0: failed to delete WMI vdev 0: -11
[ 2743.273981] ath10k_pci 0000:02:00.0: found vif peer 9c:b6:d0:8a:8d:c3 entry on vdev 0 after it was supposedly removed
[ 2743.286206] ath10k_pci 0000:02:00.0: failed to read hi_board_data address: -16
[ 2749.417959] ath10k_pci 0000:02:00.0: could not suspend target (-11)
[ 2752.469533] ath10k_pci 0000:02:00.0: failed to receive initialized event from target: 00000000
[ 2755.493385] ath10k_pci 0000:02:00.0: failed to receive initialized event from target: 00000000
[ 2755.493391] ath10k_pci 0000:02:00.0: failed to wait for target init: -110
[ 2755.990840] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2756.305862] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:143a
[ 2756.305867] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2756.306841] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00119-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 859225d1
[ 2756.372024] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 20d869c3
[ 2756.951957] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 2756.955018] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 2756.955921] ath10k_pci 0000:02:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 2757.055140] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[ 2767.544179] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 2767.547203] ath10k_pci 0000:02:00.0: Unknown eventid: 90118

@AbelVM
Copy link

AbelVM commented Oct 19, 2018

Ubuntu 18.10, back to Canonica signed kernel, same behavior.

@MrCsabaToth
Copy link

Somewhat off-topic but a very good news is that Rivet Networks teamed up with Intel. Gamers are complaining, but as a Linux user I'm super happy. I was about to do the usual wifi card swap to an Intel in my newest laptop, when I got floored to see that the AC 1550 is already an Intel card. That's when I learned the good news https://www.anandtech.com/show/12178/its-actually-an-intel-chip-rivet-networks-launches-the-killer-wirelessac-1550

There's no error in dmesg now about firmware loading, -2 and all shenanigans.

@jnorthrup
Copy link

@AbelVM well, for some unknown reason, when I installed Ubuntu 18.04 everything is working fine. Looks like it was merged somewhere and got upstream in Ubuntu LTS. Not sure where though.

@kvalo can you merge this please? i can confirm ubuntu 18.04 is decent with this chip for dailly driving but i would like the absolute ground-zero source of truth wrt wifite and other exotic usecases

@kvalo kvalo closed this Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
8 participants