From patchwork Fri Sep 11 02:45:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aloka Dixit X-Patchwork-Id: 1362201 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=codeaurora.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=QQ8TlBdn; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.a=rsa-sha256 header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=G8nV1KnL; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amazonses.com header.i=@amazonses.com header.a=rsa-sha256 header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=oWuNKpkB; 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 4BngBQ6Vtxz9sTS for ; Fri, 11 Sep 2020 12:46:38 +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=CHLRwKEAaOexrkHoUs2ZQhvlZJAUUOClEA/ALGJOKiU=; b=QQ8TlBdnKl+heXVOxr3Eg00+YU p7OkpRBW0xgo6iM2tt+ccm9FRFZF3Fewpvj0uy/G+spv81Z7qXL6r63uZFbv0N+pOmCFp8Mw8j/2f WAQh9lFhO8pkTeoEF9QK/ee/9+iwuuXyGDuN+DQyki+oh2M1uY569LYEvzzp76XRp2eR9F5Ad89XK 67rSihvbmakvP9J0qTRYTXmbmn8w4VxYQX1H1nqNaYUiQVgXw3DPXzLz9HaFHLo+Yjf0BGhuxwJmr h6n9wyPB+BUlaET1/DBM5BclfdGhl0AaMAJR4VI85O7wl+xDjWQPwuMO/g5mHkPH5c7AZG4xiNdmz FPJfEQMw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGZ4S-00086i-Ii; Fri, 11 Sep 2020 02:45:52 +0000 Received: from a27-10.smtp-out.us-west-2.amazonses.com ([54.240.27.10]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGZ4P-00084x-P5 for hostap@lists.infradead.org; Fri, 11 Sep 2020 02:45:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599792345; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=kgV7ObY8K7wvZ15U6gs/JBxGPa9LAPNFsh+qOa7YKgo=; b=G8nV1KnLkqxBAWAmF3c2xH9oaoqT+ohzC0euxqey8G0BEqstnJejVNk4GDHf8Q7t 0hSTV+vvkECBGKds4VfaB7iinpwgngxTmnLnp+figYnacQ4JH2aMCKSO0I6tc4Hmt34 GK718qxob99GsjXfAVsy4vPoYHbjQp0ff2wJX1uQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599792345; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=kgV7ObY8K7wvZ15U6gs/JBxGPa9LAPNFsh+qOa7YKgo=; b=oWuNKpkBhyabVf7XnLVn1ESC+xf5a1NeIREH02A+uI5awg+agKcT3H1lhNW45tFf 8XQwQ6wS5YGgoastGC7VrWjnRaZtnET1YQa/aF2lOgbGMbZXTc/Zp6B3BZ4BwH14VIn uMG0+7fAw3lP/utP/OllEwsug2Nz0R/8R3H2G0QQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED, BAYES_00, SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8333BC433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=alokad@codeaurora.org From: Aloka Dixit To: j@w1.fi Subject: [PATCH v2 0/2] Unsolicited broadcast probe resp support Date: Fri, 11 Sep 2020 02:45:45 +0000 Message-ID: <010101747b0df18e-e2d2d07f-8de3-4e39-b555-e4e836ee38e6-000000@us-west-2.amazonses.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-SES-Outgoing: 2020.09.11-54.240.27.10 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_224549_881197_3E96B343 X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [54.240.27.10 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [54.240.27.10 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: hostap@lists.infradead.org, Aloka Dixit Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patch adds support for unsolicited broadcast probe response transmission, used for in-band discovery in 6GHz, as mentioned in IEEE P802.11ax/D6.0 26.17.2.3.2, AP behavior for fast passive scanning. v2: New extended feature flag. Minor cleanup. Aloka Dixit (2): AP: Unsolicited broadcast probe resp support nl80211: Unsolicited bcast probe resp support hostapd/config_file.c | 4 +++ hostapd/hostapd.conf | 6 ++++ src/ap/ap_config.h | 2 ++ src/ap/beacon.c | 21 +++++++++++++ src/drivers/driver.h | 15 +++++++++ src/drivers/driver_nl80211.c | 51 +++++++++++++++++++++++++++++++ src/drivers/driver_nl80211.h | 1 + src/drivers/driver_nl80211_capa.c | 5 +++ 8 files changed, 105 insertions(+)