| Message ID | 20261016190823.2617767-10-me@andrei-z.com |
|---|---|
| State | New |
| 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=TGYvrCtw;
dkim=fail reason="signature verification failed" (2048-bit key;
secure) header.d=andrei-z.com header.i=@andrei-z.com header.a=rsa-sha256
header.s=sig1 header.b=I2ESkwmC;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) 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 4j5vrv58MJz1xy1
for <incoming@patchwork.ozlabs.org>; Sat, 17 Oct 2026 06:19:43 +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:To:From:Reply-To:Cc:Content-ID:Content-Description:
Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
List-Owner; bh=c55P0eUnktnei+NCOnfdA4reFpTUWaTBPtaClqzZ7NE=; b=TGYvrCtw5diaHp
eoT5eJp25APnGXoJgnS2qs5QIBDO5DSA4yqwARljVJdk7IZQ9tbapIuBFEEQYPrCQz+SR02DWVm8B
HP/jO9RMyo9rgeGn2rPwhIVcdxDIeCeonLM+D1uGfhr2mSWg4Bi5jmxZHyJt6wMZESVmLeqkDP3kL
y7jbRt3XqE2L52m0rvgaRAH3wl3X8s3ne4lamjRptbGoBXRfUumJBiuiQknQpoDVJbLpoUZjCVZUb
b53PeMScatVwGqGmiI7If9LrpLnlONJlzQXdEEZdOK5ib4lIWq+yUeiu9MtgNi1pqyV1Zr8Li/hxM
MDwEwyq8fQLNCQcNpJGw==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))
id 1xHnRd-00000003rTh-1MDS;
Fri, 16 Oct 2026 19:18:21 +0000
Received: from vtj.irix.systems ([82.76.27.144])
by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))
id 1xHnRb-00000003rSq-0igO
for hostap@lists.infradead.org;
Fri, 16 Oct 2026 19:18:20 +0000
Received: from MAILGW-DELL.dell.vtj.corp.irix.systems (localhost [127.0.0.1])
by vtj.irix.systems (Proxmox) with ESMTP id 4C7A929DCA
for <hostap@lists.infradead.org>; Fri, 16 Oct 2026 22:18:17 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrei-z.com; h=
cc:content-transfer-encoding:content-type:content-type:date:from
:from:in-reply-to:message-id:mime-version:references:reply-to
:subject:subject:to:to; s=sig1; bh=4ZMYrktWJd+7fWPJ3fl2NuWPVmXVX
H7cjV8bu3+3Nmc=; b=I2ESkwmCYg7rE0ZJh24n6SV6a9o/u/usz0T6lfd8G6Hn+
lqhv6SYmWReRuPRIT7o2vAlJjLj/PlsthHfdCIRW33j207zfrfqTqfNQwDzwJRiA
bq7LEfpATVQlTfnd9ulznoqaSV3NlxbS5fgOXqmB/zEZuWHywZo1vAHDRDDhWh4N
XpZoUaKcL1imAvFejTCVenBfv72jm1GdFXxAKgcX5k6jOH/5KL09qsPe31RN5LTI
Nd2Z450XO/5kxqSjh3YrsbxTXsvz2nOsJPUKVklOwwx0SgFNGqjLi3v71Ana0dCs
vAU7j0FkHde1N2utJccJcPUdy8D1f6cm43itWdfNA==
Received: from VTJ-MX.corp.irix.systems (unknown [10.57.36.6])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by vtj.irix.systems (Proxmox) with ESMTPS id 7452329E46
for <hostap@lists.infradead.org>; Fri, 16 Oct 2026 22:18:16 +0300 (EEST)
Received: from workspace.corp.irix.systems (2a02:2f04:1:9c23::c) by
VTJ-MX.corp.irix.systems (2a02:2f04:1:9c24::6) with Microsoft SMTP Server
(version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.2.2562.49; Fri, 16 Oct 2026 22:18:16 +0300
From: Andrei-Alexandru Bleortu <me@andrei-z.com>
To: <hostap@lists.infradead.org>
Subject: [PATCH v2 09/15] Accept FILS Request Parameters elements with only
the mandatory fields
Date: Fri, 16 Oct 2026 22:08:17 +0300
Message-ID: <20261016190823.2617767-10-me@andrei-z.com>
X-Mailer: git-send-email 2.47.3
In-Reply-To: <20261016190823.2617767-1-me@andrei-z.com>
References: <20261016190823.2617767-1-me@andrei-z.com>
MIME-Version: 1.0
X-Originating-IP: [2a02:2f04:1:9c23::c]
X-ClientProxiedBy: VTJ-MX.corp.irix.systems (2a02:2f04:1:9c24::6) To
VTJ-MX.corp.irix.systems (2a02:2f04:1:9c24::6)
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20261016_121819_384544_F18E0105
X-CRM114-Status: GOOD ( 12.39 )
X-Spam-Score: -2.1 (--)
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: The FILS Request Parameters element has two mandatory
fields
after the Element ID Extension, Parameter Control Bitmap and Max Channel
Time (IEEE Std 802.11-2024, 9.4.2.176), but the parser required th [...]
Content analysis details: (-2.1 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_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
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
-0.0 DMARC_PASS DMARC pass policy
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 |
AP: WNM/MBO, OCE AP, ESP and RRM additions and fixes
|
expand
|
diff --git a/src/common/ieee802_11_common.c b/src/common/ieee802_11_common.c index 0a1e9a67b..c8e1067e9 100644 --- a/src/common/ieee802_11_common.c +++ b/src/common/ieee802_11_common.c @@ -323,7 +323,8 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen, elems->assoc_delay_info = pos; break; case WLAN_EID_EXT_FILS_REQ_PARAMS: - if (elen < 3) + /* Parameter Control Bitmap and Max Channel Time fields */ + if (elen < 2) break; elems->fils_req_params = pos; elems->fils_req_params_len = elen;
The FILS Request Parameters element has two mandatory fields after the Element ID Extension, Parameter Control Bitmap and Max Channel Time (IEEE Std 802.11-2024, 9.4.2.176), but the parser required three octets, so it dropped the element as wpa_supplicant and other STAs send it when no optional field is present. Assisted-by: LLM Signed-off-by: Andrei-Alexandru Bleortu <me@andrei-z.com> --- src/common/ieee802_11_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)