From patchwork Tue Jul 30 16:36:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 11066177 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 AD7E414DB for ; Tue, 30 Jul 2019 16:37:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DD2A232A7 for ; Tue, 30 Jul 2019 16:37:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 914FD2878F; Tue, 30 Jul 2019 16:37: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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 230C5232A7 for ; Tue, 30 Jul 2019 16:37:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730494AbfG3QhP (ORCPT ); Tue, 30 Jul 2019 12:37:15 -0400 Received: from nbd.name ([46.4.11.11]:51038 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730381AbfG3QhO (ORCPT ); Tue, 30 Jul 2019 12:37:14 -0400 Received: from pd95fd7d7.dip0.t-ipconnect.de ([217.95.215.215] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hsV7e-0002JK-Qq; Tue, 30 Jul 2019 18:37:10 +0200 From: John Crispin To: Johannes Berg Cc: linux-wireless@vger.kernel.org, John Crispin Subject: [PATCH V3 0/2] mac80211: allow setting up OBSS PD Date: Tue, 30 Jul 2019 18:36:59 +0200 Message-Id: <20190730163701.18836-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Store the OBSS PD parameters inside bss_conf when bringing up an AP and/or when a station connects to an AP. This allows the driver to configure the HW accordingly. Changes in V3 * split cfg80211 and mac80211 part into 2 patches Changes in V2 * fix symbol prefixes * fix nl policy John Crispin (2): cfg80211: add support for parsing OBBS_PD attributes mac80211: allow setting spatial reuse parameters from bss_conf include/net/cfg80211.h | 15 ++++++++++++ include/net/mac80211.h | 4 ++++ include/uapi/linux/nl80211.h | 27 ++++++++++++++++++++++ net/mac80211/cfg.c | 5 +++- net/mac80211/he.c | 24 +++++++++++++++++++ net/mac80211/ieee80211_i.h | 3 +++ net/mac80211/mlme.c | 1 + net/wireless/nl80211.c | 45 ++++++++++++++++++++++++++++++++++++ 8 files changed, 123 insertions(+), 1 deletion(-)