* basic help request
@ 2014-06-11 23:12 Peter Sabat
2014-06-11 23:27 ` Ben Greear
0 siblings, 1 reply; 9+ messages in thread
From: Peter Sabat @ 2014-06-11 23:12 UTC (permalink / raw)
To: ath10k
Hoping that I can possibly get a pointer on what I¹m doing wrong w/ ath10k
and hostapd.
I¹m running a 3.14 kernel and installed the 3.15-rc-1 backports. I can
start hostapd, but no matter what I do, I can¹t see the SSID. I have also
just tried to use N by itself.
I am using a WLE900V5-23 card.
The things that I¹ve noticed so far is that I am unable to use the v2
firmware additionally, even w/ the v1 firmware, I get a:
ath10k: Invalid firmware magic
Also, iw doesn¹t seem to report everything :
iw wlan0 info:
Interface wlan0
ifindex 3
type AP
wiphy 0
Here is some dmesg:
[Wed Jun 11 18:23:19 2014] ath10k_pci 0000:03:00.0: BAR 0: assigned [mem
0x90400000-0x905fffff 64bit]
[Wed Jun 11 18:23:19 2014] ath10k_pci 0000:03:00.0: enabling device (0000
-> 0002)
[Wed Jun 11 18:23:19 2014] ath10k_pci 0000:03:00.0: irq 116 for MSI/MSI-X
[Wed Jun 11 18:23:19 2014] ath10k: pci irq MSI
[Wed Jun 11 18:23:19 2014] ath10k: Invalid firmware magic
[Wed Jun 11 18:23:21 2014] ath10k: qca988x hw2.0 (0x4100016c) fw 1.0.0.636
api 1 htt 2.1
[Wed Jun 11 18:23:21 2014] ath: EEPROM regdomain: 0x0
[Wed Jun 11 18:23:21 2014] ath: EEPROM indicates default country code
should be used
[Wed Jun 11 18:23:21 2014] ath: doing EEPROM country->regdmn map search
[Wed Jun 11 18:23:21 2014] ath: country maps to regdmn code: 0x3a
[Wed Jun 11 18:23:21 2014] ath: Country alpha2 being used: US
[Wed Jun 11 18:23:21 2014] ath: Regpair used: 0x3a
[Wed Jun 11 18:57:43 2014] ath10k_pci 0000:03:00.0: irq 116 for MSI/MSI-X
LSPCI
03:00.0 Network controller: Qualcomm Atheros QCA988x 802.11ac Wireless
Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 116
Memory at 90400000 (64-bit, non-prefetchable) [size=2M]
Expansion ROM at 90600000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath10k_pci
modinfo :
filename:
/lib/modules/3.14.4-scst/updates/drivers/net/wireless/ath/ath10k/ath10k_pci
.ko
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/otp.bin
firmware: ath10k/QCA988X/hw2.0/firmware.bin
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
version: backported from Linux (v3.15-rc1-0-gc9eaa44) using
backports v3.15-rc1-1-0-g2a25483
srcversion: 2F02C56BB696ECC1D986D19
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends: ath10k_core,compat
vermagic: 3.14.4-scst SMP mod_unload modversions
parm: ath10k_target_ps:Enable ath10k Target (SoC) PS option
(uint)
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
Iw list:
Wiphy phy0
Band 1:
Capabilities: 0x19e3
RX LDPC
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-23
Frequencies:
* 5180 MHz [36] (17.0 dBm)
* 5200 MHz [40] (17.0 dBm)
* 5220 MHz [44] (17.0 dBm)
* 5240 MHz [48] (17.0 dBm)
* 5260 MHz [52] (23.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (23.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (23.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (23.0 dBm) (passive scanning, no IBSS, radar detection)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 16
max scan IEs length: 199 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
software interface modes (can always be added):
* AP/VLAN
* monitor
valid interface combinations:
* #{ managed, P2P-client } <= 8, #{ P2P-GO } <= 3, #{ AP } <= 7,
total <= 8, #channels <= 1, STA/AP BI must match
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* action
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* Unknown command (84)
* Unknown command (87)
* Unknown command (85)
* Unknown command (89)
* Unknown command (92)
* Unknown command (104)
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0
0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
0xc0 0xd0 0xe0 0xf0
* Unknown mode (10): 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90
0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* Unknown mode (10): 0x40 0xd0
Device supports AP-side u-APSD.
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Any help would be greatly appreciated.
Pete
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-11 23:12 basic help request Peter Sabat
@ 2014-06-11 23:27 ` Ben Greear
2014-06-11 23:46 ` Peter Sabat
0 siblings, 1 reply; 9+ messages in thread
From: Ben Greear @ 2014-06-11 23:27 UTC (permalink / raw)
To: Peter Sabat; +Cc: ath10k
On 06/11/2014 04:12 PM, Peter Sabat wrote:
> Hoping that I can possibly get a pointer on what I¹m doing wrong w/ ath10k
> and hostapd.
>
> I¹m running a 3.14 kernel and installed the 3.15-rc-1 backports. I can
> start hostapd, but no matter what I do, I can¹t see the SSID. I have also
> just tried to use N by itself.
>
> I am using a WLE900V5-23 card.
>
> The things that I¹ve noticed so far is that I am unable to use the v2
> firmware additionally, even w/ the v1 firmware, I get a:
>
> ath10k: Invalid firmware magic
....
> filename:
> /lib/modules/3.14.4-scst/updates/drivers/net/wireless/ath/ath10k/ath10k_pci
> .ko
> firmware: ath10k/QCA988X/hw2.0/board.bin
> firmware: ath10k/QCA988X/hw2.0/otp.bin
> firmware: ath10k/QCA988X/hw2.0/firmware.bin
You need firmware-2.bin. Please get the 4.1.467-2.1 version firmware and put it
in your firmware directory...
What OS is this?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-11 23:27 ` Ben Greear
@ 2014-06-11 23:46 ` Peter Sabat
2014-06-12 4:01 ` Ben Greear
0 siblings, 1 reply; 9+ messages in thread
From: Peter Sabat @ 2014-06-11 23:46 UTC (permalink / raw)
To: Ben Greear; +Cc: ath10k
As instructed :)
-rwxr-xr-x 1 root root 24347 Jun 11 19:32 firmware-2.bin
-rwxr-xr-x 1 root root 2116 Jan 30 08:41 board.bin
-rwxr-xr-x 1 root root 249093 Jan 30 08:41 firmware.bin
-rwxr-xr-x 1 root root 5402 Jan 30 08:41 otp.bin
after modprobe :
[Wed Jun 11 19:35:04 2014] ath10k_pci 0000:03:00.0: BAR 0: assigned [mem
0x90400000-0x905fffff 64bit]
[Wed Jun 11 19:35:05 2014] ath10k_pci 0000:03:00.0: irq 116 for MSI/MSI-X
[Wed Jun 11 19:35:05 2014] ath10k: pci irq MSI
[Wed Jun 11 19:35:05 2014] ath10k: Invalid firmware magic
[Wed Jun 11 19:35:06 2014] ath10k: qca988x hw2.0 (0x4100016c) fw 1.0.0.636
api 1 htt 2.1
[Wed Jun 11 19:35:06 2014] ath: EEPROM regdomain: 0x0
[Wed Jun 11 19:35:06 2014] ath: EEPROM indicates default country code
should be used
[Wed Jun 11 19:35:06 2014] ath: doing EEPROM country->regdmn map search
[Wed Jun 11 19:35:06 2014] ath: country maps to regdmn code: 0x3a
[Wed Jun 11 19:35:06 2014] ath: Country alpha2 being used: US
[Wed Jun 11 19:35:06 2014] ath: Regpair used: 0x3a
But still wants to use V1 it seems :(
root@server2:/lib/firmware/ath10k/QCA988X/hw2.0# modinfo ath10k_pci
filename:
/lib/modules/3.14.4-scst/updates/drivers/net/wireless/ath/ath10k/ath10k_pci
.ko
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/otp.bin
firmware: ath10k/QCA988X/hw2.0/firmware.bin
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
version: backported from Linux (v3.15-rc1-0-gc9eaa44) using
backports v3.15-rc1-1-0-g2a25483
srcversion: 2F02C56BB696ECC1D986D19
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends: ath10k_core,compat
vermagic: 3.14.4-scst SMP mod_unload modversions
parm: ath10k_target_ps:Enable ath10k Target (SoC) PS option
(uint)
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
This is an ubuntu 14.04 install running a 3.14 kernel.
I really appreciate the help.
Pete
On 6/11/14, 7:27 PM, "Ben Greear" <greearb@candelatech.com> wrote:
>On 06/11/2014 04:12 PM, Peter Sabat wrote:
>> Hoping that I can possibly get a pointer on what I¹m doing wrong w/
>>ath10k
>> and hostapd.
>>
>> I¹m running a 3.14 kernel and installed the 3.15-rc-1 backports. I can
>> start hostapd, but no matter what I do, I can¹t see the SSID. I have
>>also
>> just tried to use N by itself.
>>
>> I am using a WLE900V5-23 card.
>>
>> The things that I¹ve noticed so far is that I am unable to use the v2
>> firmware additionally, even w/ the v1 firmware, I get a:
>>
>> ath10k: Invalid firmware magic
>
>....
>
>> filename:
>>
>>/lib/modules/3.14.4-scst/updates/drivers/net/wireless/ath/ath10k/ath10k_p
>>ci
>> .ko
>> firmware: ath10k/QCA988X/hw2.0/board.bin
>> firmware: ath10k/QCA988X/hw2.0/otp.bin
>> firmware: ath10k/QCA988X/hw2.0/firmware.bin
>
>You need firmware-2.bin. Please get the 4.1.467-2.1 version firmware and
>put it
>in your firmware directory...
>
>What OS is this?
>
>Thanks,
>Ben
>
>
>--
>Ben Greear <greearb@candelatech.com>
>Candela Technologies Inc http://www.candelatech.com
>
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-11 23:46 ` Peter Sabat
@ 2014-06-12 4:01 ` Ben Greear
2014-06-12 4:58 ` Peter Sabat
0 siblings, 1 reply; 9+ messages in thread
From: Ben Greear @ 2014-06-12 4:01 UTC (permalink / raw)
To: Peter Sabat; +Cc: ath10k
On 06/11/2014 04:46 PM, Peter Sabat wrote:
> As instructed :)
>
>
>
> -rwxr-xr-x 1 root root 24347 Jun 11 19:32 firmware-2.bin
> -rwxr-xr-x 1 root root 2116 Jan 30 08:41 board.bin
> -rwxr-xr-x 1 root root 249093 Jan 30 08:41 firmware.bin
> -rwxr-xr-x 1 root root 5402 Jan 30 08:41 otp.bin
That firmware-2.bin looks way too small, should be around 200kbytes.
Where did you get it from?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-12 4:01 ` Ben Greear
@ 2014-06-12 4:58 ` Peter Sabat
2014-06-12 5:07 ` Ben Greear
0 siblings, 1 reply; 9+ messages in thread
From: Peter Sabat @ 2014-06-12 4:58 UTC (permalink / raw)
To: Ben Greear; +Cc: ath10k
So I grabbed it again - I just did a wget before, maybe something got
garbled there.
Thanks again for the help though.
But we have some progress it seems:
[Thu Jun 12 00:28:49 2014] ath10k_pci 0000:03:00.0: BAR 0: assigned [mem
0x90400000-0x905fffff 64bit]
[Thu Jun 12 00:28:49 2014] ath10k_pci 0000:03:00.0: irq 116 for MSI/MSI-X
[Thu Jun 12 00:28:49 2014] ath10k: pci irq MSI
[Thu Jun 12 00:28:50 2014] ath10k: qca988x hw2.0 (0x4100016c) fw
10.1.467.2-1 api 2 htt 2.1
[Thu Jun 12 00:28:51 2014] ath: EEPROM regdomain: 0x0
[Thu Jun 12 00:28:51 2014] ath: EEPROM indicates default country code
should be used
[Thu Jun 12 00:28:51 2014] ath: doing EEPROM country->regdmn map search
[Thu Jun 12 00:28:51 2014] ath: country maps to regdmn code: 0x3a
[Thu Jun 12 00:28:51 2014] ath: Country alpha2 being used: US
[Thu Jun 12 00:28:51 2014] ath: Regpair used: 0x3a
additionally :
root@server2:~/build/ath-master/drivers/net/wireless/ath/ath10k# hostapd
/etc/hostapd/test.conf
Configuration file: /etc/hostapd/test.conf
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state COUNTRY_UPDATE->ACS
wlan0: ACS-STARTED
wlan0: ACS-COMPLETED freq=5220 channel=44
wlan0: interface state ACS->HT_SCAN
Using interface wlan0 with hwaddr 04:f0:21:0c:a6:5c and ssid "ath10k-test"
wlan0: interface state HT_SCAN->ENABLED
wlan0: AP-ENABLED
info still shows old FW though :
root@server2:/lib/firmware/ath10k/QCA988X/hw2.0# modinfo ath10k_pci
filename:
/lib/modules/3.14.4-scst/updates/drivers/net/wireless/ath/ath10k/ath10k_pci
.ko
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/otp.bin
firmware: ath10k/QCA988X/hw2.0/firmware.bin
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
version: backported from Linux (v3.15-rc1-0-gc9eaa44) using
backports v3.15-rc1-1-0-g2a25483
srcversion: 2F02C56BB696ECC1D986D19
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends: ath10k_core,compat
vermagic: 3.14.4-scst SMP mod_unload modversions
parm: ath10k_target_ps:Enable ath10k Target (SoC) PS option
(uint)
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
But still no SSID visible!! argh
Have the .conf at bare minimum
ctrl_interface=/var/run/hostapd
country_code=US
bridge=br0
interface=wlan0
driver=nl80211
ssid=ath10k-test
hw_mode=a
channel=44
ieee80211n=1
root@server2:/etc/hostapd# hostapd -d /etc/hostapd/test2.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/test2.conf
rfkill: initial event: idx=6 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy6
nl80211: Set mode ifindex 10 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x1a0a480
nl80211: Register frame type=0xb0 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0x0 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0x20 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0xa0 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0xc0 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0xd0 nl_handle=0x1a0a480 match=
nl80211: Register frame type=0x40 nl_handle=0x1a0a480 match=
nl80211: Add own interface ifindex 4
nl80211: if_indices[16]: 4
nl80211: Add own interface ifindex 10
nl80211: if_indices[16]: 4 10
nl80211: Adding interface wlan0 into bridge br0
phy: phy6
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code US, new country code US
nl80211: Regulatory information - country=US
nl80211: 2402-2472 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 17 mBm
nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS)
nl80211: 5735-5835 @ 80 MHz 30 mBm
nl80211: 57240-63720 @ 2160 MHz 40 mBm
hw vht capab: 0x338001b2, conf vht capab: 0x0
Completing interface initialization
Mode: IEEE 802.11a Channel: 44 Frequency: 5220 MHz
DFS 0 channels required radar detection
nl80211: Set freq 5220 (ht_enabled=1, vht_enabled=0, bandwidth=20 MHz,
cf1=5220 MHz, cf2=0 MHz)
RATE[0] rate=60 flags=0x1
RATE[1] rate=90 flags=0x0
RATE[2] rate=120 flags=0x1
RATE[3] rate=180 flags=0x0
RATE[4] rate=240 flags=0x1
RATE[5] rate=360 flags=0x0
RATE[6] rate=480 flags=0x0
RATE[7] rate=540 flags=0x0
hostapd_setup_bss(hapd=0x1a099d0 (wlan0), first=1)
wlan0: Flushing old station entries
nl80211: flush -> DEL_STATION wlan0 (all)
wlan0: Deauthenticate all stations
nl80211: send_mlme - noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0
fc=0xc0 nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5220
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy)
(freq=5220 wait=0)
wpa_driver_nl80211_set_key: ifindex=10 (wlan0) alg=0 addr=(nil) key_idx=0
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=10 (wlan0) alg=0 addr=(nil) key_idx=1
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=10 (wlan0) alg=0 addr=(nil) key_idx=2
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=10 (wlan0) alg=0 addr=(nil) key_idx=3
set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 04:f0:21:0c:a6:5c and ssid "ath10k-test"
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=62): 80 00 00 00 ff ff ff ff ff ff 04
f0 21 0c a6 5c 04 f0 21 0c a6 5c 00 00 00 00 00 00 00 00 00 00 64 00 01 00
00 0b 61 74 68 31 30 6b 2d 74 65 73 74 01 08 8c 12 98 24 b0 48 60 6c 03 01
2c
nl80211: Beacon tail - hexdump(len=88): 2d 1a 0c 00 1b ff ff ff 00 00 00
00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 3d 16 2c 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 00 00 00 00 00 00 00
40 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32
2f 00
nl80211: ifindex=10
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=11):
61 74 68 31 30 6b 2d 74 65 73 74 ath10k-test
nl80211: hidden SSID not in use
nl80211: privacy=0
nl80211: auth_algs=0x3
nl80211: wpa_version=0x0
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x1
nl80211: group_cipher=0x1
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: Set wlan0 operstate 0->1 (UP)
netlink: Operstate: ifindex=10 linkmode=-1 (no change), operstate=6
(IF_OPER_UP)
wlan0: interface state COUNTRY_UPDATE->ENABLED
wlan0: AP-ENABLED
wlan0: Setup of interface done.
ctrl_iface not configured!
random: Got 18/20 bytes from /dev/random
RTM_NEWLINK: ifi_index=10 ifname=wlan0 operstate=2 linkmode=0
ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=10 ifname=wlan0 operstate=2 linkmode=0
ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=10 ifname=wlan0 operstate=2 linkmode=0 master=4
ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=10 ifname=wlan0 master=4 operstate=2
ifi_flags=0x1003 ([UP])
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
nl80211: ifindex 4 already in the list
RTM_NEWLINK: ifi_index=4 ifname=br0 operstate=6 linkmode=0
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
wlan0: Event INTERFACE_STATUS (5) received
Unknown event 5
RTM_NEWLINK: ifi_index=10 ifname=wlan0 master=4 operstate=6
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
nl80211: ifindex 4 already in the list
RTM_NEWLINK: ifi_index=10 ifname=wlan0 master=4 operstate=6
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
nl80211: ifindex 4 already in the list
RTM_NEWLINK: ifi_index=10 ifname=wlan0 master=4 operstate=6
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 4 for bridge br0
nl80211: Add own interface ifindex 4
nl80211: ifindex 4 already in the list
RTM_NEWLINK: ifi_index=10 ifname=wlan0 operstate=6 linkmode=0 master=4
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
random: Got 2/2 bytes from /dev/random
On 6/12/14, 12:01 AM, "Ben Greear" <greearb@candelatech.com> wrote:
>
>
>On 06/11/2014 04:46 PM, Peter Sabat wrote:
>> As instructed :)
>>
>>
>>
>> -rwxr-xr-x 1 root root 24347 Jun 11 19:32 firmware-2.bin
>> -rwxr-xr-x 1 root root 2116 Jan 30 08:41 board.bin
>> -rwxr-xr-x 1 root root 249093 Jan 30 08:41 firmware.bin
>> -rwxr-xr-x 1 root root 5402 Jan 30 08:41 otp.bin
>
>That firmware-2.bin looks way too small, should be around 200kbytes.
>
>Where did you get it from?
>
>Thanks,
>Ben
>
>--
>Ben Greear <greearb@candelatech.com>
>Candela Technologies Inc http://www.candelatech.com
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-12 4:58 ` Peter Sabat
@ 2014-06-12 5:07 ` Ben Greear
2014-06-12 18:49 ` Peter Sabat
0 siblings, 1 reply; 9+ messages in thread
From: Ben Greear @ 2014-06-12 5:07 UTC (permalink / raw)
To: Peter Sabat; +Cc: ath10k
On 06/11/2014 09:58 PM, Peter Sabat wrote:
> So I grabbed it again - I just did a wget before, maybe something got
> garbled there.
It's using the new firmware, I don't think mod-info
is entirely correct.
Others have reported problems with upstream firmware and
bridging, but not sure if that is your problem or not.
You might try: dmesg | grep "crash"
to see if firmware is crashing.
Or, remove the bridge logic from your hostapd config
file.
Or possibly, give my firmware a try:
http://www.candelatech.com/ath10k.php
I haven't done any testing with ath10k APs in
a bridge yet, so no idea how well or not it actually
works.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-12 5:07 ` Ben Greear
@ 2014-06-12 18:49 ` Peter Sabat
2014-06-13 18:07 ` Ben Greear
0 siblings, 1 reply; 9+ messages in thread
From: Peter Sabat @ 2014-06-12 18:49 UTC (permalink / raw)
To: Ben Greear; +Cc: ath10k
I think I may have found a clue - just noticed on the console
root@server2:/run# [ 856.450077] ath10k: target stalled
[ 856.453659] ath10k: failed to wait for target to init: -5
On 6/12/14, 1:07 AM, "Ben Greear" <greearb@candelatech.com> wrote:
>
>
>On 06/11/2014 09:58 PM, Peter Sabat wrote:
>> So I grabbed it again - I just did a wget before, maybe something got
>> garbled there.
>
>It's using the new firmware, I don't think mod-info
>is entirely correct.
>
>Others have reported problems with upstream firmware and
>bridging, but not sure if that is your problem or not.
>
>You might try: dmesg | grep "crash"
>to see if firmware is crashing.
>
>Or, remove the bridge logic from your hostapd config
>file.
>
>Or possibly, give my firmware a try:
>
>http://www.candelatech.com/ath10k.php
>
>I haven't done any testing with ath10k APs in
>a bridge yet, so no idea how well or not it actually
>works.
>
>Thanks,
>Ben
>
>--
>Ben Greear <greearb@candelatech.com>
>Candela Technologies Inc http://www.candelatech.com
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-12 18:49 ` Peter Sabat
@ 2014-06-13 18:07 ` Ben Greear
2014-06-13 18:38 ` Peter Sabat
0 siblings, 1 reply; 9+ messages in thread
From: Ben Greear @ 2014-06-13 18:07 UTC (permalink / raw)
To: Peter Sabat; +Cc: ath10k
On 06/12/2014 11:49 AM, Peter Sabat wrote:
> I think I may have found a clue - just noticed on the console
>
>
>
>
> root@server2:/run# [ 856.450077] ath10k: target stalled
> [ 856.453659] ath10k: failed to wait for target to init: -5
I haven't tried your specific NIC, but the WLE900VX works well for me.
Could try power-cycling..ath10k can get hung such that only a power-cycle
fixes it sometimes.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: basic help request
2014-06-13 18:07 ` Ben Greear
@ 2014-06-13 18:38 ` Peter Sabat
0 siblings, 0 replies; 9+ messages in thread
From: Peter Sabat @ 2014-06-13 18:38 UTC (permalink / raw)
To: Ben Greear; +Cc: ath10k
I think that after your help w/ the FW copy (or whatever it was) this
turns out to be an example of no RTFM.
I was deceived since I could see scans from the STA, but it turns out that
this card needs a separate 5v input to actually work. ;-)
The wife and I are using it right now.
Thanks again for all your assistance.
On 6/13/14, 2:07 PM, "Ben Greear" <greearb@candelatech.com> wrote:
>On 06/12/2014 11:49 AM, Peter Sabat wrote:
>> I think I may have found a clue - just noticed on the console
>>
>>
>>
>>
>> root@server2:/run# [ 856.450077] ath10k: target stalled
>> [ 856.453659] ath10k: failed to wait for target to init: -5
>
>I haven't tried your specific NIC, but the WLE900VX works well for me.
>
>Could try power-cycling..ath10k can get hung such that only a power-cycle
>fixes it sometimes.
>
>Thanks,
>Ben
>
>--
>Ben Greear <greearb@candelatech.com>
>Candela Technologies Inc http://www.candelatech.com
>
>
>_______________________________________________
>ath10k mailing list
>ath10k@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
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:[~2014-06-13 18:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-11 23:12 basic help request Peter Sabat
2014-06-11 23:27 ` Ben Greear
2014-06-11 23:46 ` Peter Sabat
2014-06-12 4:01 ` Ben Greear
2014-06-12 4:58 ` Peter Sabat
2014-06-12 5:07 ` Ben Greear
2014-06-12 18:49 ` Peter Sabat
2014-06-13 18:07 ` Ben Greear
2014-06-13 18:38 ` Peter Sabat
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.