Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22DB3C10F11 for ; Wed, 10 Apr 2019 07:35:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E18F72064A for ; Wed, 10 Apr 2019 07:35:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728013AbfDJHf2 (ORCPT ); Wed, 10 Apr 2019 03:35:28 -0400 Received: from nbd.name ([46.4.11.11]:55548 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727529AbfDJHf2 (ORCPT ); Wed, 10 Apr 2019 03:35:28 -0400 Received: from p548c87d0.dip0.t-ipconnect.de ([84.140.135.208] helo=bertha.fritz.box) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hE7lU-00082V-Hj; Wed, 10 Apr 2019 09:35:24 +0200 From: John Crispin To: Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, Srini Kode , Rajkumar Manoharan , Shashidhar Lakkavalli , John Crispin Subject: [RFC V4 0/2] mac80211: add 802.11 encapsulation offloading Date: Wed, 10 Apr 2019 09:35:12 +0200 Message-Id: <20190410073514.12794-1-john@phrozen.org> X-Mailer: git-send-email 2.11.0 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 so eof 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 fx_info instead of an extra element * move 4addr detection into ieee80211_set_hw_80211_encap() * ieee80211_tx_dequeue() was dropping out to early Vasanthakumar Thiagarajan (2): 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 | 70 +++++++++--- drivers/net/wireless/ath/ath10k/txrx.c | 11 +- include/net/mac80211.h | 25 ++++ net/mac80211/cfg.c | 3 + net/mac80211/debugfs.c | 1 + net/mac80211/ieee80211_i.h | 10 ++ net/mac80211/iface.c | 72 ++++++++++++ net/mac80211/key.c | 7 ++ net/mac80211/main.c | 10 +- net/mac80211/status.c | 79 +++++++++++++ net/mac80211/tx.c | 189 ++++++++++++++++++++++++++++++- 14 files changed, 481 insertions(+), 34 deletions(-) -- 2.11.0