Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2245919rdb; Wed, 21 Feb 2024 01:20:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkIQEV053Y+4VCXOzBbAnw36INslJNiSfOFFfpIR7sfmPMxWYFdaItP2OCZzlVOlLiphIsjg9cpa54dbH6BryGhuRfNYqO8hmf9HSaBQ== X-Google-Smtp-Source: AGHT+IGxqjlbdQs0WbAZC3e2qcSYp60gK0dBJdvHCaat3JPA/GZXACLagKO8IiIbNrc0pRgF3hTI X-Received: by 2002:aa7:c909:0:b0:564:7d8c:1188 with SMTP id b9-20020aa7c909000000b005647d8c1188mr4519807edt.5.1708507225019; Wed, 21 Feb 2024 01:20:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708507225; cv=pass; d=google.com; s=arc-20160816; b=n5/S410rBwjOM81/tmVHWGZxjLBQb9jFbNdNBM3JPzWZ2Ka7U37Ho/Fa3XMSsJxSv0 oz5IXtHG4saiAyH7/y+DzmjGv9qYCm/XS0X/kYIv3m3KI+xnCZgAbKsHE5GEWMX9sfyR NUMkVxSaCiNgtGz/4uuiNE0+JPAMzIKg17Yrkx85lciagLsXkH+BQ4SJT+EzJ+fduVcP bMm8Yyf8rG1qFypHHP3tF5HMLh2IpfUDosQUDUB3xj3yB8kQE16B4CPRjJjrWdXIWS0N ykjhbKeMbM/hzh4+mRZQtuLXXHr07cZgyaXTPeqny3e+SyCWsWKAtDoxdK81erlFQGAi i5SQ== 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=aC5ixQCimMcAZfTUl+FvKCOJBEuX5/HLpzDRbIz6xjg=; fh=dlShG6TO/krqNFeM3RHz/tYXNpbc21GvtUrVnXWWNEI=; b=gFf9pOCVKMJZuu3UQKppUtcRPfbdMIvDcI6twUvRmJhepbxYg2Uh5fomIXSWYso2U4 PwZ9CDAp24Dsb5LSBbmL7tYy/SaokNfxKiWfArshH5cbjzX6YAW5LYIJFJM04sh4CI3c 6nqeTroVKesOmOx0IIqxgB/qlhdb1daXfuuFGDVAzqJ/+SrVXRCAsWfTp49fs2V9B4+z g+v5WO97Pr2fAqjOutXTiYPMrL3n3xxePx1YlvD6PI2HDdWPGttJ2HgHLIrM7TAy23oK lpYmkZybzyI37yBGw3ngkMNA5+E19VtPwC7mTe83ULLH7xfZKgkHps0oAyxJUoHRuNZx 3rFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=kSKFmVBV; 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-3848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g13-20020a0564021ecd00b005645a231764si3216851edg.138.2024.02.21.01.20.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 01:20:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=kSKFmVBV; 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-3848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3848-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C13641F242CB for ; Wed, 21 Feb 2024 09:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 204B03D3A1; Wed, 21 Feb 2024 09:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="kSKFmVBV" 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 131B43D386 for ; Wed, 21 Feb 2024 09:19:45 +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=1708507188; cv=none; b=riK52Vi8TMdde15gc2VFmCb2AqRzJAbQWRWdLOsTkzzpV1dxT5kAQiUzMjGwyhDptQK3firJPy0px5JNckCjH3sBT/gYSxSoQrKVktLXu6SHgJPEDYkpiSFLED6qnNipWopXxDNFbToJal56znhcYyBCNN6RfjuVlg0iXq4/okI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708507188; c=relaxed/simple; bh=aC5ixQCimMcAZfTUl+FvKCOJBEuX5/HLpzDRbIz6xjg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=gxJBOQrVTxKajdITAYegt7a585y0IXFLh/w+Umhz7rTIIRPvA3uLY8M/5hCDdYkSyTvz5GkrMvZcCykz61I9j+5Ia+QCao24v+Yp7q47hKU74MRTmoVNCgm6tY4aLUFB09ASM31HkKeLYwPkZ3cJkMKnKE5Flnjre00hYTgoloU= 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=kSKFmVBV; 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=aC5ixQCimMcAZfTUl+FvKCOJBEuX5/HLpzDRbIz6xjg=; t=1708507186; x=1709716786; b=kSKFmVBV00nln0IsdsAYG2h7KslqYM200a/6m9IHFUyRcBI 4TovqPNeSZ7Ky4wESmc3i4kEED6eULzCvXX9nM9q5FGWORPS5YvTgKitlWPSlqDj1KHPmJqKuN7C2 nPNFqd7zxLT/TFHGjlHKshx6GSjXw0zCcyp9NbMxxNHEzV4z3VrFli6CaBZeAlKloCJNGfv7gpp5L gHexrwnYRnFtwiuTetXpUzXa3tGQO+V4aLhQ8AHHBM6IMQUc+ttvhSVxLxr00MJJ5Men9h0dSwL/B eCLiz0aMBnK4rzRxPcwhRb2rmITaCLTIXKVvmLZWeii6FW/Vk4iLpEf+PtEkZW0g==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rcilQ-000000028dU-0DvP; Wed, 21 Feb 2024 10:19:40 +0100 Message-ID: <8c9ed8e11060274f723b88f1300b2948b889f22f.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 10:19:38 +0100 In-Reply-To: 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> <32b5e358f7b54f4921e0a9e44a71f3a791f0d0da.camel@sipsolutions.net> <00094ae0ca73461c88799c070ad9b55a@realtek.com> <9d3bea8152fe49278fe9804167ec8871@realtek.com> <08a989730bbc456df481aee8ae278a5cd9b35f85.camel@sipsolutions.net> <64d1af77e7392aa14a90273d4004dbc23a4ec8ed.camel@sipsolutions.net> 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 On Wed, 2024-02-21 at 09:17 +0000, Ping-Ke Shih wrote: >=20 > > -----Original Message----- > > From: Johannes Berg > > Sent: Wednesday, February 21, 2024 5:00 PM > > 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 > > Subject: Re: [PATCH v8 4/5] wifi: mac80211: start and finalize channel = switch on link basis > >=20 > > You _could_ also actually just implement probe response "offload" in th= e > > driver, then you get the template from hostapd/mac80211, and that shoul= d > > come with the offsets to fill in. Might be easier, overall. >=20 > Agree. That will be easier. What I only concern is hostapd can still work= well > without probe request, which is dropped by driver implementing offload.= =20 That's what happens today, so yeah, that should work? You need to not answer&drop certain P2P probe requests though. But since we're talking about this in WiFi7 AP context, you could just make it different depending on that, I think we get the templates all the time in the kernel and just ignore them if not handled. johannes