Re: Looking for non-NIC hardware-offload for wpa2 decrypt.
From: Jouni Malinen <hidden>
Date: 2014-07-31 20:05:26
From: Jouni Malinen <hidden>
Date: 2014-07-31 20:05:26
On Wed, Jul 30, 2014 at 08:59:33PM +0200, Christian Lamparter wrote:
If you have disabled rx-decrypt logic of ath10k, then why isn't _aesni_dec1 or aes_decrypt listed in the perf top result? I think they should be. Have you removed them from the "perf top results" or are they really absent altogether? Because, from this perf result, it looks like your CPU is not burden by the incoming RX at all?! Instead it is busy with the encryption of frames it will be transmitting (in case of tcp, this could be tcp acks).
Keep in mind that this is CCMP, i.e., AES in CCM (Counter with CBC-MAC) mode. The CCM mode uses only the block cipher encryption function, i.e., you won't be seeing aes_decrypt or _aesni_dec1 for this even on the RX path (AES encryption operations are used to generate the key stream blocks for CCM decryption). -- Jouni Malinen PGP id EFC895FA