Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4176508ybg; Tue, 29 Oct 2019 03:20:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGjToB+AmGUVyIaV4RiqAkQztcgsqvDJcvWmbiwLTP9riZOgCTcvhLe3NLyl/Qzvn5qTNb X-Received: by 2002:a17:906:2cd4:: with SMTP id r20mr2336422ejr.307.1572344456273; Tue, 29 Oct 2019 03:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572344456; cv=none; d=google.com; s=arc-20160816; b=MMOW367q4Gch+XiV4PRFxJ4ZwEleJ1K974P2YCE4+x8k3QJiNeWt7ucfeLiNhTAyQY mVmbIHGMjGgXQfeSWlg+Nyw25HWHJ3YeCcqaJMfSUmwmoqHe8Q6M4uL/jQhsVtfxYTNg OEYSa9IhNxnK9H25y5m3RX8io67iwKR7hQn0mlwPcR/zUAzireUt86zlbnMze0X9UnAJ BcqGnRqS1VkpvNUJK+tw1dny6ixw9Gs+D/3rYIER1mC6KCA0I0aLrGR6zTc9Swh+VfZ3 09y5ZXcCxAftMj5WloEKzsxuNtATfy1JxQOdV65xb7sXqN5wfXifFX+N6QSNHDkEbejy YzjQ== 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=TWp1Y0Wp+KR87ZY+1CjhKnr5OhWTtQYkW+GPGBFjKrQ=; b=NBXIrwaM2S4I6bgNIe+ZMAxrRtXTZsrr+cocvDe75ejbtS70EussThWboi57O0RP08 S8OYx0pRlU2xy3a55S9AGzvm9N8h+pPtgMHKiwyw1OQa4pkDas57ZKMI9L1Yd1ciRlLK g5KtbDOQV4HEXoYVSPQdymB/zruzgV0JlW9OJl8BsiO8xGX5lkHbOf+bX+E7WbUsrOD9 uudh9b7M0HOhrpszvq51r6Zpss/IejWyd27ykWIgN6vAKGzLJnAxiZSMJJJ3jxDJheAg ZQyolchCfHef3DrM62tJIzt1+QnmaDDDD9XjZkJKR6RfxdHhizgwOIB2gLhaS/g/gITY ToTA== 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 b30si9502094edc.320.2019.10.29.03.20.32; Tue, 29 Oct 2019 03:20:56 -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 S1730249AbfJ2JNO (ORCPT + 99 others); Tue, 29 Oct 2019 05:13:14 -0400 Received: from nbd.name ([46.4.11.11]:53976 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbfJ2JNN (ORCPT ); Tue, 29 Oct 2019 05:13:13 -0400 Received: from p5dcfbe82.dip0.t-ipconnect.de ([93.207.190.130] helo=bertha.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1iPNYs-0005ZW-Q4; Tue, 29 Oct 2019 10:13:10 +0100 From: John Crispin To: Johannes Berg Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, John Crispin Subject: [PATCH V9 0/3] mac80211: add 802.11 encapsulation offloading Date: Tue, 29 Oct 2019 10:13:01 +0100 Message-Id: <20191029091304.7330-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. Changes in V9 * implement comments from Johannes * add tx status reporting * let the driver decide if tx frag will break encap mode * use true/false for bool values * move use_4addr check to driver Changes in V8 * fix double locking when setting frag threshold Changes in V7 * dont mask out monitor support when encap is available. Instead turn encap of if a monitor device is brought up or already present Changes in V6 * the conditional masking out monitor support was inverse Changes in V5 * implement comments from Johannes 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 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 John Crispin (3): mac80211: move store skb ack code to its own function mac80211: add hw 80211 encapsulation offloading support ath10k: add tx hw 802.11 encapusaltion offloading support 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 | 76 ++++++-- drivers/net/wireless/ath/ath10k/txrx.c | 11 +- include/net/mac80211.h | 39 ++++ net/mac80211/debugfs.c | 1 + net/mac80211/ieee80211_i.h | 9 + net/mac80211/iface.c | 68 +++++++ net/mac80211/key.c | 7 + net/mac80211/status.c | 74 +++++++ net/mac80211/tx.c | 233 ++++++++++++++++++++--- 12 files changed, 506 insertions(+), 50 deletions(-) -- 2.20.1