| Message ID | 20241107112313.507-7-n.rottgardt@gmail.com |
|---|---|
| State | Changes Requested |
| Delegated to: | Petr Štetiar |
| Headers | show
Return-Path:
<openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.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=IktzbofM;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org
(client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;
envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.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 4Xkfv964Dsz1xyW
for <incoming@patchwork.ozlabs.org>; Thu, 7 Nov 2024 22:27:49 +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=nVNLQpILCuazXJz2zN9MmlTEUU9XkOXMZHSGmPBTsO8=; b=IktzbofMhWeu38
sE50JCQrIE6IefjXvmf2osws2oNG1S3u5Uf25lQxRveCnLupVh7jS1TOJIb7A47aTBnZVZshNQmmW
uW1ooO7XeuUXis4OwQsWPnzcpijNgO4JmtRHKclOZg3tQCfzaVVLjU9Nlp8EIEJE4ouUD9fikAy1a
VmJ/BtKW+/kZSv+fC8EGI8WUQw4L90zqMf9X7dmyGp4Ygpzu6vIIwD2EZlaXy0ov2CCW4eA6T1snx
hsTZV+b+S2b9EVr3pz+UPXzQmADqENWPaNUTLuXEu01fA9kpzOQvRaltlg2AcJxnkiAl5k7jt7N/S
/a/EKRYozMS2UtRVVoyA==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux))
id 1t90eT-00000006h5p-0VG4;
Thu, 07 Nov 2024 11:26:13 +0000
Received: from mail-smtp-out-01-pmx.wtnet.de ([84.46.103.117])
by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux))
id 1t90eF-00000006gzd-19p4
for openwrt-devel@lists.openwrt.org;
Thu, 07 Nov 2024 11:26:02 +0000
Received: from mail-cust-in-02-pmx.wtnet.de (mail-cust-in-02-pmx.wtnet.de
[84.46.103.102])
by mail-smtp-out-01-pmx.wtnet.de (8.15.2/8.15.2/Debian-15~mysql) with ESMTP
id 4A7BPfNa026006;
Thu, 7 Nov 2024 12:25:41 +0100
X-WT-Originating-IP: 149.233.242.136
X-WT-Authenticated-As: ellerau@wtnet.de
Received: from viserver1.ham.lan
(149.233.242.136.dynamic-pppoe.dt.ipv4.wtnet.de [149.233.242.136])
(authenticated bits=0)
by mail-cust-in-02-pmx.wtnet.de (8.15.2/8.15.2/Debian-15~mysql) with ESMTPA
id 4A7BPfBa010519;
Thu, 7 Nov 2024 12:25:41 +0100
Received: from Dell-7706.ham.lan (Dell-7706.ham.lan [192.168.178.135])
by viserver1.ham.lan (Postfix) with ESMTP id 79DC361DA0;
Thu, 7 Nov 2024 12:25:41 +0100 (CET)
From: Nils Hendrik Rottgardt <n.rottgardt@gmail.com>
To: openwrt-devel@lists.openwrt.org
Cc: Nils Hendrik Rottgardt <n.rottgardt@gmail.com>, mail@david-bauer.net
Subject: [PATCH usteer v3 6/9] policy: Added error message if nodes has no rrm
number on bss transition
Date: Thu, 7 Nov 2024 12:23:10 +0100
Message-Id: <20241107112313.507-7-n.rottgardt@gmail.com>
X-Mailer: git-send-email 2.39.5
In-Reply-To: <20241107112313.507-1-n.rottgardt@gmail.com>
References: <20241107112313.507-1-n.rottgardt@gmail.com>
MIME-Version: 1.0
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20241107_032559_763906_C1B0CC04
X-CRM114-Status: UNSURE ( 7.72 )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.4 (/)
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: - policy: Sometimes hostapd does not return an rrm nr which
breaks roaming with neighbors. This is shown as an error in the log.
Signed-off-by:
Nils Hendrik Rottgardt --- policy.c | 3 +++ 1 file changed,
3 insertions(+)
Content analysis details: (-0.4 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[84.46.103.117 listed in
sa-trusted.bondedsender.org]
0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to
Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[84.46.103.117 listed in sa-accredit.habeas.com]
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low
trust
[84.46.103.117 listed in list.dnswl.org]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to
Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[84.46.103.117 listed in
bl.score.senderscore.com]
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
domains are different
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider
[n.rottgardt(at)gmail.com]
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom
freemail headers are different
0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list
X-BeenThere: openwrt-devel@lists.openwrt.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org>
List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>,
<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>
List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/>
List-Post: <mailto:openwrt-devel@lists.openwrt.org>
List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help>
List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>,
<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org>
Errors-To:
openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org
|
| Series |
Better handling of unfriendly STAs / IEEE enhancements / MBO
|
expand
|
diff --git a/policy.c b/policy.c index f3150e9..933c529 100644 --- a/policy.c +++ b/policy.c @@ -373,6 +373,9 @@ usteer_roam_trigger_sm(struct usteer_local_node *ln, struct sta_info *si) break; } + if (!candidate->node->rrm_nr) + MSG(FATAL, "Candiates node rrm nr not returned from hostapd. Neighbor list empty!"); + si->roam_transition_request_validity_end = current_time + 10000; validity_period = 10000 / usteer_local_node_get_beacon_interval(ln); /* ~ 10 seconds */ if (si->sta->aggressive) {
- policy: Sometimes hostapd does not return an rrm nr which breaks roaming with neighbors. This is shown as an error in the log. Signed-off-by: Nils Hendrik Rottgardt <n.rottgardt@gmail.com> --- policy.c | 3 +++ 1 file changed, 3 insertions(+)