| Message ID | 20261027141646.dc2ae5e15c48.I4253483868cb290c540f606a30786a2e28de59f4@changeid |
|---|---|
| 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=A+1akbVT;
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=tfg23a91;
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 4jDWRF56Lgz1yGt
for <incoming@patchwork.ozlabs.org>; Wed, 28 Oct 2026 00:23:53 +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-Unsubscribe-Post:List-Owner;
bh=kDjA/aonE2K19QWJRVK5qw//8sgPCqIGCYKW3QHsntU=; b=A+1akbVT6D4rKc2vGCCtAFEyuX
//ZK7KDr/BZrkIU365Ra0ygVXpBoYNTjp7UsJH4I1SIa3Lw5xzewSX3IFVh9AjkddkQhzfIfZAdGB
NB2y0q7lVECVhry3HkFWwU/a6Af7I//E5afeAiUv5oqW0r0niIAJMTP0RvmqgJmkXbERSpUE+8jYy
5/oA54Xdz8CabqOtOv0mbRps/hwFL7FIlYGAWUCYCKxUL9gnefyBKxrKXSniDCZNIj94LWvu+q2x7
itvq/rler0QLVAFcYbTHkAA2+qJvjDofh100hErKIQ1VwBSPNT31jMRP26XE1vo16CutgAF4i+LhF
jKBk8McQ==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux))
id 1xLh83-00000004nH5-2SV7;
Tue, 27 Oct 2026 13:22:15 +0000
Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2]
helo=sipsolutions.net)
by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux))
id 1xLh7v-00000004n8Q-2ANj
for hostap@lists.infradead.org;
Tue, 27 Oct 2026 13:22:09 +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=XVJuZTC6eGG+bfHGaPV8tDFgf9kXwb4eQJ4BXj4kfIs=;
t=1793107327; x=1794316927; b=tfg23a91cAWyqJc6YpyLHF2Nt3CYpRKyDgZ6lhHeLThJgQ7
EP9MeocSgrhWG8pknq9ke8/12ogOvir3YzdceeTnPQAucmwlDTSfiexTTLBFq5Zbbk8mMpZlEVqTf
4DfVQHczPNwVuw1jXAd7d97hSyFpwEUHhJ2N1b+ImXg29ToVKXN7ad24aqNN0sikO8ylBh6DeNksE
J59WXF09uaBj2HIct9fyxDO0hQU1jpQxhFf3Rl1kIfO1cFyHbdcH/c0XCMY7G8C8VmZRVq+iI9wxT
AA7LWCCCM+A2K0ghyapn7LPiTEQNEJpEEiPulFVYkOQgZuD7iz/RO63FRivvWo0w==;
Received: by sipsolutions.net with esmtpsa
(TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256)
(Exim 4.98.2)
(envelope-from <benjamin@sipsolutions.net>)
id 1xLh7s-0000000D0dP-1eT2;
Tue, 27 Oct 2026 14:22:04 +0100
From: Benjamin Berg <benjamin@sipsolutions.net>
To: hostap@lists.infradead.org
Cc: Benjamin Berg <benjamin.berg@intel.com>,
Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Subject: [PATCH 09/21] WPA: Include CIP in RSNX capabilities when enabled
Date: Tue, 27 Oct 2026 14:16:55 +0100
Message-ID:
<20261027141646.dc2ae5e15c48.I4253483868cb290c540f606a30786a2e28de59f4@changeid>
X-Mailer: git-send-email 2.56.0
In-Reply-To: <20261027131645.1978718-23-benjamin@sipsolutions.net>
References: <20261027131645.1978718-23-benjamin@sipsolutions.net>
MIME-Version: 1.0
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20261027_062207_594693_95330D6A
X-CRM114-Status: UNSURE ( 8.41 )
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: From: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by:
Benjamin Berg <benjamin.berg@intel.com> Reviewed-by: Andrei Otcheretianski
<andrei.otcheretianski@intel.com> --- src/common/ieee802_11_defs.h | 2 ++
src/rsn_supp/wpa_ie.c | 3 +++ 2 file [...]
Content analysis details: (-2.1 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
-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
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-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_MISSING Missing DMARC 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 |
Control Integrity Protocol (CIP) support
|
expand
|
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h index 291695456f..b763c117dc 100644 --- a/src/common/ieee802_11_defs.h +++ b/src/common/ieee802_11_defs.h @@ -665,7 +665,9 @@ #define WLAN_RSNX_CAPAB_ASSOC_FRAME_ENCRYPTION 27 #define WLAN_RSNX_CAPAB_802_1X_IN_AUTH_FRAMES 28 #define WLAN_RSNX_CAPAB_PMKSA_CACHING_PRIVACY 29 +#define WLAN_RSNX_CAPAB_CIP 33 #define WLAN_RSNX_CAPAB_SAE_PW_ID_CHANGE 34 +#define WLAN_RSNX_CAPAB_CIP_RANGING 35 #define WLAN_RSNX_CAPAB_UNAUTH_EPPKE 36 /* Security Profile element fields (IEEE P802.11bn/D2.0, 9.4.2.369) */ diff --git a/src/rsn_supp/wpa_ie.c b/src/rsn_supp/wpa_ie.c index faca57216a..2a41668949 100644 --- a/src/rsn_supp/wpa_ie.c +++ b/src/rsn_supp/wpa_ie.c @@ -614,6 +614,9 @@ int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len) capab = wpa_sm_get_rsnxe_capab(sm); + if (sm->cip) + capab |= BIT_ULL(WLAN_RSNX_CAPAB_CIP); + if (!capab) return 0; /* no supported extended RSN capabilities */ tmp = capab;