All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot initialize Compex WLE600VX for 802.11ac?
@ 2016-06-21 14:42 Tom Marble
  2016-06-22  6:47 ` Valo, Kalle
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Marble @ 2016-06-21 14:42 UTC (permalink / raw)
  To: ath10k; +Cc: tmarble


[-- Attachment #1.1: Type: text/plain, Size: 2689 bytes --]


All:

I have configured a system specifically for 802.11ac using ath10k with
Compex WLE600VX [0] which is one of the QCA9880 Version 2 devices listed
on [1], but I'm unable to get it work.

This is an amd64 machine running Debian Jessie (stable), with
the latest kernel from kvalo [2] with all debugging enabled:
  CONFIG_ATH10K=m
  CONFIG_ATH10K_PCI=m
  CONFIG_ATH10K_DEBUG=y
  CONFIG_ATH10K_DEBUGFS=y
  CONFIG_ATH10K_TRACING=y

Linux six 4.7.0-rc3-wt-ath-tm1 #3 SMP Mon Jun 20 22:18:00 CDT 2016 x86_64 GNU/Linux

The firmware is also from klavo's git [3][4][5]. Upon boot the
kernel says:
  Jun 21 08:36:05 six kernel: [    4.193061] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
  Jun 21 08:36:05 six kernel: [    4.416764] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
  Jun 21 08:36:05 six kernel: [    5.608354] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1

The hostapd software is built from the latest upstream [6], including
the configuration
  CONFIG_IEEE80211AC=y
  CONFIG_DRIVER_NL80211=y
  CONFIG_DRIVER_NL80211_QCA=y
  CONFIG_ACS=y

The hostapd config file /etc/hostapd/wlan0.conf is set exactly in
the "Full hostapd configuration" from [6] (with passwords changed).

Setting channel=0 to enable scanning results in finding channel 52
as the ideal channel, but then (full log in [7])...
# hostapd -dd /etc/hostapd/wlan0.conf | tee /tmp/wlan0.log
... 
  Mode: IEEE 802.11a  Channel: 52  Frequency: 5260 MHz
  DFS 0 channels required radar detection
  Could not set channel for kernel driver
  Interface initialization failed

Setting channel=52 and trying again fails with... (full log in [8]).
# hostapd -dd /etc/hostapd/wlan0.conf | tee /tmp/wlan0-52.log
...
  nl80211: Failed to start radar detection: -16 (Device or resource busy)


What suggestions do you have to help me identify the cause of 
this problem (and hopefully resolve it!)?

--Tom

[0] WLE600VX
    http://www.compex.com.sg/product/wle600vx/
[1] https://wireless.wiki.kernel.org/en/users/drivers/ath10k
[2] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/sources
[3] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware
[4] board.bin
    https://github.com/kvalo/ath10k-firmware/blob/master/QCA988X/board.bin 
[5] firmware-5.bin
    https://github.com/kvalo/ath10k-firmware/blob/master/QCA988X/10.2.4/firmware-5.bin_10.2.4.70.44 
[6] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/configuration
[7] channel=0 log
    http://paste.debian.net/740824/ 
[8] channel=52 log
    http://paste.debian.net/740826/ 


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

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

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

end of thread, other threads:[~2016-06-27 12:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 14:42 Cannot initialize Compex WLE600VX for 802.11ac? Tom Marble
2016-06-22  6:47 ` Valo, Kalle
2016-06-22 13:10   ` Tom Marble
2016-06-22 14:08     ` Valo, Kalle
2016-06-23 13:00       ` Tom Marble
2016-06-23 13:27         ` Tomasz Skapski
2016-06-24  3:27           ` Tom Marble
2016-06-27 11:52             ` Michal Kazior
2016-06-27 12:42               ` Tom Marble

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.