[PATCH] RoboSwitch driver

Jouke Witteveen j.witteveen
Fri Nov 7 02:34:33 PST 2008


Hello all,

Find attached the patch that creates a new driver: roboswitch. This
driver adds support for wired authentication with a Broadcom
RoboSwitch chipset. For example it is now possible to do wired
authentication with a Linksys WRT54G router running OpenWRT.

LIMITATIONS
- At the moment the driver does not support the BCM5365 series (though
adding it requires just some register tweaks).
- The driver is also limited to Linux (this is a far more technical
restriction).
- In order to compile against a 2.4 series you need to edit
include/linux/mii.h and change all references to "u16" in "__u16". I
have submitted a patch upstream that will fix this in a future version
of the 2.4 kernel.

USAGE
- Usage is similar to the wired driver. Choose the interfacename of
the vlan that contains your desired authentication port on the router.
This name must be formatted as <interface>.<vlan>, which is the
default on all systems I know.

THE RIGHT PLACE
In my opinion this patch should be merged into wpa_supplicant. An
alternative would be to keep it as a patch in OpenWRT because that is
the main platform this driver will be used on. Inclusion in
wpa_supplicant facilitates maintenance though and makes makes usage on
other platforms easy.

Regards,
Jouke Witteveen

P.S.
This message was sent before but it kept "awaiting moderator approval"
since the uncompressed patch made the message "too big". This time I
compressed the patch to circumvent the approval system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpa_supplicant-0.6.4_roboswitch.patch.gz
Type: application/x-gzip
Size: 5184 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20081107/e17d1237/attachment.bin 



More information about the Hostap mailing list