Ben Greear wrote:
> Patrick McHardy has been working on patches for this feature
> for me. I've hacked on it a small bit too, so he doesn't get all the
> blame.
>
> I'm attaching a patch that is mostly working:
>
> Tested so far:
>
> 120 stations: Works OK with no encryption
> 10 stations: Works OK with WEP
> WPA has issues, at least when running one supplicant per interface.
>
> Haven't tested VAPs yet.
>
> Known bugs:
> lockdep warning on some race with handler callbacks.
> soft-lockup in irq occassionally
> WPA doesn't work quite right with multiple supplicants, at least.
>
>
> To create a virtual station:
>
> modprobe ath5k with nohwaccel=1 (I think that's the name...test system is
> currently locked and waiting debugging :P)
>
> iw dev wmaster0 interface add sta0 type station
> ip link set sta0 address 00:11:22:33:44:01
>
> To create a vap:
> iw dev wmaster0 interface add vap0 type __ap
>
> You probably have to beat udev senseless so that it doesn't rename
> things for you.
>
>
> I have this patch to iw:
>
> [gree...@fs2 iw]$ git diff
> diff --git a/nl80211.h b/nl80211.h
> index f6e5637..08c1462 100644
> --- a/nl80211.h
> +++ b/nl80211.h
> @@ -195,8 +195,6 @@ enum nl80211_commands {
> NL80211_CMD_GET_MESH_PARAMS,
> NL80211_CMD_SET_MESH_PARAMS,
>
> - NL80211_CMD_SET_MGMT_EXTRA_IE,
> -
> NL80211_CMD_GET_REG,
>
> NL80211_CMD_GET_SCAN,
>
>
> Using top-of tree hostap (from a few weeks ago)
>
>
> I would welcome inclusion of any/all of this code and/or help
> with debugging if anyone wants to give it a try.
Hi Ben,
This is great! The atheros card is currently in our main linux router,
but I'll see if we can move it to a separate box so we can help with
testing some of this.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel