From patchwork Mon Jul 6 12:50:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 1323605 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=phrozen.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=rrn8G3NY; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B0lnM404Yz9sQt for ; Mon, 6 Jul 2020 22:51:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=DhKWTiLMFlvT+n7MOFJ8n/pYc+GYIdP91Gu54sNkDXM=; b=rrn8G3NY7ucSWzIZWxRI68oApb mjiqQghQSQrReAqhudQGj4Zdvpsmxju/lyc8etpO1StVPC7xYawdSksV4vK3Ywsj2GmomvMX+ouS+ U/UooOfu6qZ9zvkFl9yXOazJfMCu7KHwk/dHUlOoOSPMZUpE3ELI1b40yFjvDCWwpmiz+i51+djol 4rmJmzslQaHjz2Mb80d2vlkIi1CtIa10EQ232lYMrl2AEPas5P00Zn5esxObBJ7UiSFLvD3lwKt67 /0IXzN4bhfNlK+aDOnF0mzVCzDet6ijKe5rAHWLul8Tvp28koVTMMyXKhWNjfUHOnsVGeSj6U30FF 3O+4oJMg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsQa4-00068h-7t; Mon, 06 Jul 2020 12:50:44 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsQZy-00065g-Vu for hostap@lists.infradead.org; Mon, 06 Jul 2020 12:50:40 +0000 Received: from [134.101.131.141] (helo=localhost.localdomain) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1jsQZx-0001fi-BV; Mon, 06 Jul 2020 14:50:37 +0200 From: John Crispin To: hostap@lists.infradead.org Subject: [PATCH V2 0/7] multiple_bssid: add support Date: Mon, 6 Jul 2020 14:50:24 +0200 Message-Id: <20200706125031.668258-1-john@phrozen.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200706_085039_174952_80256269 X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.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: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Crispin Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Changes in V2 * RSN IE was missing * split the new IE over several IEs if it is > 255 bytes John Crispin (7): multiple_bssid: add the config file multiple_bssid: add 2 new helper functions multiple_bssid: add support for non/transmitting mode multiple_bssid: add nl80211 support multiple_bssid: add the new IE multiple_bssid: always use the transmitting BSSs when generating the beacons multiple_bssid: make the AID space shared hostapd/config_file.c | 2 + src/ap/ap_config.h | 2 + src/ap/ap_drv_ops.c | 8 +- src/ap/ap_drv_ops.h | 3 +- src/ap/beacon.c | 18 ++++- src/ap/hostapd.c | 29 ++++++- src/ap/hostapd.h | 2 + src/ap/ieee802_11.c | 109 ++++++++++++++++++++++++++- src/ap/ieee802_11.h | 3 + src/ap/ieee802_11_shared.c | 2 + src/common/defs.h | 7 ++ src/common/ieee802_11_defs.h | 2 + src/drivers/driver.h | 10 ++- src/drivers/driver_nl80211.c | 50 +++++++++--- src/drivers/driver_nl80211.h | 4 +- src/drivers/driver_nl80211_monitor.c | 2 +- wpa_supplicant/driver_i.h | 2 +- 17 files changed, 232 insertions(+), 23 deletions(-)