Message ID | 20240220131827.17766-16-benjamin@sipsolutions.net |
---|---|
State | Accepted |
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=0KHYrRwE; 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/PLxl//; 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 4TfKm02xlhz20Qg for <incoming@patchwork.ozlabs.org>; Wed, 21 Feb 2024 00:20:48 +1100 (AEDT) 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:References:In-Reply-To: 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: List-Owner; bh=BHgdY9mrvcgxSSUZw1TvrKykt9/jKv+Iph5F2cPJtdQ=; b=0KHYrRwEJkevqr C0c8O2o2HKvkool4gsp7Uxmw4CxLCFBO83k/c1qP9yW3KP/3zVH0Jbj1r8dAIT8bje9s/r0yrYfIL VqQ71j+rRII2a3KMDQq7aXSj+ltz2ixrhLJzm1yLuKYHKBCb36VLXThwYc0kzn1jCEukQY4c0qNBw /SOMSzOAvym9AO10uD6NBSf4A4SQA3ew31enzBJrkhKjxM3dwQIji1qYpWKYNekhBKjNZfhHvmxWM dtq48IQWgSkbkHgX8T9bVqsrhL3Oxi8oqut/tCl21DoHc2/8HU0BkjvVfLxxJHX7EIyXTGQX0n6D4 p/PYabcwXYpyq3KMWacQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcQ2u-0000000EqA9-0xqc; Tue, 20 Feb 2024 13:20:28 +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 1rcQ1e-0000000Ep6A-1lVv for hostap@lists.infradead.org; Tue, 20 Feb 2024 13:19: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: References:In-Reply-To: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; bh=t45xQ8FhK5THcPfbfUZIxkmWFY0nFxk+mkzb5KnWhSk=; t=1708435150; x=1709644750; b=o/PLxl//WQV7Fn8JZvtoJbiZp3TiSZO5mWvIy7s/KWiFYiN zn+BHfB8LUxA4nkFxBIU+eGLY+eF5FKnpLiz9Of10YSjyskL9wbxT/U+0brdTTOt8Py4xMCpWldlc xzkvA6rKhPoYlrdNa23on9bAOLFAX+YRCOZ/jLOOmQahTsifu0YRuXfBXA2Bg8y54JmUjd+K5vZ6a IvlvadjKXkhC3LezK10NfmPWUGqFMtZIkf/zpUTJ7wKv8ACwd9IRRrnXB+e68fvqo3N6JLf80B+R5 +tRp4zehtRPi8zLUXkYMUI0GROLO8LPGH1MF2sC2kGIbUv6hiWYrS8R6EHEN/ECQ==; 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 1rcQ1b-00000000ugq-3PP6; Tue, 20 Feb 2024 14:19:08 +0100 From: benjamin@sipsolutions.net To: hostap@lists.infradead.org Cc: Benjamin Berg <benjamin.berg@intel.com> Subject: [PATCH v2 15/20] WNM: Drop explicit wpa_is_bss_tmp_disallowed check Date: Tue, 20 Feb 2024 14:18:22 +0100 Message-ID: <20240220131827.17766-16-benjamin@sipsolutions.net> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240220131827.17766-1-benjamin@sipsolutions.net> References: <20240220131827.17766-1-benjamin@sipsolutions.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_051910_604623_52B98CE0 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. 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.berg@intel.com> There is no need for this check as wpa_scan_res_match already calls the function. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> --- wpa_supplicant/wnm_sta.c | 8 -------- 1 file changed, 8 deletions(-) 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_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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 T_SCC_BODY_TEXT_LINE No description available. 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 |
Various mostly WNM related fixes and cleanups
|
expand
|
diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c index 2ba78377a..1d567029a 100644 --- a/wpa_supplicant/wnm_sta.c +++ b/wpa_supplicant/wnm_sta.c @@ -795,14 +795,6 @@ compare_scan_neighbor_results(struct wpa_supplicant *wpa_s, os_time_t age_secs, continue; } - if (wpa_is_bss_tmp_disallowed(wpa_s, target)) { - wpa_printf(MSG_DEBUG, - "MBO: Candidate BSS " MACSTR - " retry delay is not over yet", - MAC2STR(nei->bssid)); - continue; - } - if (target->level < bss->level && target->level < -80) { wpa_printf(MSG_DEBUG, "Candidate BSS " MACSTR " (pref %d) does not have sufficient signal level (%d)",