* ath6kl hostapd
@ 2012-02-16 11:30 Anthony Ginger
2012-02-27 6:43 ` Kalle Valo
0 siblings, 1 reply; 11+ messages in thread
From: Anthony Ginger @ 2012-02-16 11:30 UTC (permalink / raw)
To: linux-wireless; +Cc: ath6kl-devel
Hi All,
Can ath6kl support AP mode? If yes, how to config it? I tried a
simplest config, but can't find the AP.
I tried ath6kl driver in git://github.com/kvalo/ath6kl.git and the
standard kernel 3.3-rc3.
I am sure the HW is OK, wpa_supplicant works for me.
hostapd & wpa_supplicant is the latest version build form
git://w1.fi/srv/git/hostap.git,
hostapd -v
hostapd v1.0-rc2
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors
Firmware is form linux-firmware, here is the kernel log:
[ 14.534308] mmc1: new high speed SDIO card at address 0001
[ 15.245538] ath6kl: ar6003 hw 2.1.1 sdio fw 3.1.1.609
I used the simplest config:
cat /etc/hostapd.conf
#change wlan0 to your wireless device
interface=wlan0
driver=nl80211
ssid=test
channel=1
here is the log:
hostapd -d /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based roaming
nl80211: Add own interface ifindex 3
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Create interface iftype 6 (MONITOR)
Failed to create interface mon.wlan0: -95 (Operation not supported)
nl80211: Driver does not support monitor interface type - try to run without it
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz
nl80211: 2457-2482 @ 20 MHz
nl80211: 2474-2494 @ 20 MHz
nl80211: 5170-5250 @ 40 MHz
nl80211: 5735-5835 @ 40 MHz
nl80211: Added 802.11b mode based on 802.11g information
Completing interface initialization
Mode: IEEE 802.11b Channel: 1 Frequency: 2412 MHz
nl80211: Set freq 2412 (ht_enabled=0 sec_channel_offset=0)
Failed to update rate sets in kernel module
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x0
RATE[3] rate=110 flags=0x0
Flushing old station entries
Could not connect to kernel driver.
Deauthenticate all stations
nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=0
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=1
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=2
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=3
set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:03:7f:be:f0:a0 and ssid 'test'
nl80211: Set beacon (beacon_set=0)
nl80211: Ignore AP isolation configuration error since isolation is not used
wpa_driver_nl80211_set_operstate: operstate 0->1 (UP)
netlink: Operstate: linkmode=-1, operstate=6
Failed to set TX queue parameters for queue 0.
Failed to set TX queue parameters for queue 1.
Failed to set TX queue parameters for queue 2.
Failed to set TX queue parameters for queue 3.
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
Best Regards!
Tony
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ath6kl hostapd
2012-02-16 11:30 ath6kl hostapd Anthony Ginger
@ 2012-02-27 6:43 ` Kalle Valo
2012-02-27 14:45 ` Anthony Ginger
2012-04-11 8:54 ` Kalle Valo
0 siblings, 2 replies; 11+ messages in thread
From: Kalle Valo @ 2012-02-27 6:43 UTC (permalink / raw)
To: Anthony Ginger; +Cc: linux-wireless, ath6kl-devel
Hi Anthony,
sorry for the late reply, I was sick a long time.
On 02/16/2012 01:30 PM, Anthony Ginger wrote:
> Can ath6kl support AP mode? If yes, how to config it? I tried a
> simplest config, but can't find the AP.
I have used AP mode only with wpasupplicant, I haven't tried with
hostapd yet. I would guess that ath6kl works with hostapd as well but of
course there can be some issues.
> I tried ath6kl driver in git://github.com/kvalo/ath6kl.git and the
> standard kernel 3.3-rc3.
> I am sure the HW is OK, wpa_supplicant works for me.
> hostapd & wpa_supplicant is the latest version build form
> git://w1.fi/srv/git/hostap.git,
This looks good.
> hostapd -v
> hostapd v1.0-rc2
> User space daemon for IEEE 802.11 AP management,
> IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
> Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors
>
> Firmware is form linux-firmware, here is the kernel log:
> [ 14.534308] mmc1: new high speed SDIO card at address 0001
> [ 15.245538] ath6kl: ar6003 hw 2.1.1 sdio fw 3.1.1.609
Ah, firmware is a bit old but IIRC it still should support AP mode. But
I need to submit latest firmware to linux-firmware.git.
> I used the simplest config:
> cat /etc/hostapd.conf
> #change wlan0 to your wireless device
> interface=wlan0
> driver=nl80211
> ssid=test
> channel=1
>
> here is the log:
> hostapd -d /etc/hostapd.conf
> random: Trying to read entropy from /dev/random
> Configuration file: /etc/hostapd.conf
> nl80211: interface wlan0 in phy phy0
> rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
> nl80211: Using driver-based roaming
> nl80211: Add own interface ifindex 3
> nl80211: Set mode ifindex 3 iftype 3 (AP)
> nl80211: Create interface iftype 6 (MONITOR)
> Failed to create interface mon.wlan0: -95 (Operation not supported)
> nl80211: Driver does not support monitor interface type - try to run without it
> BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
> nl80211: Regulatory information - country=00
> nl80211: 2402-2472 @ 40 MHz
> nl80211: 2457-2482 @ 20 MHz
> nl80211: 2474-2494 @ 20 MHz
> nl80211: 5170-5250 @ 40 MHz
> nl80211: 5735-5835 @ 40 MHz
> nl80211: Added 802.11b mode based on 802.11g information
> Completing interface initialization
> Mode: IEEE 802.11b Channel: 1 Frequency: 2412 MHz
> nl80211: Set freq 2412 (ht_enabled=0 sec_channel_offset=0)
> Failed to update rate sets in kernel module
> RATE[0] rate=10 flags=0x1
> RATE[1] rate=20 flags=0x1
> RATE[2] rate=55 flags=0x0
> RATE[3] rate=110 flags=0x0
> Flushing old station entries
> Could not connect to kernel driver.
> Deauthenticate all stations
> nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=0
> set_tx=0 seq_len=0 key_len=0
> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=1
> set_tx=0 seq_len=0 key_len=0
> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=2
> set_tx=0 seq_len=0 key_len=0
> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=3
> set_tx=0 seq_len=0 key_len=0
> Using interface wlan0 with hwaddr 00:03:7f:be:f0:a0 and ssid 'test'
> nl80211: Set beacon (beacon_set=0)
> nl80211: Ignore AP isolation configuration error since isolation is not used
> wpa_driver_nl80211_set_operstate: operstate 0->1 (UP)
> netlink: Operstate: linkmode=-1, operstate=6
> Failed to set TX queue parameters for queue 0.
> Failed to set TX queue parameters for queue 1.
> Failed to set TX queue parameters for queue 2.
> Failed to set TX queue parameters for queue 3.
> wlan0: Setup of interface done.
> RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
> RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
> Unknown event 5
>From the logs I can't identify what's wrong, but I have to admit that
I'm not very familiar with hostapd. I need to test this myself and I
will get back to you.
Kalle
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ath6kl hostapd
2012-02-27 6:43 ` Kalle Valo
@ 2012-02-27 14:45 ` Anthony Ginger
2012-04-11 8:54 ` Kalle Valo
1 sibling, 0 replies; 11+ messages in thread
From: Anthony Ginger @ 2012-02-27 14:45 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, ath6kl-devel
Hi Kalle,
Thanks! My HW can work with the private Wifi driver(almost the same in
previous linux drivers\staging dir), both hostapd and wpasupplicant.
But I don't like that driver, if the new driver can work with hostapd,
I prefer switch to the new driver.
Take your time and take good care of yourself.
Best Regards!
Tony
2012/2/27 Kalle Valo <kvalo@qca.qualcomm.com>:
> Hi Anthony,
>
> sorry for the late reply, I was sick a long time.
>
> On 02/16/2012 01:30 PM, Anthony Ginger wrote:
>
>> Can ath6kl support AP mode? If yes, how to config it? I tried a
>> simplest config, but can't find the AP.
>
> I have used AP mode only with wpasupplicant, I haven't tried with
> hostapd yet. I would guess that ath6kl works with hostapd as well but of
> course there can be some issues.
>
>> I tried ath6kl driver in git://github.com/kvalo/ath6kl.git and the
>> standard kernel 3.3-rc3.
>> I am sure the HW is OK, wpa_supplicant works for me.
>> hostapd & wpa_supplicant is the latest version build form
>> git://w1.fi/srv/git/hostap.git,
>
> This looks good.
>
>> hostapd -v
>> hostapd v1.0-rc2
>> User space daemon for IEEE 802.11 AP management,
>> IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
>> Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi> and contributors
>>
>> Firmware is form linux-firmware, here is the kernel log:
>> [ 14.534308] mmc1: new high speed SDIO card at address 0001
>> [ 15.245538] ath6kl: ar6003 hw 2.1.1 sdio fw 3.1.1.609
>
> Ah, firmware is a bit old but IIRC it still should support AP mode. But
> I need to submit latest firmware to linux-firmware.git.
>
>> I used the simplest config:
>> cat /etc/hostapd.conf
>> #change wlan0 to your wireless device
>> interface=wlan0
>> driver=nl80211
>> ssid=test
>> channel=1
>>
>> here is the log:
>> hostapd -d /etc/hostapd.conf
>> random: Trying to read entropy from /dev/random
>> Configuration file: /etc/hostapd.conf
>> nl80211: interface wlan0 in phy phy0
>> rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
>> nl80211: Using driver-based roaming
>> nl80211: Add own interface ifindex 3
>> nl80211: Set mode ifindex 3 iftype 3 (AP)
>> nl80211: Create interface iftype 6 (MONITOR)
>> Failed to create interface mon.wlan0: -95 (Operation not supported)
>> nl80211: Driver does not support monitor interface type - try to run without it
>> BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
>> nl80211: Regulatory information - country=00
>> nl80211: 2402-2472 @ 40 MHz
>> nl80211: 2457-2482 @ 20 MHz
>> nl80211: 2474-2494 @ 20 MHz
>> nl80211: 5170-5250 @ 40 MHz
>> nl80211: 5735-5835 @ 40 MHz
>> nl80211: Added 802.11b mode based on 802.11g information
>> Completing interface initialization
>> Mode: IEEE 802.11b Channel: 1 Frequency: 2412 MHz
>> nl80211: Set freq 2412 (ht_enabled=0 sec_channel_offset=0)
>> Failed to update rate sets in kernel module
>> RATE[0] rate=10 flags=0x1
>> RATE[1] rate=20 flags=0x1
>> RATE[2] rate=55 flags=0x0
>> RATE[3] rate=110 flags=0x0
>> Flushing old station entries
>> Could not connect to kernel driver.
>> Deauthenticate all stations
>> nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
>> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=0
>> set_tx=0 seq_len=0 key_len=0
>> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=1
>> set_tx=0 seq_len=0 key_len=0
>> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=2
>> set_tx=0 seq_len=0 key_len=0
>> wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=(nil) key_idx=3
>> set_tx=0 seq_len=0 key_len=0
>> Using interface wlan0 with hwaddr 00:03:7f:be:f0:a0 and ssid 'test'
>> nl80211: Set beacon (beacon_set=0)
>> nl80211: Ignore AP isolation configuration error since isolation is not used
>> wpa_driver_nl80211_set_operstate: operstate 0->1 (UP)
>> netlink: Operstate: linkmode=-1, operstate=6
>> Failed to set TX queue parameters for queue 0.
>> Failed to set TX queue parameters for queue 1.
>> Failed to set TX queue parameters for queue 2.
>> Failed to set TX queue parameters for queue 3.
>> wlan0: Setup of interface done.
>> RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
>> RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
>> Unknown event 5
>
> From the logs I can't identify what's wrong, but I have to admit that
> I'm not very familiar with hostapd. I need to test this myself and I
> will get back to you.
>
> Kalle
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ath6kl hostapd
2012-02-27 6:43 ` Kalle Valo
2012-02-27 14:45 ` Anthony Ginger
@ 2012-04-11 8:54 ` Kalle Valo
2012-05-01 19:17 ` Jonathan Bagg
1 sibling, 1 reply; 11+ messages in thread
From: Kalle Valo @ 2012-04-11 8:54 UTC (permalink / raw)
To: Anthony Ginger; +Cc: linux-wireless, ath6kl-devel
On 02/27/2012 08:43 AM, Kalle Valo wrote:
> On 02/16/2012 01:30 PM, Anthony Ginger wrote:
>
>> Can ath6kl support AP mode? If yes, how to config it? I tried a
>> simplest config, but can't find the AP.
>
> I have used AP mode only with wpasupplicant, I haven't tried with
> hostapd yet. I would guess that ath6kl works with hostapd as well but of
> course there can be some issues.
Sorry for taking so long to answer but I finally tested this myself.
With latest firmware 3.2.0.144 (which I submitted to linux-firmware.git
yesterday) and latest hostapd from git I can create a WPA-PSK network
using hostapd and my Nokia N900 succesfully connected to the network and
I was able to ping N900.
If this is not working for you I recommend updating to the latest firmware.
Kalle
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ath6kl hostapd
2012-04-11 8:54 ` Kalle Valo
@ 2012-05-01 19:17 ` Jonathan Bagg
2012-05-01 19:27 ` Kalle Valo
0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Bagg @ 2012-05-01 19:17 UTC (permalink / raw)
To: Kalle Valo; +Cc: Anthony Ginger, linux-wireless, ath6kl-devel
On 12-04-11 04:54 AM, Kalle Valo wrote:
>
> With latest firmware 3.2.0.144 (which I submitted to linux-firmware.git
> yesterday) and latest hostapd from git I can create a WPA-PSK network
> using hostapd and my Nokia N900 succesfully connected to the network and
> I was able to ping N900.
>
> If this is not working for you I recommend updating to the latest firmware.
>
> Kalle
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Kalle,
When you tried hostapd on the N900, did you use a kernel built from your
https://github.com/kvalo/ath6kl.git or from compat-wireless?
Jon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ath6kl hostapd
2012-05-01 19:17 ` Jonathan Bagg
@ 2012-05-01 19:27 ` Kalle Valo
[not found] ` <4FA0535D.2060907@lenbrook.com>
0 siblings, 1 reply; 11+ messages in thread
From: Kalle Valo @ 2012-05-01 19:27 UTC (permalink / raw)
To: Jonathan Bagg; +Cc: Anthony Ginger, linux-wireless, ath6kl-devel
On 05/01/2012 10:17 PM, Jonathan Bagg wrote:
> On 12-04-11 04:54 AM, Kalle Valo wrote:
>>
>> With latest firmware 3.2.0.144 (which I submitted to linux-firmware.git
>> yesterday) and latest hostapd from git I can create a WPA-PSK network
>> using hostapd and my Nokia N900 succesfully connected to the network and
>> I was able to ping N900.
>>
>> If this is not working for you I recommend updating to the latest firmware.
>
> When you tried hostapd on the N900, did you use a kernel built from your
> https://github.com/kvalo/ath6kl.git or from compat-wireless?
Just to clarify: I was running hostapd on my x86 box which has ar6003
and I used N900 as the client connecting to the x86 box.
I used ath6kl.git for my tests. I use compat-wireless very little (if
any) in my tests.
Kalle
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-05-11 6:30 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 11:30 ath6kl hostapd Anthony Ginger
2012-02-27 6:43 ` Kalle Valo
2012-02-27 14:45 ` Anthony Ginger
2012-04-11 8:54 ` Kalle Valo
2012-05-01 19:17 ` Jonathan Bagg
2012-05-01 19:27 ` Kalle Valo
[not found] ` <4FA0535D.2060907@lenbrook.com>
2012-05-03 5:15 ` Kalle Valo
2012-05-04 20:30 ` Jonathan Bagg
2012-05-10 8:33 ` Kalle Valo
2012-05-10 18:31 ` Jonathan Bagg
2012-05-11 6:27 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).