From patchwork Wed Dec 31 10:20:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 5555321 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 231C29F2B9 for ; Wed, 31 Dec 2014 10:20:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41AD220123 for ; Wed, 31 Dec 2014 10:20:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 496BC2011E for ; Wed, 31 Dec 2014 10:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751080AbaLaKU3 (ORCPT ); Wed, 31 Dec 2014 05:20:29 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:49163 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbaLaKU3 (ORCPT ); Wed, 31 Dec 2014 05:20:29 -0500 Received: by mail-wi0-f175.google.com with SMTP id l15so25254289wiw.2 for ; Wed, 31 Dec 2014 02:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=lGTzfGvsZVK8JvpRSQHMDbg/L4Uxwp41nlA/QmviOno=; b=ePMiO8LRahh9noJfw/gPAgBsWWDwXkwyzezU/rcYb2EoNkkAHvP+RLgtKTcL+UZajW VPrjBotRF+RvaDIAX81ws48RGf5OFeYbydDrtrOqV7Sp51dKk2Zze/jVInDY1MgPFgP0 rGg9STYHKJWfyEFlafpITQvV0TmBaQjQ/MR5IjVSb2+d2L8ShLnBksjMXOE6YyZhpg+U caxIVqT4HnuSnzWrwfghtlbaKWTzWq79ffh+qm6GvOw3IDD6N6WbTbaQ6+3QWBE8tTct q+dg/LL34LZhaK3ZAQAbp01YAMG0mSKZ1bIdfH20WwvDRLKZyPChvnJ2DEGrfQn6y+E4 dc+w== X-Received: by 10.180.107.195 with SMTP id he3mr110578448wib.44.1420021228168; Wed, 31 Dec 2014 02:20:28 -0800 (PST) Received: from debian64.daheim (p5B2E66FA.dip0.t-ipconnect.de. [91.46.102.250]) by mx.google.com with ESMTPSA id j10sm47581325wjn.23.2014.12.31.02.20.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Dec 2014 02:20:27 -0800 (PST) Received: from localhost.daheim ([127.0.0.1] helo=debian64.localnet) by debian64.daheim with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Y6GOA-0003gZ-5j; Wed, 31 Dec 2014 11:20:26 +0100 From: Christian Lamparter To: linux-wireless@vger.kernel.org Cc: kvalo@codeaurora.org, pizza@shaftnet.org Subject: [RFT 3/3] cw1200: use mac80211 to resize outgoing frames for protected Date: Wed, 31 Dec 2014 11:20:25 +0100 Message-ID: <52607462.yl7ixH72Rq@debian64> User-Agent: KMail/4.14.2 (Linux/3.19.0-rc1-wl+; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The patch "mac80211: add feature flag to enable resizing of outgoing frames for encryption" introduced a feature flag which has to be set for cw1200 to re-enable resizing of outgoing frames for hardware-offloaded CCMP connections. Cc: Solomon Peachy Signed-off-by: Christian Lamparter --- drivers/net/wireless/cw1200/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/cw1200/main.c b/drivers/net/wireless/cw1200/main.c index 3e78cc3..69c1f51 100644 --- a/drivers/net/wireless/cw1200/main.c +++ b/drivers/net/wireless/cw1200/main.c @@ -281,6 +281,7 @@ static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr, hw->flags = IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_SUPPORTS_PS | IEEE80211_HW_SUPPORTS_DYNAMIC_PS | + IEEE80211_HW_TAILROOM_CRYPTO | IEEE80211_HW_REPORTS_TX_ACK_STATUS | IEEE80211_HW_SUPPORTS_UAPSD | IEEE80211_HW_CONNECTION_MONITOR |