From patchwork Wed May 11 20:49:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aloka Dixit X-Patchwork-Id: 1629750 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=wr33u0d+; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.a=rsa-sha256 header.s=qcdkim header.b=xFWENQAz; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kz6WH0PQ9z9sFs for ; Thu, 12 May 2022 06:50:51 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=4kE/VjsitgUs5IJGKHxC9lpIPukXgfGjgbUftdF3tIU=; b=wr33u0d++exAWf E13bCsbbSL0h/8SUKvvq9owTHeNl2ja2MHf2MhaK5F3SYwGR2RjdXjWTMEqMyGrKau0qfqtz7aIfK VszrPyihzLZmHj4zr9gIILNwehhctYY7WVTcnHH3RfzJq5Fq7hpgiMSroUR8lJJlhyicXguZLrSEa slZb3B7LjFFlDVQ9Scehy+/4SjBNZzV4ThObfsVy1rtWM34fz4CxFDc4C0Fa1bpXS/684GhY50FUT VJFHcZ/oC5wht4lMkQpx1d65aWJ7e/EbHia3xURSfgqB3q3hESGfQ+/PqQ5vLSEV0zCOufxI3rdxQ 3FADgYr2EEiy9cajmJ1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1notHI-008ZaA-Up; Wed, 11 May 2022 20:49:49 +0000 Received: from alexa-out.qualcomm.com ([129.46.98.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1notHF-008ZVm-AI for hostap@lists.infradead.org; Wed, 11 May 2022 20:49:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652302185; x=1683838185; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SCppbQYm2pIEDxXqLC058PS45CftXOEzgVBp/Z/fb3M=; b=xFWENQAz4kPryhSlppE9C2Mb25afyGAp4dm36Koy7mWs6Gh7cKrao1ta EhP9XLELvEJcWLdBmkT9Wq4czViM1beG+NaLzhoTX+s1cKTTqNyXuUQ0H qUzsz9kPFt073f7F1P+s+ED0KN7avXC1gYXBVKsS5tXu31Wp6OPpyoETg I=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 11 May 2022 13:49:43 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 13:49:43 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 11 May 2022 13:49:42 -0700 Received: from alokad-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 11 May 2022 13:49:42 -0700 From: Aloka Dixit To: , CC: Aloka Dixit Subject: [PATCH v2 00/11] hostapd: MBSSID and EMA support Date: Wed, 11 May 2022 13:49:20 -0700 Message-ID: <20220511204931.25069-1-quic_alokad@quicinc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220511_134945_429042_2565FB60 X-CRM114-Status: UNSURE ( 7.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This patchset adds support for multiple BSSID and enhanced multi-bssid advertisements (EMA AP). Aloka Dixit (4): mbssid: retrieve driver capabilities mbssid: configure all BSSes before beacon setup mbssid: add MBSSID configuration element mbssid: process known BSSID element Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [129.46.98.28 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patchset adds support for multiple BSSID and enhanced multi-bssid advertisements (EMA AP). Aloka Dixit (4): mbssid: retrieve driver capabilities mbssid: configure all BSSes before beacon setup mbssid: add MBSSID configuration element mbssid: process known BSSID element John Crispin (7): mbssid: add new configuration option mbssid: add multiple BSSID elements mbssid: add non-inheritance element mbssid: configure parameters and element data mbssid: set extended capabilities mbssid: make the AID space shared mbssid: add nl80211 support hostapd/config_file.c | 9 + hostapd/hostapd.conf | 58 +++++++ hostapd/main.c | 3 + src/ap/ap_config.c | 6 + src/ap/ap_config.h | 5 + src/ap/beacon.c | 128 +++++++++++++- src/ap/hostapd.c | 72 +++++++- src/ap/hostapd.h | 7 + src/ap/ieee802_11.c | 276 +++++++++++++++++++++++++++++- src/ap/ieee802_11.h | 7 +- src/ap/ieee802_11_shared.c | 14 ++ src/common/ieee802_11_common.c | 4 + src/common/ieee802_11_common.h | 2 + src/common/ieee802_11_defs.h | 5 + src/drivers/driver.h | 41 +++++ src/drivers/driver_nl80211.c | 52 ++++++ src/drivers/driver_nl80211_capa.c | 27 +++ 17 files changed, 697 insertions(+), 19 deletions(-) base-commit: b859b9bceadccd882252ff0aa2fdba0d3b91764e