Hi All I know this use case is quite trivial looking regarding WEP (Since it is going to be deprecated), we faced a issue with minap (softap) in WEP security with auth mode as shared. Since the default key is not passed to driver, we can not program firmware default key idx (default key is programmed when data packet exchange started, looking into type of encryption) and the handshake failed in shared auth mode. In open mode, there is no need for this. Personally, i dont like WEP in miniAP mode but sometime we dont have the choice! Rsh. > > > > On Thu, May 17, 2012 at 1:55 PM, Divinsky, Yonatan <yoni.divinsky@xxxxxx> wrote: >> >> ---------- Forwarded message ---------- >> From: Divinsky, Yonatan <yoni.divinsky@xxxxxx> >> Date: Tue, May 15, 2012 at 1:59 PM >> Subject: Re: [PATCH] mac80211: add op to configure default key id to driver >> To: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> >> >> >> On Tue, May 15, 2012 at 12:08 PM, Johannes Berg >> <johannes@xxxxxxxxxxxxxxxx> wrote: >> > On Tue, 2012-05-15 at 11:46 +0300, Divinsky, Yonatan wrote: >> >> On Tue, May 8, 2012 at 5:06 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> >> > On Tue, 2012-05-08 at 15:18 +0300, Yoni Divinsky wrote: >> >> >> When hw_accel is enabled and encryption type is set to WEP, >> >> >> the driver should get the default key index from mac80211. >> >> > >> >> > Well, why? >> >> > >> >> If the WEP encryption is done by the HW, then then low level driver >> >> needs to know the defualt key index in >> >> case there is more than one WEP key configured. >> > >> > I don't see why, for every packet mac80211 tells you what key to use. >> >> If the HW supports auto ARP responses, then it will need to have the correct >> key id in order to encrypt the ARP response. >> >> > >> > johannes >> > >> -- >> 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 > > -- 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