Hello,
In writing a more powerful wired wpa_supplicant driver for the
RoboSwitch I need to test something on a device with a BCM5365
processor, for example an Asus WL-500G Deluxe.
A trunk package for wpa_supplicant needs to be built with the
following patch (the patch can be saved to
packages/wpa_supplicant/patches/200-robo.patch) and the following
addition to packages/wpa_supplicant/config:
CONFIG_DRIVER_ROBOSWITCH=y.
I need the output of `wpa_supplicant -i eth0.<whatever port> -c <some
bogus config file> -D roboswitch -dd`. In particular I want to know
whether there is cheering reported.
Thanks in advance,
Jouke Witteveen
------
--- a/src/drivers/driver_roboswitch.c 2009-02-03 00:27:44.000000000 +0100
+++ b/src/drivers/driver_roboswitch.c 2009-02-03 11:12:09.000000000 +0100
@@ -369,9 +382,11 @@ static void * wpa_driver_roboswitch_init
}
vlan |= 1 << 13;
- /* The BCM5365 uses a different register and is not accounted for. */
- wpa_driver_roboswitch_write(drv, ROBO_VLAN_PAGE, ROBO_VLAN_ACCESS,
- &vlan, 1);
+ /* The BCM5365 uses a different register */
+ if (wpa_driver_roboswitch_write(drv, ROBO_VLAN_PAGE, ROBO_VLAN_ACCESS,
+ &vlan, 1) < 0)
+ wpa_printf(MSG_DEBUG, "5365 is infered, hooray!");
+ os_free(drv); return NULL;
wpa_driver_roboswitch_read(drv, ROBO_VLAN_PAGE, ROBO_VLAN_READ,
vlan_read, 2);
if (!(vlan_read[1] & (1 << 4))) {
------
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel