From patchwork Tue May 28 11:49:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 10964771 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 5E6B9933 for ; Tue, 28 May 2019 11:50:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E3DF27CEE for ; Tue, 28 May 2019 11:50:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 428DF27FA5; Tue, 28 May 2019 11:50:14 +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 EF7EB2843B for ; Tue, 28 May 2019 11:50:13 +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=Nwhn5uMOU2aSPi1FdD4G0M3BGS5Lg1+zo7RjYAU4DYE=; b=q75WCOBD4qcs5R mksbeBhPOPqlxfqqrYBBzenTjScDhaPYrFYjUfSp0gmPrBg60VAcFFAJuVhT5QJja+WIGk534lPvX lH+FZpji6zZ6xEmpWRlgbVDwEXXdtsdVCZw1p2Yl00MLMxa6NGJPkQqHmyVM6Jvml5Z7RPfVubnWz IReGymna8uB2M6ILCT82UShatXAEHNYQSqg13YbwIZAun0K/0cA7hWtjECMwSMrla0cDWM+bPt8Ng b8eYQTYkbb1Lf6HXILlaym56W+MEHbWp0u8TAbkLzivw9MMYdqYS90O/Bf4ke4ybWm5Ddqb3zJBNW LLEKW8Uq+1H8oIkRErNA==; 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 1hVacO-0004QM-T9; Tue, 28 May 2019 11:50:12 +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 1hVacK-0003rs-L3 for ath11k@lists.infradead.org; Tue, 28 May 2019 11:50:11 +0000 Received: from p5dcfb1b7.dip0.t-ipconnect.de ([93.207.177.183] helo=bertha.datto.lan) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hVacG-0005pk-0k; Tue, 28 May 2019 13:50:04 +0200 From: John Crispin To: Johannes Berg Subject: [PATCH V2 0/6] mac80211: HE: add TWT and SPR/OBSSPD support Date: Tue, 28 May 2019 13:49:46 +0200 Message-Id: <20190528114952.838-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-20190528_045008_877799_CC6934C0 X-CRM114-Status: UNSURE ( 9.38 ) 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. Changes in V2 * always use bss_conf as per request from Johannes John Crispin (6): 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 from bss_conf 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 | 9 ++ include/uapi/linux/nl80211.h | 31 +++++++ net/mac80211/cfg.c | 7 +- net/mac80211/he.c | 24 +++++ net/mac80211/ieee80211_i.h | 4 + net/mac80211/mlme.c | 19 +++- net/mac80211/util.c | 4 + net/wireless/nl80211.c | 47 ++++++++++ 13 files changed, 443 insertions(+), 3 deletions(-)