QCA6178 in AP configuration working stable (not just 5 seconds)

Oleg Kokorin ole2mail at mail.com
Tue Apr 11 09:37:05 PDT 2017

hello All

I'm working on stable configuration for QCA6178 working in AP mode.
and would be interested/appreciated to hear from somebody succeeded to make it working.

my config - 
it's linux kernel 4.8 now 
the hostapd is in use.

during continuous scanning state of the card with the 
"while true; do iw dev wlp2s0 info; sleep 2; done"
mode AP appears for a few seconds only.

already tried firmware from:
- official ubuntu
apt-get install --reinstall linux-firmware
- github of Kvalo
- github of FireWalkerX

AP in G mode seems to be stable
AP in A/AC modes appears only for a few seconds, then switching back to MANAGED

having all sorts of error messages:
kernel: [ 6398.064328] ath10k_pci 0000:02:00.0: failed to enable dynamic BW: -11
kernel: [ 6404.208421] ath10k_pci 0000:02:00.0: could not suspend target (-11)
wpa_supplicant[1060]: nl80211: send_and_recv->nl_recvmsgs failed: -33
kernel: [ 6541.408320] ath10k_pci 0000:02:00.0: firmware crashed! (uuid 4e44d616-2713-44c5-ad80-e9d2994439c5)
kernel: [ 6541.408325] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a3b:2260
kernel: [ 6541.408326] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
kernel: [ 6541.408781] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
kernel: [ 6541.408787] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
kernel: [ 6541.408788] ath10k_pci 0000:02:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
kernel: [ 6541.891697] ath10k_pci 0000:02:00.0: failed to read firmware dump area: -16
kernel: [ 6541.891707] ath10k_pci 0000:02:00.0: failed to reset chip: -5
kernel: [ 6541.891708] ath10k_pci 0000:02:00.0: Could not init hif: -5
kernel: [ 6672.998474] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
sh[14393]: Error for wireless request "Set Mode" (8B06) :
sh[14393]:     SET failed on device wlp2s0 ; Invalid argument.

my attempt to pass config to get more text in syslog failed, seems like nothing passed to the ln80211 driver to let it talk louder:
### hostapd event logger configuration                                           

attached is hostapd config file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd.conf
Type: application/octet-stream
Size: 2017 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20170411/5db46704/attachment.obj>

More information about the ath10k mailing list