From patchwork Thu Jun 4 07:09:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 11587015 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 03955913 for ; Thu, 4 Jun 2020 07:10:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A70C4206DC for ; Thu, 4 Jun 2020 07:10:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EqmHsKsb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A70C4206DC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org 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=CCSvNzDx7kr78flqMSBAk9ov796CkraWVxowxkhVSJY=; b=EqmHsKsb8LnvZ7 qsJv/rLvrv0aQL9jQlO8aT5jkD9CqP/oCJrrCF506/bBc6JbANauv3ygtpBnmWHp7kwvtJQ1ifP/t Xpio8zzINiLQeDpKYaUo/rZS13o1pgykupOqTiS8TdH4400rJcrwQTBo5G3hcTRQK2+6y3g/HwJhW d2G0AXnkgrrZIzzp4O+LJfuGJjUShPMqXVGhUJHmyVeNGj68FDVTrpDIKEvx+VpS11rGvSLn3+lgX Ylq5DhxyV31kmia+tVY8aVDMm2qXHxisBrJsWgXx7gb96jh98dbmMb+r+LhUwwVBkf+EfV79htk9x sIfmLprx/sqmGgZdataw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgk0r-0000LA-K1; Thu, 04 Jun 2020 07:10:05 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgk0o-0000GH-Fo for ath11k@lists.infradead.org; Thu, 04 Jun 2020 07:10:04 +0000 Received: from [46.59.202.224] (helo=localhost.localdomain) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1jgk0k-0001P3-88; Thu, 04 Jun 2020 09:09:58 +0200 From: John Crispin To: Johannes Berg Subject: [PATCH 00/12] mac80211: add multiple bssid support Date: Thu, 4 Jun 2020 09:09:40 +0200 Message-Id: <20200604070952.15481-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-20200604_001002_713579_C3607A87 X-CRM114-Status: UNSURE ( 7.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 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 Multiple bssid allows us to share a single beacon amongst several VAPs. This essentially safes airtime. This feature is achieved by adding an additional IE to the transmitting VAPs beacon. This new IE contains the additional SSIDs and their non-inheritance information. This series is still missing handling for TIM, which will be sent in a follow-up series. John Crispin (12): nl80211: add basic multiple bssid support nl80211: add attributes for multiple bssid related settings nl80211: add attributes to set beacon transmit mode mac80211: add multiple bssid support mac80211: add multiple bssid IE parsing mac80211: propagate multi bssid settings when starting an AP mac80211: propagate beacon tx mode to the driver ath11k: pass multiple bssid info to FW when a new vdev is created ath11k: add a struct to pass parameters into ath11k_wmi_vdev_up ath11k: add the multiple bssid IE offset to the beacon template ath11k: set beacon tx mode ath11k: set the multiple bssid hw cap drivers/net/wireless/ath/ath11k/mac.c | 72 ++++++++++++++++++++++++--- drivers/net/wireless/ath/ath11k/wmi.c | 20 +++++--- drivers/net/wireless/ath/ath11k/wmi.h | 22 +++++++- include/net/cfg80211.h | 23 +++++++++ include/net/mac80211.h | 29 +++++++++++ include/uapi/linux/nl80211.h | 49 ++++++++++++++++++ net/mac80211/cfg.c | 64 ++++++++++++++++++++++++ net/mac80211/ieee80211_i.h | 2 + net/mac80211/iface.c | 16 ++++++ net/mac80211/tx.c | 10 ++++ net/mac80211/util.c | 31 ++++++++++++ net/wireless/nl80211.c | 36 ++++++++++++++ 12 files changed, 358 insertions(+), 16 deletions(-)