From patchwork Mon May 20 11:01:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10950883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DBBB817E0 for ; Mon, 20 May 2019 11:02:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C68EF287DE for ; Mon, 20 May 2019 11:02:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA697287DC; Mon, 20 May 2019 11:02:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 661F3287E5 for ; Mon, 20 May 2019 11:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XL+Bvrd+XcanA+MpU/73DIgtDCSZuPEfOM5h0c6/gB0=; b=Qc1duXbwFBlMYu awOTik5eIyC2FtWaJ4Ks1izFJ9UipeLAlUITX1WHU3hLfulA7gYf17tcPyvmTZPlVnSyWgq7G1CFT w7J/GObH6EqWUKJ5SXkOo2+c0CgsZeuhwAiFzfcUZHT8TX80tuEABihB5jB5u5giEPTGj1/nK0E+K rDIpE2Ns3EZBplbCmLtzNmptSWh9a6LFF2zdMcPX01wMm9siAeF1svf528d8dLBhUGUFCgUmNzx7V L4CdyCDrvg7CvOhWae353wAYqPHipzQU6aUuQ8gdWZZcd2/G6+3PZAFe3C9KoXgXOzC6EQq9AQ5K9 ymig+i+SSOF0uLEz6aqA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSg3b-0007P8-Hp; Mon, 20 May 2019 11:02:15 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSg3Z-0007IU-0e for ath11k@lists.infradead.org; Mon, 20 May 2019 11:02:14 +0000 Received: from p548c87ba.dip0.t-ipconnect.de ([84.140.135.186] helo=bertha.datto.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hSg3V-0003rt-LE; Mon, 20 May 2019 13:02:09 +0200 From: John Crispin To: Johannes Berg , Kalle Valo Subject: [PATCH 0/7] mac80211: HE: add TWT and SPR/OBSSPD support Date: Mon, 20 May 2019 13:01:57 +0200 Message-Id: <20190520110204.27588-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_040213_217502_536F9C45 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for propagating the TWT and OBSS PD information from userland/assocs to a wireless driver. The patches for making use of these features inside ath11k are also included. I already have the hostapd patches ready and will send them once these changes are inside nl80211.h. John Crispin (7): mac80211: dynamically enable the TWT requester support on STA interfaces mac80211: allow turning TWT responder support on and off via netlink ath11k: add TWT support mac80211: HE: add Spatial Reuse IE parsing support mac80211: allow setting spatial reuse parameters when bringing up an AP mac80211: propagate spatial reuse info into ieee80211_sta ath11k: add spatial reuse support drivers/net/wireless/ath/ath11k/mac.c | 22 +++++ drivers/net/wireless/ath/ath11k/wmi.c | 126 ++++++++++++++++++++++++++ drivers/net/wireless/ath/ath11k/wmi.h | 87 ++++++++++++++++++ include/linux/ieee80211.h | 49 ++++++++++ include/net/cfg80211.h | 17 ++++ include/net/mac80211.h | 10 ++ include/uapi/linux/nl80211.h | 31 +++++++ net/mac80211/cfg.c | 7 +- net/mac80211/he.c | 24 +++++ net/mac80211/ieee80211_i.h | 5 + net/mac80211/mlme.c | 19 +++- net/mac80211/util.c | 4 + net/wireless/nl80211.c | 47 ++++++++++ 13 files changed, 445 insertions(+), 3 deletions(-)