Message ID | 20240429115157.211073-1-benjamin@sipsolutions.net |
---|---|
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=Elphgd5m; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=sipsolutions.net header.i=@sipsolutions.net header.a=rsa-sha256 header.s=mail header.b=o/1PfNA7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VShXW2Qm2z23tb for <incoming@patchwork.ozlabs.org>; Mon, 29 Apr 2024 21:52:43 +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=3phUmRMwLq7q16VqPqmnN8DcQE11UWrwz2mJj3LuTJc=; b=Elphgd5m5MDFRu ACgv+EmyS0yvXyakJrpt/Mx7X2zbq4GcrvzmyEMlR1fqvnWuNP0jzZfOo28Dh6fytUsXcTpEwrqyO 3JuagqtUo6NHSTs+ME4ukEyvaWyLp7s04DJ4o+MnTeSQTDlZ8bWf+DRSy0bwE3ykLuDeJOWCEpda6 tPdl0hy0omlNccfHwGjrBokqoDuzPzk81saGrc0IpPLGSGz7hrfiHKZXDY+Kf0aXVP1GdB87p+2pj OMkuxmynk9kg39hio+GxWkHt6f5qFpn1AvaPlXUWhXQjAEu1m+RoIsyST2Hy27M1aTRB6IC//dDno Lt+LzNgf+NIwgp2FcBPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1PYS-00000002XDY-0M0W; Mon, 29 Apr 2024 11:52:20 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1PYJ-00000002X7k-0RPE for hostap@lists.infradead.org; Mon, 29 Apr 2024 11:52:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=dEobANIJg34uPdeSELN9LEebnwTaU+XpMnc9/N+JQsw=; t=1714391527; x=1715601127; b=o/1PfNA7t94/gDyRsWXop2CtFLBMW+XDkD9xBHmNuOxrs1cXBlMr4rG9xIhZ6wKVDeKPile4gB2 q7lzaeJ0FXcFjGUqTn3Bf/Q33sgcUeFKvuPzVdsk3hLazE7ItvbsLuJ50IGCx4aZIp7kTL9s8dkui X8H6WGsesS6K/+ezKm/BjmvGo28b8bz3bysqe9py1mXIsruJ29cyuYLVI7ieXu/9+zYu3aCjuqXeW mQvtQcAZZatGGX4FAkVIGk+enVvX81bWQ0MluCDlT5N95snRmh8lR7O+gr+/XJAJqTXEhLMP5jTMa RbHsHIUZ9xoOPuNrk2DwVRUt4y3N001lgffQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from <benjamin@sipsolutions.net>) id 1s1PYB-0000000CNIg-0bFo; Mon, 29 Apr 2024 13:52:03 +0200 From: benjamin@sipsolutions.net To: hostap@lists.infradead.org Cc: Benjamin Berg <benjamin@sipsolutions.net> Subject: [PATCH 00/16] BTM refactorings and abridged bit handling Date: Mon, 29 Apr 2024 13:51:41 +0200 Message-ID: <20240429115157.211073-1-benjamin@sipsolutions.net> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_045211_398915_4BF3881B X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: -0.2 (/) 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: From: Benjamin Berg <benjamin@sipsolutions.net> This patchset refactors the BSS selection when handling BTM requests to use the normal selection mechanism. This is done by moving all checks into wnm_is_bss_excluded. The advantage of this is that th [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
BTM refactorings and abridged bit handling
|
expand
|
From: Benjamin Berg <benjamin@sipsolutions.net> This patchset refactors the BSS selection when handling BTM requests to use the normal selection mechanism. This is done by moving all checks into wnm_is_bss_excluded. The advantage of this is that the code is simpler overall and that the tests in wnm_is_bss_excluded are also used when doing link selection during MLO. As part of this, the behaviour of the BTM handling code is updated somewhat to handle the abridged bit and also parse the candidate list even if it is not mandatory to do so. Avraham Stern (1): MBO: Always accept BTM request with disassociation imminent bit set Benjamin Berg (15): WNM: Only trigger selection logic for own scans WNM: Store whether disassociation address is an MLD Address WNM: Use os_relatime_add_ms helper WNM: Split candidate list parsing into a separate function WNM: Remove unused age parameter for neighbor comparison WNM: Swap logic in wnm_is_bss_excluded to allow more checks WNM: Move neighbor report test into wnm_is_bss_excluded WNM: Move driver MBO transition rejection into wnm_is_bss_excluded tests: Set the abridged bit in BTM tests WNM: Use standard BSS selection and enable abridged bit handling WNM: Reject requests with an invalid dialog token WNM: Consolidate the scanning paths for BTM requests WNM: Always parse candidate list tests: Add a WNM tests to check candidate list is used if not required WNM: Scan for BSSID if there are forbidden neighbors tests/hwsim/test_ap_hs20.py | 1 + tests/hwsim/test_hapd_ctrl.py | 1 + tests/hwsim/test_wnm.py | 91 +++-- wpa_supplicant/events.c | 8 +- wpa_supplicant/wnm_sta.c | 600 ++++++++++++++---------------- wpa_supplicant/wnm_sta.h | 2 +- wpa_supplicant/wpa_supplicant_i.h | 9 +- 7 files changed, 349 insertions(+), 363 deletions(-)