Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp406561lqp; Wed, 12 Jun 2024 05:31:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVADKO2cyyCgY/kXnFFs1IbjNXnn4x+2EkyPB2ffyEv6wNrcX3Ik50WFfTWhJIDmg4ePSin0U9qfE/DHohc/aOY5bT+jU9t+VGiGqAecw== X-Google-Smtp-Source: AGHT+IGfcNmcpjVBUBJtFvvKHFms5mbdFsJksfko644Wo9isk2xVOGOY0f+dZKH0wB0ejnmJBTUC X-Received: by 2002:a05:6870:c155:b0:254:b8f5:c918 with SMTP id 586e51a60fabf-25514e6604bmr1900202fac.47.1718195479481; Wed, 12 Jun 2024 05:31:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718195479; cv=pass; d=google.com; s=arc-20160816; b=muswLNvsIg6i4hpwYyVvF6FGrBVA7UpNCaDgKYVYJKAKWzgBZFSqKu0P4h6AcprGsi 48d/P42lZefixd7nhADUK5qugAEoVExN/tP5PBP5LONBLSaVWLuHOOGe7yyZ8uXj+rst FhuWbM7fJDbR3fmQOKLToBXW+MmZbXJ14otRWFRlwt3rfQtSCvAAEcl2bAWj7SSXSKUn Jrmq/uzG8388DE29FKGZONLkPM6x4DhpSJ4AXGYrVosPzYbWHWKB4mC2FgwUVmYzhhtM day3WPVXr0toCEioYrlcGT7nw4AUrULMXVkPfGV5Q1MeEtkssOu6oHPHq+MKR8VogS6B xwfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=8Qku4YFbzfp5pMN4Xw+OMbvZCHXimKPDLGZ1KY1/5YY=; fh=qW0phhq3fb3oiohK/Mu9j1KY1zyRNiiioKFc5anvatM=; b=I0oB0h8jZ9kwYsx4OJdLfnDwYyjRZZRpYm51AzvLetS+4JIaZbBxyqcJeg8GlS5yLZ ZGnKr2rhF4RW2zrBH5tdg/+d0AUa6x9kGbJLYd4rafhN+j19wUYMTPt23tcMAUSuTGMb addTbl0SdMwqpvAwtB28j5//aPEkSj5UMJx+bWrhCW1ToZOPiKp1krXdy8s6u0bKopw/ xHQ4tclQ8NYdL10dZRM4ydQjmFLwR77H9Oqme1FFcdK3ytgB1BP1PQnXRsT/AMfV0Bhc agGr0K4rh4F8elAjd9SqK9wKmNFfBTAyo1mf6GKYFrox3f2BqMlkGRReaHOHVO0YTc1N 2OMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=FtYOC6gm; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e829790666si7728736a12.559.2024.06.12.05.31.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 05:31:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=FtYOC6gm; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 769A4B21D59 for ; Wed, 12 Jun 2024 12:31:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A1F516D322; Wed, 12 Jun 2024 12:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="FtYOC6gm" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA4BC171656 for ; Wed, 12 Jun 2024 12:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718195448; cv=none; b=mS0ZqdEUOGwraTa4KiOG/N2o82Li5es3YTiwI/N1dgyKw46NIPQHwfTShR25RN0/1NOu+GjFRYPkW4q7+bqbeaWWXN6OUlLt6bnGr01wVnj7QVC78jNZp42wQOU2c1RJMTRMBPIFxY1mkDLQ3EtnVxhQQ5TNza//fKAgF4g6KV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718195448; c=relaxed/simple; bh=8Qku4YFbzfp5pMN4Xw+OMbvZCHXimKPDLGZ1KY1/5YY=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=BjnEP3ehAR+QkdVnRgk/TOC2pDK9M+rl49vYJlzpdNpJ1pNNt9bdWLLFuunT65zVLTfMHNepC7dp7LmESAvneZlERfq9CkYht5rB9CZEhSEuRuF3bSDwWr7Jeq/FHkOyJBMJlkgJhgFSrtv42vz94xEgm0iXTbU+sWSHCHeTiWk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=FtYOC6gm; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:To:From:Content-Type:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=8Qku4YFbzfp5pMN4Xw+OMbvZCHXimKPDLGZ1KY1/5YY=; t=1718195446; x=1719405046; b=FtYOC6gmdKkyaj8n7eIg06E2868RrUcSAzBi16WnHAjgKFsfLkDkDzKgvn78tRrVsLNGJUMX5n9 T8oBjyKQmpYkTxC5itW6R4tSNo84HMSuYZKlbIeS34k7kODXn5OkbVCAov19FAglujcHNqXgSOH0T yPFKaEqCur2y72wJGFqgvMHZr8oZ2RQ5V5ujwrrh7rrBrlSZVFroSvymP1ue/DE4p94SZR7ppO7tY gSjvnop0+3zSSguE3Uf342awcOerg1QtjmO+7oaz2/ofyV1ZrYHlmMJ2qRaDTISUzrFz8jOuwEYlx Ol15q5Ul2mGKXyXG7ffoyzg4ECd8pArCjo2g==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sHN7k-0000000AGRh-25p5 for linux-wireless@vger.kernel.org; Wed, 12 Jun 2024 14:30:44 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Subject: [PATCH 0/3] wifi: mac80211: public action ECSA frame improvements Date: Wed, 12 Jun 2024 14:28:34 +0200 Message-ID: <20240612123037.36687-5-johannes@sipsolutions.net> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Public action ECSA frames are not protected, so treating them to e.g. change channel or disconnect immediately can lead to issues. Use them only for quiet indication, and then check against the beacon - in case of beacon protection, that will give a good indication. Perhaps this code should only apply in case of beacon protection? johannes