Bug 186161

Summary: aht10k firmware crash, sometime scan slow, mac address change
Product: Drivers Reporter: eve_ouyang (fsoyzh)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal CC: oneone, szg00000
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.8.4-1 Subsystem:
Regression: No Bisected commit-id:
Attachments: firmware crash dmesg log

Description eve_ouyang 2016-11-01 05:03:07 UTC
Created attachment 243371 [details]
firmware crash dmesg log

device: Qualcomm Atheros QCA6164
Kernel modules: ath10k_pci
Firmware: linux-firmware 20161005.9c71af9-1
NetworkManager: networkmanager 1.4.2-1


Disconnect the wifi will had a firmware crash and then can't scan any wifi connection. After that I must be restart NetworkManager to make it work again. 

I found that when I didn't connect any wifi, mac address will change to other address, restart NetworkManager mac address will change to anther again. When I had a connection mac will change to the right one.

And other problem, sometime scan wifi very slow.


Here the "dmesg -w" log in attachment
Comment 1 eve_ouyang 2016-11-15 13:07:31 UTC
UPDATE
found error on boot

➜  sudo ethtool -i wlp2s0
driver: ath10k_pci
version: 4.8.7-1-ARCH
firmware-version: SW_RM.1.1.1-00157-QCARMSWPZ-1
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

➜  dmesg | grep ath10k   
[    4.373802] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    4.638074] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[    4.638082] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[    4.641328] ath10k_pci 0000:02:00.0: qca6164 hw2.1 target 0x05010000 chip_id 0x003405ff sub 17aa:3045
[    4.641330] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[    4.641856] ath10k_pci 0000:02:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[    4.706110] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[    5.932721] ath10k_pci 0000:02:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    6.028180] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
Comment 2 arrow 2018-05-26 01:30:22 UTC
Getting this same error on a Lenovo PC when installing Android-x86 7.1-r2 (Nougat-x86) and trying to use the ath10k pci wireless card.