On Monday 25 September 2006 00:43, Daniel Drake wrote: > This patch adds a host_strip_iv_icv flag to ieee80211 which indicates that > ieee80211_rx should strip the IV/ICV/other security features from the payload. > This saves on some memmove() calls in the driver and seems like something that > belongs in the stack as it can be used by bcm43xx, ipw2200, and zd1211rw > > I need someone to test this on ipw2200 as I don't have the hardware. > As hardware decryption is disabled in bcm43xx I'm guessing that the code > doesn't > work yet? Either way I have added in the necessary changes should it be > enabled in the future. > > This patch also adds some sensible variable reuse (idx vs keyidx) in > ieee80211_rx > > Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> >
> Index: linux/drivers/net/wireless/bcm43xx/bcm43xx_main.c > =================================================================== > --- linux.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c > +++ linux/drivers/net/wireless/bcm43xx/bcm43xx_main.c > @@ -4034,6 +4034,9 @@ static int bcm43xx_init_private(struct b > bcm->ieee->host_build_iv = 0; > bcm->ieee->host_encrypt = 1; > bcm->ieee->host_decrypt = 1; > + > + /* required when hardware decryption is enabled */ > + /* bcm->ieee->host_strip_iv_icv = 1; */ Well, that line get's a NACK. Go and correctly set that flag from bcm43xx_wx.c The rest of the patch seems to be ok. -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html