Return-path: Received: from mail-oa0-f46.google.com ([209.85.219.46]:41685 "EHLO mail-oa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752838Ab2IKPFf (ORCPT ); Tue, 11 Sep 2012 11:05:35 -0400 Received: by oago6 with SMTP id o6so298615oag.19 for ; Tue, 11 Sep 2012 08:05:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1346146446-628-1-git-send-email-yeohchunyeow@gmail.com> <1346746298.3737.0.camel@jlt4.sipsolutions.net> <20120904102204.GA2541@w1.fi> <1346758521.3737.28.camel@jlt4.sipsolutions.net> <20120905071653.GB3629@w1.fi> <20120905080336.GA4747@w1.fi> <87zk4y3tsz.fsf@purkki.adurom.net> Date: Tue, 11 Sep 2012 18:05:35 +0300 Message-ID: (sfid-20120911_170540_812058_BC03FD30) Subject: Re: [PATCH] ath5k: add support of HW encryption in management frames From: Nick Kossifidis To: Yeoh Chun-Yeow Cc: Kalle Valo , Adrian Chadd , Jouni Malinen , Johannes Berg , linux-wireless@vger.kernel.org, jirislaby@gmail.com, mcgrof@qca.qualcomm.com, ath5k-devel@venema.h4ckr.net Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2012/9/11 Yeoh Chun-Yeow : > Hi, Nick > >> Have you tried disabing RX or TX only encryption/decryption on hw >> trough PCU DIAG register ? > > Nope. Is that same with loading the ath5k with nohwcrypt=1 to do > purely SW encryption/decryption? > > ---- > Chun-Yeow Nope, with nohwcrypt we don't initialize the hw engine at all, we just tell hw that data is not encrypted and that nothing should be done about it. With these hw options from what I understand from docs we can initialize the engine but use only part of it, eg. use only hw encryption or only hw decryption. It might be useful in your case. -- GPG ID: 0xEE878588 As you read this post global entropy rises. Have Fun ;-) Nick