linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath6kl in compat wireless supports AP mode?
@ 2012-01-13 22:03 Jonathan Bagg
  2012-01-18 11:39 ` Kalle Valo
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Bagg @ 2012-01-13 22:03 UTC (permalink / raw)
  To: linux-wireless

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



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

* Re: ath6kl in compat wireless supports AP mode?
  2012-01-13 22:03 ath6kl in compat wireless supports AP mode? Jonathan Bagg
@ 2012-01-18 11:39 ` Kalle Valo
  2012-01-18 12:09   ` Sujith Manoharan
  0 siblings, 1 reply; 9+ messages in thread
From: Kalle Valo @ 2012-01-18 11:39 UTC (permalink / raw)
  To: Jonathan Bagg; +Cc: linux-wireless

Hi Jonathan,

sorry for answering late.

On 01/14/2012 12:03 AM, Jonathan Bagg wrote:
> 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

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

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

* Re: ath6kl in compat wireless supports AP mode?
  2012-01-18 11:39 ` Kalle Valo
@ 2012-01-18 12:09   ` Sujith Manoharan
  2012-01-18 19:44     ` Jonathan Bagg
  0 siblings, 1 reply; 9+ messages in thread
From: Sujith Manoharan @ 2012-01-18 12:09 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Jonathan Bagg, linux-wireless

Kalle Valo wrote:
> Hi Jonathan,
> 
> sorry for answering late.
> 
> On 01/14/2012 12:03 AM, Jonathan Bagg wrote:
> > 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
> 
> 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

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

* Re: ath6kl in compat wireless supports AP mode?
  2012-01-18 12:09   ` Sujith Manoharan
@ 2012-01-18 19:44     ` Jonathan Bagg
  2012-01-19  6:24       ` Kalle Valo
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Bagg @ 2012-01-18 19:44 UTC (permalink / raw)
  To: Sujith Manoharan; +Cc: Kalle Valo, linux-wireless

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

On 12-01-18 07:09 AM, Sujith Manoharan wrote:
> Kalle Valo wrote:
>> Hi Jonathan,
>>
>> sorry for answering late.
>>
>> On 01/14/2012 12:03 AM, Jonathan Bagg wrote:
>>> 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
>> 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


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

* Re: ath6kl in compat wireless supports AP mode?
  2012-01-18 19:44     ` Jonathan Bagg
@ 2012-01-19  6:24       ` Kalle Valo
  2012-12-20  3:13         ` cashq
  0 siblings, 1 reply; 9+ messages in thread
From: Kalle Valo @ 2012-01-19  6:24 UTC (permalink / raw)
  To: Jonathan Bagg; +Cc: Sujith Manoharan, linux-wireless

On 01/18/2012 09:44 PM, Jonathan Bagg wrote:

> 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

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

* Re: ath6kl in compat wireless supports AP mode?
  2012-01-19  6:24       ` Kalle Valo
@ 2012-12-20  3:13         ` cashq
  0 siblings, 0 replies; 9+ messages in thread
From: cashq @ 2012-12-20  3:13 UTC (permalink / raw)
  To: linux-wireless

Kalle Valo <kvalo@...> writes:

> 
> On 01/18/2012 09:44 PM, Jonathan Bagg wrote:
> 
> > 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
> --
> 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


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

* Re: ath6kl in compat wireless supports AP mode?
@ 2012-12-20 15:51 drwho
  2012-12-21  0:50 ` cashq
  0 siblings, 1 reply; 9+ messages in thread
From: drwho @ 2012-12-20 15:51 UTC (permalink / raw)
  To: linux-wireless, cash.q

cashq,

AR6003 is working for me with hostapd...

platform = arm imx51
kernel = 2.6.35.3-998
compat-wireless = "Backport based on linux-stable.git v3.4-rc3"
hostapd = v1.0

hostapd conf file
interface=wlan0
driver=nl80211
ssid=ATH6K_TEST
channel=1

I'm not creating a virtual interface wlan0.mon, just using wlan0.  Make
sure you have up-to-date ar6003 hw2.1.1 firmware from
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

DrWho


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

* Re: ath6kl in compat wireless supports AP mode?
  2012-12-20 15:51 drwho
@ 2012-12-21  0:50 ` cashq
  2012-12-21  9:47   ` Kalle Valo
  0 siblings, 1 reply; 9+ messages in thread
From: cashq @ 2012-12-21  0:50 UTC (permalink / raw)
  To: linux-wireless

 <drwho@...> writes:

> 
> cashq,
> 
> AR6003 is working for me with hostapd...
> 
> platform = arm imx51
> kernel = 2.6.35.3-998
> compat-wireless = "Backport based on linux-stable.git v3.4-rc3"
> hostapd = v1.0
> .... 

Hi DrWho,

Thank you so much. It turns out that I took an incorrect version of hostapd-
0.7.3. After using hostapd-1.0, AP mode has been successfully enabled.

Regards,
cashq




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

* Re: ath6kl in compat wireless supports AP mode?
  2012-12-21  0:50 ` cashq
@ 2012-12-21  9:47   ` Kalle Valo
  0 siblings, 0 replies; 9+ messages in thread
From: Kalle Valo @ 2012-12-21  9:47 UTC (permalink / raw)
  To: cashq; +Cc: linux-wireless

cashq <cash.q@hotmail.com> writes:

> Thank you so much. It turns out that I took an incorrect version of hostapd-
> 0.7.3. After using hostapd-1.0, AP mode has been successfully enabled.

Thanks for confirming this. I added the requirement to the wiki:

http://wireless.kernel.org/en/users/Drivers/ath6kl

-- 
Kalle Valo

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

end of thread, other threads:[~2012-12-21  9:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 22:03 ath6kl in compat wireless supports AP mode? Jonathan Bagg
2012-01-18 11:39 ` Kalle Valo
2012-01-18 12:09   ` Sujith Manoharan
2012-01-18 19:44     ` Jonathan Bagg
2012-01-19  6:24       ` Kalle Valo
2012-12-20  3:13         ` cashq
  -- strict thread matches above, loose matches on Subject: below --
2012-12-20 15:51 drwho
2012-12-21  0:50 ` cashq
2012-12-21  9:47   ` 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).