On Wed, 2008-08-06 at 19:33 +0100, Dave wrote: > Pavel Roskin wrote: > > On Mon, 2008-08-04 at 19:28 -0400, Dan Williams wrote: > >>> I'm not familiar with the difference between WPA/WPA2. Is that expected to work? > >> > >> But you might be able to get away with WPA2/RSN + TKIP if the AP allows > >> this configuration. In that configuration, the only difference between > >> WPA and WPA2/RSN would be the information element IDs, really. But if > >> the firmware itself doesn't say it supports WPA on whatever website it > >> came from, then likely the card won't do WPA2/RSN either. > > The firmware supports WPA, but makes no mention of WPA2. It might support WPA2+TKIP since there's not a lot of difference there, but that would require more testing. > > I tried association to hostapd with madwifi, and the only working > > configuration is WPA1 only with TKIP. Even enabling WPA1 and WPA2 and > > TKIP makes the connection fail. Forcing WPA1 and TKIP in > > wpa_supplicant.conf doesn't help. > > > > I looked at the patches. They have references to TKIP, but not to CCMP. > > Yet it would be nice if we could support WPA1+WPA2, as we cannot require > > that access points stop supporting WPA2, which is the 802.11i standard. > > It's possible that we have an issue outside the driver. > > I don't believe the firmware supports CCMP. It has support for CCX/CKIP (Cisco specific TKIP-alike), but I'm guess we don't care about that. > > I suggest that we leave figuring out how to associate with a WPA2+TKIP AP to another day. That's probably OK. The driver doesn't say it supports WPA2+TKIP, so you're in the clear here. Either the supplicant has to be fixed to respect driver capabilities, or the user has to know. I vote for fixing the supplicant. Dan > >>>> [185219.617236] eth1: Ext scan results too large (272 bytes). > >> Truncating > >>>> results to 270 bytes. > > > I tried increasing the "data" size from 200 to 300 in hermes.h, and the > > message went away. I was able to associate to D-Link DIR-615 when it > > was set to WPA1. > > > > I think it should be safe to increase the side of "data" and remove the > > unused "flags" filed at the end. Let's make "data" 256 bytes to make it a nice > > round number. > > Thanks for checking that. I'll set data to 316 bytes. This makes the agere_ext_scan_info 384 (256+128) bytes. That copes with the worst case you saw, and gives a nice alignment to the array of scan structures (total size now a round 24k). > > > I'm sorry, I'm going to be offline soon, and I really cannot do any more > > tests. > > Thank you for the feedback and testing, not to mention past maintainership of the driver. > > > Regards, > > Dave. > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html