Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3409749ybi; Mon, 17 Jun 2019 23:54:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+4p5vvL7CaBAEQObFIPxIPKITVJ2dRwZzvL5PrPDYYLar+FnDcRr1cHghiBXPRC49pATJ X-Received: by 2002:a62:cdc8:: with SMTP id o191mr48915028pfg.74.1560840893302; Mon, 17 Jun 2019 23:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560840893; cv=none; d=google.com; s=arc-20160816; b=D5yskrhD2bz/BhoBlCeCpkYQwPnlUf6a45Jojpd2/kPwgiGlyD1agHSJc7N9zwALDI gj5Z/xZU86QKmT4q2/iLlgmt1PhZRjG1tJuGFCYqfkGpt1/ihMDjH+3Em6UUJGrrZ6g4 vF96OkepwotlR8unDjGHLpaLGsV0Jz9/PXrgkLcJl0N3wLx7u8/jNLuHqYIFz3ALmJTY Gei7ux/BrjdJ63SDWL/vJgT4dtx0CH530UnovI9RPBgZ4VDYGTzjl8kaDJrlTDUQpWag f4e1229olUqIjcaXv7d2JHdFtSwn1kQE/stm75HMeG3MVe3QOoWRCBtqs6l27SCyXRAy 3zNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vg8zDfh+rGBStAbHiIAGX9swfLARslwCtuuTG3AQs2E=; b=RSTPNodKdXYoUfMgtR3jGBLt+MyL43+wjFHTg6VaNFWrdIQyj3dsv+MbpnYbvhiLQg fDIpqqPwODi67udyQhSIF8doiqQg1Ll4/lTB3+iJ5wfYCT5li9Br9MlnPr5o3qx5p/qO BhWiYbyJ/g7fwYo0N8r7pb3JlaaE+QPK20+7QiLG7I7ZsTZzH+8+CuiIE6lkc6VCc8dd 3/H0qIPiDwP5EebK9pJEa38xTp0XUOjDN3cG0r6ebJk931ZGbu8z9OzUhpUsnUUu2jdg u2qisZC5BmVH8CfIbCXLte3emAlmZrQKCDrYvhVSTY24l5dTFkqC/2Lq7vIWs7RHpn0k 4jzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si13073478pfl.270.2019.06.17.23.54.38; Mon, 17 Jun 2019 23:54:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728920AbfFRGyO (ORCPT + 99 others); Tue, 18 Jun 2019 02:54:14 -0400 Received: from nbd.name ([46.4.11.11]:59432 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726007AbfFRGyN (ORCPT ); Tue, 18 Jun 2019 02:54:13 -0400 Received: from p5dcfbabb.dip0.t-ipconnect.de ([93.207.186.187] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hd7bJ-0000gk-Oz; Tue, 18 Jun 2019 08:28:13 +0200 From: John Crispin To: Johannes Berg , Kalle Valo Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, John Crispin Subject: [PATCH V6 0/2] mac80211: add 802.11 encapsulation offloading Date: Tue, 18 Jun 2019 08:28:05 +0200 Message-Id: <20190618062807.17158-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series picks up prior work from QCA. The patch is currently shipped inside QSDK as part of the wlan-open package. The series tries to address all feedback from the V2 -> https://patchwork.kernel.org/patch/9602585/ Changes in V3 * rebase on latest kernel * various code style clean ups * give some of the variables and functions more obvious names * move the code that disables support for non-linear frames to the core * disable monitor and tkip support Changes in V4 * disable encap when TKIP is used instead of refusing TKIP * use a flag inside tx_info instead of an extra element * move 4addr detection into ieee80211_set_hw_80211_encap() * ieee80211_tx_dequeue() was dropping out to early Changes in V5 * implement comments from Johannes Changes in V6 * the conditional masking out monitor support was inverse Vasanthakumar Thiagarajan (2): mac80211: add hw 80211 encapsulation offloading support ath10k: add tx hw 802.11 encapusaltion offloading suppor drivers/net/wireless/ath/ath10k/core.c | 11 ++ drivers/net/wireless/ath/ath10k/core.h | 3 + drivers/net/wireless/ath/ath10k/htt_tx.c | 24 +-- drivers/net/wireless/ath/ath10k/mac.c | 70 +++++++-- drivers/net/wireless/ath/ath10k/txrx.c | 11 +- include/net/mac80211.h | 25 +++ net/mac80211/cfg.c | 6 + net/mac80211/debugfs.c | 1 + net/mac80211/ieee80211_i.h | 10 ++ net/mac80211/iface.c | 84 ++++++++++ net/mac80211/key.c | 7 + net/mac80211/main.c | 10 +- net/mac80211/status.c | 79 ++++++++++ net/mac80211/tx.c | 187 ++++++++++++++++++++++- 14 files changed, 495 insertions(+), 33 deletions(-) -- 2.20.1