Search Linux Wireless

Re: Looking for non-NIC hardware-offload for wpa2 decrypt.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2014-07-30 at 00:29 +0200, Christian Lamparter wrote:

> 1. the fpu_begin and fpu_end calls should be added to
> ieee80211_crypto_ccmp_encrypt in net/mac80211/wpa.c.
> 
> >+     kernel_fpu_begin();
> >        skb_queue_walk(&tx->skbs, skb) {
> >                if (ccmp_encrypt_skb(tx, skb) < 0)
> >                        return TX_DROP;
> >        }
> >+      kernel_fpu_end();
> >
> >       return TX_CONTINUE;

I don't really want to jump in here but I'll point out that this would
be mostly useless afaict as the list is only iterated if you have
software fragmentation.

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux