Skip to contentSkip to conversation

ath6kl in compat wireless supports AP mode?

DISCUSSION Jonathan Bagg 4 participants 6 messages Jan 13, 2012 – Dec 20, 2012

lore
Share & tools
lore
#0 lore raw

Anybody know if the ath6kl driver in compat wireless supports AP mode?

hostapd hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.

hostapd.conf
interface=wlan0
driver=nl80211
ssid=test
channel=1

Using
hostapd v0.7.3
libnl-2.0

Jon Bagg

#1 lore raw

Hi Jonathan,

sorry for answering late.

Quoted 12 lines · Jonathan Bagg

Anybody know if the ath6kl driver in compat wireless supports AP mode?

hostapd hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.

hostapd.conf
interface=wlan0
driver=nl80211
ssid=test
channel=1

Quoted 3 lines

Using
hostapd v0.7.3
libnl-2.0

Most of the ath6kl developers use wpasupplicants AP mode for this so I recommend trying with wpasupplicant first. It might be that hostapd requires something which ath6kl doesn't support.

Kalle

#2 lore raw
Quoted 17 lines · Kalle Valo

Hi Jonathan,

sorry for answering late.

Quoted 12 lines · Jonathan Bagg

Anybody know if the ath6kl driver in compat wireless supports AP mode?

hostapd hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.

hostapd.conf
interface=wlan0
driver=nl80211
ssid=test
channel=1

Quoted 7 lines
Quoted 3 lines

Using
hostapd v0.7.3
libnl-2.0

Most of the ath6kl developers use wpasupplicants AP mode for this so I recommend trying with wpasupplicant first. It might be that hostapd requires something which ath6kl doesn't support.

hostapd works fine, but a recent git version is probably required. v0.7.3 is a bit old, I think.

Sujith

#3 lore raw

Sujith,

Can you tell me your setup for....

kernel ver?
hostapd ver?
libnl ver?
architecture ?

I'm running....
Compat-wireless 3.1 (ath6kl still in staging) built against kernel 2.6.35.3

    mac80211 as module
    cfg80211 as module

hostapd v2.0-devel (git cloned today)
libnl-2.0
arm, freescale imx51

I tried hostapd v2.0-devel and no go.

Jon

Quoted 28 lines · Sujith Manoharan
Quoted 17 lines · Kalle Valo

Hi Jonathan,

sorry for answering late.

Quoted 12 lines · Jonathan Bagg

Anybody know if the ath6kl driver in compat wireless supports AP mode?

hostapd hostapd.conf
nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed.

hostapd.conf
interface=wlan0
driver=nl80211
ssid=test
channel=1

Quoted 6 lines
Quoted 3 lines

Using
hostapd v0.7.3
libnl-2.0

Most of the ath6kl developers use wpasupplicants AP mode for this so I recommend trying with wpasupplicant first. It might be that hostapd requires something which ath6kl doesn't support.

hostapd works fine, but a recent git version is probably required. v0.7.3 is a bit old, I think.

Sujith

#4 lore raw
Quoted 9 lines · Jonathan Bagg

I'm running....
Compat-wireless 3.1 (ath6kl still in staging) built against kernel 2.6.35.3

     mac80211 as module
     cfg80211 as module

hostapd v2.0-devel (git cloned today)
libnl-2.0
arm, freescale imx51

I tried hostapd v2.0-devel and no go.

If ath6kl is still in staging you have an ancient version and it will not support AP mode. Please try latest wireless-compat or use the latest kernel from ath6kl.git:

git://github.com/kvalo/ath6kl.git

Kalle

#5 lore raw
Quoted 17 lines · Kalle Valo
Quoted 9 lines · Jonathan Bagg

I'm running....
Compat-wireless 3.1 (ath6kl still in staging) built against kernel 2.6.35.3

     mac80211 as module
     cfg80211 as module

hostapd v2.0-devel (git cloned today)
libnl-2.0
arm, freescale imx51

I tried hostapd v2.0-devel and no go.

If ath6kl is still in staging you have an ancient version and it will not support AP mode. Please try latest wireless-compat or use the latest kernel from ath6kl.git:

Quoted 9 lines

git://github.com/kvalo/ath6kl.git

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@...
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Kalle,

I've tried ath6kl in compact-wireless-3.6.8-1 built with kernel v3.5.7 on arm for AR6003, as well the driver in kernel v3.5.7. Both of them still failed to work at AP mode with hostapd 0.7.3 complaining "Failed to create interface mon.wlan0: -95 (Operation not supported)".

Only IBSS(adhoc) mode can work with wpa_supplicant.

Has anyone successfully had AP mode enabled for ath6kl?

Is there any official announcement about the capability of ath6kl driver in compact-wireless?

Only thing I found is http://linuxwireless.org/en/users/Drivers. It indicates ath6kl does not support AP mode in linux driver. I'm just not sure whether it covers the capability of the one in compact-wireless.

Regards,
cashq