| Message ID | 20260827141625.1190983-3-iegor@nova-labs.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=xSZ0r3SG;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=nova-labs.com header.i=@nova-labs.com
header.a=rsa-sha256 header.s=google header.b=YldjGu91;
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 4hW3XT1bVdz1xtN
for <incoming@patchwork.ozlabs.org>; Fri, 28 Aug 2026 00:18:33 +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: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=CqqxbZOrVRbA8bwQJ57Zwanu178mIFrT91akSQISuEQ=; b=xSZ0r3SGYnAXwU
ws1N1r0kfDM3FZiZ4J9vuS1hcXt70+/8p0NT5dgUwS8cZl2pN0u/qTky9xsR56YUazdL0QW7Ndz14
E6/LQkQVG/yQAVIkdiX4z5WCW+6GWUmVEItLgxYpnzjcgwZn9kcZtCn7+zCF3iDxpV1Q5jKr3R/NB
P68Qq9AfWV2Wiu5yAuhnQqOtKigY0QpnGKsyhEvIu623wtfr8zBKlIv4er3oifOnDMPTrIntE0IrM
+9lxRVXOhfZmpQ5kicWbhormnERCDvKFpoqs3XWrGXuxMdUrjcQ7vCznGwXdfHrKSpDra7rt5hQsq
76z8TBsXcJytrpIvUMZw==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))
id 1wzau9-000000048c8-1V3s;
Thu, 27 Aug 2026 14:16:33 +0000
Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e])
by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))
id 1wzau6-000000048Zv-1bom
for hostap@lists.infradead.org;
Thu, 27 Aug 2026 14:16:31 +0000
Received: by mail-ej1-x62e.google.com with SMTP id
a640c23a62f3a-c247f6687dcso121042366b.2
for <hostap@lists.infradead.org>;
Thu, 27 Aug 2026 07:16:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=nova-labs.com; s=google; t=1787840188; x=1788444988;
darn=lists.infradead.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:from:to:cc:subject:date:message-id
:reply-to:content-type;
bh=LEed1Z4gibByqYl/206Vd0RR1IHPnHU5csiKSjlsMhA=;
b=YldjGu91YwgZASuACaQA0lTjE4JdbiDO59YU7nfma9XnBawOgVWABTB/AOGZmFDZJv
nG77NLmzTUMsRBsfetgupZueBCyxLYLOMLNSl+BCzh6TeFjM5NwrlS7UUGdMWxDcm2HU
BscWkmP33mz0u9APLVjj+QANR8nJbXQOH/V3pbXTESWQLvQEyBAKTDiS51iniU15ntBD
Zh3qxdUZbRH1y18syiA9Jc9LvRpo2oY9iZYY69pRjgke1jC6WmQaMenHt8fil4xMP6SN
pTfYJ+4qiqvjFQI4UwyHVPc+tCEA0h6AcEIZmP3MUvqoEa6V19ORFhQQTDdbU4hSJpEq
5lJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1787840188; x=1788444988;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to:content-type;
bh=LEed1Z4gibByqYl/206Vd0RR1IHPnHU5csiKSjlsMhA=;
b=rG6PHXA6W0bMcG/l7thUpf836V0ajiiQ5SBWPX5jPua6XEehh3GuOCb/W30fgq9ADh
3N8hTxE0cEA8+5kXJeSJ7E6JD11psdIPy8kjt4wQfAOI0OXlImABtTAOYhmLojqbxSlQ
wVVcT9gBJEbAXqGCQ2pzyw7kRFox2sR2aPgptOtqB8UG9qnpOhyXpZtZidcF3hEwUvi+
5Qo5JR45NRl63OKAkf7O/VvCIPfjpslgNgbqMqOlzzFgT/JoT5NjlZXUlADeUbEu9kHy
c+m/ptRON4W8LvrQUSda3ZErqBvj8LsJKOfZ38xsnlPR024xXm/UHUSP7Kxevs6dXizm
mU1Q==
X-Gm-Message-State: AFuF++mFisTos9hJbnpxsYlZvvqWKJ+S8udvZl+Rj0LOi5DtZxQ8E0XN
oWpvmf5U0jkPx4MzkqE+Omrl40XZhVmmhPKQbtvTRgsdmdEuWxzPjpFRrrUe1wWTQY5/KMbk++E
t7DDWNlIDmQ==
X-Gm-Gg: AR+sD12O5fZ32wuzTy4yPlkAYAxyYEYigk/ERC5cg1yWOWslNo1XXaRvyQqlTh9wku7
bX/oPpRs8UR4jGJQa6PN2+N2Uo5RCK733S+dzaPgLSe+kiSATJJInGO9j1HB1BflGEErmXzTgKi
fbI/oQIItgmW66ItBy/5wJp9CWitfrzeATWghojUNsC6VQVnUUzt6LyTZ7lQUk0aTn/4zfA+V7B
0nqkxg/3tkhbktowItHHKD5IkumzYdpOxHM9bnDZd7P4fnVtT1fT5GvaDf8XZVVFwsujrlukIfZ
Bq+irHMPbHK8hUO7oLC6KOx7bwt3KaT8s6wJmAdbENHGd5uqxfcAbh86CGNEZfjW7QRtZs+2y0+
ZV2Tu9EIuqUvkG+EnfujEsYBhOnyZaGsPNuGxF5OSNJseaDlEEy7UetMhEY5S/Ip1n5hbjFrpkD
qBVLwVgC8li2g0qKH2EQGA99diH1goka5Pd3mboctjykiGP5KCh7Z6xhD4O/jsE9yJWnXgOQYYL
ANo2OXt9IufPg==
X-Received: by 2002:a17:907:c22:b0:c21:4393:c41a with SMTP id
a640c23a62f3a-c250c312bbbmr1493709266b.11.1787840188334;
Thu, 27 Aug 2026 07:16:28 -0700 (PDT)
Received: from iegor-vm.. (84-40-239-125.cgnat.inetia.pl. [84.40.239.125])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-c250a88b169sm749696766b.32.2026.08.27.07.16.27
for <hostap@lists.infradead.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 27 Aug 2026 07:16:28 -0700 (PDT)
From: Iegor Sergieienkov <iegor@nova-labs.com>
To: hostap@lists.infradead.org
Subject: [PATCH 2/8] wifi_stats: Add build rules for hostapd
Date: Thu, 27 Aug 2026 16:16:19 +0200
Message-ID: <20260827141625.1190983-3-iegor@nova-labs.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20260827141625.1190983-1-iegor@nova-labs.com>
References: <20260827141625.1190983-1-iegor@nova-labs.com>
MIME-Version: 1.0
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20260827_071630_452029_1384670F
X-CRM114-Status: UNSURE ( 9.72 )
X-CRM114-Notice: Please train this message.
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: Add the CONFIG_WIFI_STATS build option and the object file
for the wifi_stats module. The option is not enabled by default.
Signed-off-by:
Iegor Sergieienkov <iegor@nova-labs.com> --- hostapd/Makefile | 5 +++++
hostapd/defconfig
| 4 ++++ 2 files changed, 9 insertions(+)
Content analysis details: (-2.1 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no
trust
[2a00:1450:4864:20:0:0:0:62e listed in]
[list.dnswl.org]
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-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 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_VALID_AU Message has a valid DKIM or DK signature from
author's
domain
-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 |
wifi_stats: WBA Connect-Info in RADIUS
|
expand
|
diff --git a/hostapd/Makefile b/hostapd/Makefile index 96b8bf87a..5f2e027f0 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -374,6 +374,11 @@ CFLAGS += -DCONFIG_MBO OBJS += ../src/ap/mbo_ap.o endif +ifdef CONFIG_WIFI_STATS +CFLAGS += -DCONFIG_WIFI_STATS +OBJS += ../src/wifi_stats/wifi_stats.o +endif + include ../src/drivers/drivers.mak OBJS += $(DRV_AP_OBJS) CFLAGS += $(DRV_AP_CFLAGS) diff --git a/hostapd/defconfig b/hostapd/defconfig index 298504c3f..96a0ad23b 100644 --- a/hostapd/defconfig +++ b/hostapd/defconfig @@ -437,3 +437,7 @@ CONFIG_DPP2=y # Automated Frequency Coordination for 6 GHz outdoor #CONFIG_AFC=y + +# WiFi statistics collection with RADIUS Connect-Info support +# per draft-grayson-connectinfo-10 +#CONFIG_WIFI_STATS=y
Add the CONFIG_WIFI_STATS build option and the object file for the wifi_stats module. The option is not enabled by default. Signed-off-by: Iegor Sergieienkov <iegor@nova-labs.com> --- hostapd/Makefile | 5 +++++ hostapd/defconfig | 4 ++++ 2 files changed, 9 insertions(+)