Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5718003ybi; Tue, 4 Jun 2019 10:59:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3EfkdNai1Adyqf4zYjV9kDisqshDjjvLyVCZzSX80vEtjkIQj1ALJaE28XBgx0EnujpNZ X-Received: by 2002:a17:90a:208e:: with SMTP id f14mr1117702pjg.57.1559671181450; Tue, 04 Jun 2019 10:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559671181; cv=none; d=google.com; s=arc-20160816; b=ljt4UVEQuGp34pLQfegwlqn9tRPh1cGQEh1F55kViNJB/6/kyq2zQWFAudKWnchP2l gLdN3nVA1KjLhcAb0QXB3Amc3YBj+h5ftf2QBTPazV590w+d7aHLgLJZ46KTm1tAGIqT Y/3gvu7nhnzw+5bDmMGAlMvxNSqC0LK3xYtMr8a0g78oI6QmxxDymhsc24zD32HcIRoK bjuv0dSTGI6TlnZCVu0DN/m0bEQ5mu1wrYEPwFW06jsoZlFxrfoDy28+69chB7QyxldY jWd8ZZNDgv3dfFM+9OJzQErTtWPtAixpQuRjHJZ55UlEp2+cVNdSsyechSAwYJUKb74A 11KA== 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=0zh0D5xChxz/hyBQVGpoRgZe6vGFR+ep2TrTQyCH3uQ=; b=zmpoUsLIhqdPYcytQX7HtO7ykZTKmMKdzxPkPKtjkHdz/tO6NC4RxGm8ydPNoo2DUD 6SO8FIHfkatvQxkH9vTMI9WD+DrU6hq9/9/HYCsLP/yhVPEgWM3S/19PX5t57xpkfuss SFw4Z/PL84KUDOBbyE8T2ZA9YASAE8mftrAVHWeWBUIOCAocJ7OAcTpov81X2IdQFqLh lDCr1Mq4+/dyfLEPVtEa1x0V6h9pLFjHDxFw9DjkBzD+x+Jbu8wCqHRR+em9cdcUmZ7e VLbXNw0almHZyD3rSOaU0RdFAi+Vev0nPUsS9euE0nWTtJpwo5vM2UedvUuWy9BcfWv2 BYog== 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 k18si26063851pfd.233.2019.06.04.10.59.16; Tue, 04 Jun 2019 10:59:41 -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 S1726336AbfFDR7J (ORCPT + 99 others); Tue, 4 Jun 2019 13:59:09 -0400 Received: from nbd.name ([46.4.11.11]:42738 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbfFDR7J (ORCPT ); Tue, 4 Jun 2019 13:59:09 -0400 Received: from pd95fd026.dip0.t-ipconnect.de ([217.95.208.38] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hYDiE-0004DI-Dw; Tue, 04 Jun 2019 19:59:06 +0200 From: John Crispin To: Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, John Crispin Subject: [PATCH V5 0/2] mac80211: add 802.11 encapsulation offloading Date: Tue, 4 Jun 2019 19:58:58 +0200 Message-Id: <20190604175900.26818-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 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