---------- 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