Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2221974rdb; Wed, 21 Feb 2024 00:18:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX2GAH6ewkfoNLriAqR6/tIFYaGv48SrPmszEPHSirsYJdb8I2qA9c+YXoz0eaMH4Fh67bIDwy9KfWaMDW8PExheN066F051McNv9P+0Q== X-Google-Smtp-Source: AGHT+IENHKC1am3zUCeVM+ck90aqmVjKN9Jr089POPMtusIvIuzU0ISA4vnfMEaBXYIr6e6rXxa5 X-Received: by 2002:a17:90a:304f:b0:299:17dc:ba26 with SMTP id q15-20020a17090a304f00b0029917dcba26mr12909326pjl.32.1708503527878; Wed, 21 Feb 2024 00:18:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708503527; cv=pass; d=google.com; s=arc-20160816; b=r0Wo20DZtUbxXrkF3O9NE25iZkJH/0Y3hiNBFGvHxT9ZOs93Ah26fRKo0LpkXsiY50 D3RfarJaB7wuSU3x/z5UWEz+clYzqEBq9BQ7yClzTN89KyZJnQc4YsVBjxAuY9rIET7Z up33E5jxoqCwbv6Zq7CmWppf4+bpXXETXVZ3sSxr1glILi08mNecbgAXsTxqWIUXdfv8 1MfudFSpstIQxJRpBSTcvlEpagW75FDX6l5M5keDYZqfC7ucrHLML4GhcP/xjzuHm/yg sUU6N03uSvOKa+w8VR7F+VDbGvrxjsxTihdGFHN9J+I5cIrinxpOCEfwI3/AbqwrLddv y6mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=iHgA1aA1jSPE0AgHrX/IWjOPw5DKqvvBrG0Mm6iAI6A=; fh=KjH4BTZgxkkoYvI4p5Ed+Ff9FWBLN8o+JIf0hjqoAGA=; b=0ZpmGT9C7uR+YUYPigZmeJBT4hNnQo8mwPtEzQrrTivioX185IBRZTL/oopUHm6dDr p9jpReBI5BpqLvxh3DEm2Dyw+UQS97GCLZY+w0lVYBtwECo8F4GdzK9fbrsMkC2LWtsb ldrLYnijc8ZddJiOEbXHGfobOmV66OQjvP1duVjde2BPIY1tjf8upsA6/pf1tZsqjTRm o0z+ik0I1nXGAHWI5V9XLprolTkbjdwgPGqSWpkVNNnRXnDHV/kpC5fv/yq41ZSAbSkc 5i/iYXwmnvPFx4usMOyfbhgHnrpzPuhCTloVxIJ0j2e0SQHVMdFiXrnkRaYEuGlLmXW/ 0NBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=KlGuwcKa; 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-3839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3839-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id pb11-20020a17090b3c0b00b0029a12c9a1a1si873375pjb.95.2024.02.21.00.18.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:18:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=KlGuwcKa; 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-3839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3839-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 498D9B21D84 for ; Wed, 21 Feb 2024 08:09:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 524063B199; Wed, 21 Feb 2024 08:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="KlGuwcKa" 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 3AE013B198 for ; Wed, 21 Feb 2024 08:09:42 +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=1708502986; cv=none; b=A80EVt5mQTt3L0G+YQcg8LmrK8M87QGOtQo65om4CQSQHEn004LIOhbtaRghtfgE+1Aut1bxAopLYoXnBNbYCE4lCrAbvxA/bxdWLbpkwNTV+kwtFbAd9WQglpr8EwKqCVIyNonGcCHz0LGX0+y+YAOpSME1M7rQ4OcimHgnIAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708502986; c=relaxed/simple; bh=SN/NG4vfKesvE3/4cqlGCd8CJXuP8EIOUTSfH6NnspI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=e/SGskeZWkfC19StOEKf8aZXcjRul/Q2wrW4tGVSOkUpbXI04c8Rk8AvEga2iRryXDkP5+WbO98OzvXKCqNdxofnlCCEI2ZHFBkqOOijv8YentNID3ZqlUgnE7Vpzx+n3YEGOqfO1zpRhqyWW/azs5x8K1QCtNUTNxW4HVcnZKI= 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=KlGuwcKa; 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=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=iHgA1aA1jSPE0AgHrX/IWjOPw5DKqvvBrG0Mm6iAI6A=; t=1708502983; x=1709712583; b=KlGuwcKa9qOp75+oLKDVe7QxU5bpcPL9Fa22psSeruRv+EN uXO+ApOnGqSwfiOBqJ1Hlx5JLG0rBMiPxPhK3FUAIhPuhAy9wBm+5ngr51yA81coTGde9sJiezzjN 6tHNSbERxW3N/TIQ5x5gVeNb5sfK0wicbPlUdS1WAFCeaDCJBYzKkA1KcoI+vrgic1bWobF+aBY0v 8uZ18oGqrabQyy081ssoFAC4zYNMehsp8ClqI+gW//DdSs079H5wYYHrILEtTSJ0mnyModrZhdjJk Ki5GNHYdxRFcCKcx4TXkcd6QjrZFgVKp9Vkf3YzJA7HwesxQjL/7rw73cQy7mpIw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rchfX-00000002621-3tId; Wed, 21 Feb 2024 09:09:32 +0100 Message-ID: <32b5e358f7b54f4921e0a9e44a71f3a791f0d0da.camel@sipsolutions.net> Subject: Re: [PATCH v8 4/5] wifi: mac80211: start and finalize channel switch on link basis From: Johannes Berg To: Ping-Ke Shih , Aditya Kumar Singh Cc: "linux-wireless@vger.kernel.org" , Jeff Johnson , Ilan Peer , Jouni Malinen , Ryder Lee , Arend van Spriel , Felix Fietkau Date: Wed, 21 Feb 2024 09:09:30 +0100 In-Reply-To: <5a89e63fb7644d12be72154c90c96199@realtek.com> References: <20240130140918.1172387-1-quic_adisi@quicinc.com> <20240130140918.1172387-5-quic_adisi@quicinc.com> <646d1e3e404a437f4c99c80996eb4f194ac242b8.camel@sipsolutions.net> <26df9aa6-e497-4040-ad5c-c647454acca6@quicinc.com> <5c0fd2eb-eb19-4b69-a325-ad9eef633336@quicinc.com> <18c0d4de-392a-420c-8a05-466a83cd2eb8@quicinc.com> <3c550ae335a9762a9cbd0c8109b6dd99faeb8f6f.camel@sipsolutions.net> <5a89e63fb7644d12be72154c90c96199@realtek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned >=20 > Sorry for the late.=20 >=20 > Realtek firmware can update partner links' CSA/ECSA by given offset of > beacon template, which matches the conclusion of this thread, and Realtek= vendor > (out of tree) driver has verified the firmware interface. So that will > work to Realtek WiFi 7 chips.=20 Thanks! I guess that'd also apply to probe responses? Or does it not send those at all? But we discussed before that maybe we don't have to be perfect there, so I guess we can find some solution to that. So we have, so far Realtek: - uses offset in beacon template to set partner counter, - requires host to set CSA/ECSA elements Qualcomm: - copies and updates CSA/ECSA elements all by itself - btw, not sure here about probe responses, does it do that too? hwsim: - personally, I'd prefer it works like Realtek, for less complexity Intel: - not implemented, probably not going to happen any time soon, but I think we might prefer the Realtek way too if we ever do this Mediatek? Broadcom? Anyone else? I guess then for Qualcomm we'll need to just add an extended feature flag for "FW_HANDLES_PARTNER_LINK_CSA" and then hostapd can just not update the parter link templates, or so? Thanks, johannes