On Sat, 2009-08-08 at 05:36 +0800, Dan Williams wrote: > If you're talking about static WEP, then the ciphers are determined by > the WEP keys that have been set with iwconfig, and you determine > WEP40/WEP104 based on the length of the current WEP TX index. Exactly. But we need to pass this cipher info to the connect API anyway. With cfg80211 key rework [1], driver's add_key callback won't be called until it is associated. If driver needs the cipher info for association, passing it to the connect API is the only choice. Thanks, -yi 1. http://marc.info/?l=linux-wireless&m=124705584228953&w=2 -- 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