From patchwork Wed Dec 31 10:20:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 5555331 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 BCD919F2B9 for ; Wed, 31 Dec 2014 10:26:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CE96320123 for ; Wed, 31 Dec 2014 10:26:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E0A2D2011E for ; Wed, 31 Dec 2014 10:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750956AbaLaK0a (ORCPT ); Wed, 31 Dec 2014 05:26:30 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:42109 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbaLaK03 (ORCPT ); Wed, 31 Dec 2014 05:26:29 -0500 Received: by mail-wg0-f43.google.com with SMTP id k14so4009908wgh.30 for ; Wed, 31 Dec 2014 02:26: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=yF44GpMio7eWLj2juD15hzL+aPca0x9ukqIBPtf2P5M=; b=LxW1p38isLjSaYBAmqvF8luIE6IliHaHq9Wx96nlGkTdTCJpqp4RNB6UcAKzF5n0bd YgL4F6DDTw2Hw/OZYXUhRQasyCUFg8G4waQVAvS/NX3a/eVno7+OnCCIK43yWDeuiVvR mtvkxd10AshWk0XKQGb5kTnhPCpN6wqoPMxi/swSMw1PkGYUCIyKOAqSgEYO53HULsx1 Kqzw8JQ+RC2bCslwOHggMiYH+O2t3CVNiAWt1enk939om6umXvxaIPIb69qWjO6Y9Xn8 oC17ifC5eyBXy1YjqGTnIol4rOpl2+hdDwFXd0VsNjENWm6C7KwzgiAOJbI+KpqnjtEI 9XXg== X-Received: by 10.194.77.73 with SMTP id q9mr104695900wjw.24.1420021212771; Wed, 31 Dec 2014 02:20:12 -0800 (PST) Received: from debian64.daheim (p5B2E66FA.dip0.t-ipconnect.de. [91.46.102.250]) by mx.google.com with ESMTPSA id be4sm46556488wib.16.2014.12.31.02.20.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Dec 2014 02:20:12 -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 1Y6GNu-0003gT-PT; Wed, 31 Dec 2014 11:20:10 +0100 From: Christian Lamparter To: linux-wireless@vger.kernel.org Cc: kvalo@codeaurora.org, Larry.Finger@lwfinger.net, chrischavez@gmx.us, pizza@shaftnet.org, johannes@sipsolutions.net Subject: [PATCH 3.17 2/3] p54: use mac80211 to resize outgoing frames for protected Date: Wed, 31 Dec 2014 11:20:10 +0100 Message-ID: <8568428.idsM252yN9@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 p54 to re-enable resizing of outgoing frames for hardware-offloaded CCMP connections. Cc: stable@vger.kernel.org # mac80211: add feature flag to enable resizing of outgoing frames for encryption Cc: Kalle Valo Bugzilla: Reported-by: Christopher Chavez Tested-by: Larry Finger Signed-off-by: Christian Lamparter --- drivers/net/wireless/p54/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c index 97aeff0..b877c7f 100644 --- a/drivers/net/wireless/p54/main.c +++ b/drivers/net/wireless/p54/main.c @@ -751,6 +751,7 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len) IEEE80211_HW_SUPPORTS_PS | IEEE80211_HW_PS_NULLFUNC_STACK | IEEE80211_HW_MFP_CAPABLE | + IEEE80211_HW_TAILROOM_CRYPTO | IEEE80211_HW_REPORTS_TX_ACK_STATUS; dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |