Hi,
I'm interested in ur letter. And want to deploy an AP
with ath5k + hostap..
have u set up the ath5k's AP mode already?
with the patch:
http://johannes.sipsolutions.net/patches/old/all/LATEST/004-allow-ap-vlan-modes.patch
and hostap?

I have patched it to my kernel and run iw command like
ur letter:
# iw dev wlan0 del    (success too)
# iw phy phy0 interface add wlan0 type __ap
(but failed: Operation not supported(-95))

My iw was download from git and it should be the 
latest version(0.95).
Why it failed? Does the libnl.so(or libnl.so.1, 
libnl.so.1.1) must be in some PATH for the iw?  

In ur deployment, can ath5k work well with the
hostap??


thanks!

Regards,
wangyue
--- Micha Lenk <[EMAIL PROTECTED]>写道:

> Hi,
> 
> I've managed to get Linux 2.6.26 running on a
> WGT634U WLAN router. This
> device has a little-endian MIPS CPU and has an
> Atheros miniPCI card for
> providing wireless network connectivity. With lspci
> it is recognized as
> an Atheros Communications, Inc. AR5212 802.11abg NIC
> (rev 01), Engenius
> 5354MP Plus ARIES2 b/g MiniPCI Adapter, which should
> run with the ath5k
> kernel driver (compiled into my kernel).
> 
> Now I would like to setup the WLAN device in AP
> mode, but I didn't
> succeed yet. I must confess that I'm not very
> familiar with the current
> wireless framework in the kernel. What I figured out
> so far is, that I
> need iw?for wireless settings. So I compiled it and
> apparently it
> basically works. Unfortunately it isn't very good
> documented yet (i. e.
> I had to read the source to figure out what device
> types it accepts).
> I tried the following:
> 
> # iw dev wlan0 del    (delete the old wlan0 client
> mode device, success)
> # iw phy phy0 interface add wlan0 type __ap
> command failed: Invalid argument (-22)
> 
> As you can see, adding an interface in AP mode
> doesn't work.
> 
> Today I realized that ath5k simply isn't able to do
> AP mode yet. I found
> the patch?from Jiri posted last week, but I'm now a
> little bit
> confused, what the final consensus on this patch is.
> I would like to
> test the patch, but don't know which one to choose.
> 
> I would appreciate a definitive patch and am looking
> forward to provide
> any feedback needed.
> 
> Regards
>   Micha
> 
> ?>
http://wireless.kernel.org/en/users/Documentation/iw
> ?>
http://kerneltrap.org/mailarchive/linux-ath5k-devel/2008/9/27/3428184
> _______________________________________________
> ath5k-devel mailing list
> [email protected]
> https://lists.ath5k.org/mailman/listinfo/ath5k-devel
> 



      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/
_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to