Subject: Re: ieee80211 and devices which decrypt in hardware

From: Johannes Berg <[email-masked]>
Date: Thu, 14 Sep 2006 09:51:28 +0200

On Wed, 2006-09-13 at 18:35 -0400, Daniel Drake wrote:
 
> +       /* If the device does decryption but leaves the IV in place then we: 
> +        * need to kill it. */: 
> +       if (!can_be_decrypted && (fc & IEEE80211_FCTL_PROTECTED)): 
> +               hdrlen += 4;: 

That might work, unless there are devices that leave the protected bit
set but do strip the IV/ICV...

johannes