Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2228417rdb; Wed, 21 Feb 2024 00:36:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWUSwEwvYt8vwaAPaAq7+sNMjyF/IZJkCtHVppva/M9XPs0G7UpaxoZO6d5EtTeGnvH5vwabhM64RgemWc6Fah+DVG8T+LV9vbpNLpCRQ== X-Google-Smtp-Source: AGHT+IF1xp7XqeWyd7449jSGJGsu6tahMeuvWT5B3bo91bkhCUiMVm4VhdVNw8DTtXM+JvSr5eQ/ X-Received: by 2002:a05:6870:8088:b0:21e:8afd:65d0 with SMTP id q8-20020a056870808800b0021e8afd65d0mr11826335oab.52.1708504563007; Wed, 21 Feb 2024 00:36:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708504562; cv=pass; d=google.com; s=arc-20160816; b=NrTgoWMAfyAM4lT3onUtA6Qwi0XVdYSluo0V8qro6GFcPVS70u6BHDgzH0j/aG2fPZ 75ERgTAM5RyEMtOvItovO8ovHLv89pnATALe8M4mZMuJqpEHVGdSus3n/eGDEacPmHzX ywMo/f3B4vYms0B5gSeNdheu4ap6mXDP2SVg6rwx6/p7IdvVr8ZGE4Dm8RXD0/uhM92T CDD2v4zMrDMHFKD6nm/wuJpQE6r/sPCcMkHP+e5jTcrpRwR/+ybGD3d+/V4iIdFUhaKc 3FonwzKJ46wijEpObibU0QdI+JpQNMfKjuNstrzvvn7bxbs5VH/zXLRsB/m9tf9QCyZh uGkg== 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=rV7ai5MnTpLm18GUFMNDN0KkQRdeHq8c7G+215EJw/Y=; fh=dlShG6TO/krqNFeM3RHz/tYXNpbc21GvtUrVnXWWNEI=; b=rLqP0VKeTG8vIuy5tR3g/tOFeYxgACB79czNaeprIE6LqBQfElBRXWkKFdw3HRwK6a VyYnYRW4Y9y1KV6qsiO9i2oB/Kf0KZSuLDQgxUvg54cTf3PSXHiOZIxGCifHwfojJBWi iN+OUWbxmkGczaGurWDwmie/gv/0UrVMT6crPQuAFFTXhX0z0ezptgQNcfqyd391cg1b M8zHbX2Ki488LzLFnV3Z0piYooKi4KaURe6i9PAdw8gLDJG9XOrXdgQYpT/KF5F4nbyR ybnsEj+AkiHWjgXnxQOZtyZn2wgB0rndgUp4pbszb52i/JlCRCga/deLW+PBDMalaVl4 EoSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oK6wqkIb; 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-3844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3844-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 v8-20020a655c48000000b005d44c945aebsi1343412pgr.82.2024.02.21.00.36.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:36:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3844-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=oK6wqkIb; 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-3844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3844-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 17C54B22FDA for ; Wed, 21 Feb 2024 08:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4867C3C064; Wed, 21 Feb 2024 08:35:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="oK6wqkIb" 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 19EFD3BB4D for ; Wed, 21 Feb 2024 08:35:26 +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=1708504529; cv=none; b=QB77q1K1CLh4UGGTKA9lW7m//lguPU/4LA9bODuycuro4FDdPd2Fgs2GY9LRaxe0tgki393mMP3YLqoboTqmeVQV1BBOh09ipCzadDY8grvYUk6rufxWOgOItPkM8RftUtUy0wfzCa8L4MEMLerYrv1zyJoET5C22xDKaRGiyB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708504529; c=relaxed/simple; bh=rV7ai5MnTpLm18GUFMNDN0KkQRdeHq8c7G+215EJw/Y=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=n1KqkSma1n6wJCnFo77uPLtL6J5kfMIMtLCxdt/DC2j4x0dsxFOsEmchZZIlLMTSyDtc4ldsJMGW571Te03v17icuwzNnZRiafat6PIRRFGzeSU5kTrtSFfuPaJY/YeftsRjYoyECeFerRaQbjWNoGyyHS5FUpfYuHXKaKcjFIg= 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=oK6wqkIb; 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=rV7ai5MnTpLm18GUFMNDN0KkQRdeHq8c7G+215EJw/Y=; t=1708504527; x=1709714127; b=oK6wqkIbFx8fWMAOuIfpUEKqi9rvKIUbvXgcoIEK90K363Y xVGuQvX2NnOl1q5KZWPwoJZsS8UuDUHNQB0cOsUSkZQiRynaD9kNHvx7aRLTI8RDapfepWjgxUpqo ID6nYzw80W6mubW6b+5qGO5BgjCXvM1yhrion3ynePaH+Nt7sPLcFm/Ze///lN4+27SfVHdhGQ5it mE6nShUczXj0jkgg7/8K9Pdr3YBLIV/R4RQm+Cq03R+NzG66AvShlbLxrKriyTrR4IJHKWtYExwxu ddSSjB9ZU/V/c+ghnEd/H02qtstXliGo2LoUCvIl+24ehxBbchiezmXRdsOzIIsA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rci4Y-000000026tv-1SJq; Wed, 21 Feb 2024 09:35:22 +0100 Message-ID: <08a989730bbc456df481aee8ae278a5cd9b35f85.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:35:21 +0100 In-Reply-To: <9d3bea8152fe49278fe9804167ec8871@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> <32b5e358f7b54f4921e0a9e44a71f3a791f0d0da.camel@sipsolutions.net> <00094ae0ca73461c88799c070ad9b55a@realtek.com> <9d3bea8152fe49278fe9804167ec8871@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 On Wed, 2024-02-21 at 08:28 +0000, Ping-Ke Shih wrote: >=20 > > -----Original Message----- > > From: Johannes Berg > > Sent: Wednesday, February 21, 2024 4:20 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 > > On Wed, 2024-02-21 at 08:19 +0000, Ping-Ke Shih wrote: > > > > -----Original Message----- > > > > From: Johannes Berg > > > > Sent: Wednesday, February 21, 2024 4:10 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 chan= nel switch on link basis > > > >=20 > > > > I guess that'd also apply to probe responses? Or does it not send t= hose > > > > at all? But we discussed before that maybe we don't have to be perf= ect > > > > there, so I guess we can find some solution to that. > > >=20 > > > Unfortunately, Realtek firmware doesn't send probe responses at all. = Still > > > need hostapd to reply those. > > >=20 > >=20 > > Right, but filling in the CSA counters? > >=20 >=20 > No, firmware doesn't modify content of probe response frame. >=20 Can you get that fixed? ;-) With differing beacon intervals etc., I don't know there's a good way to keep the counters even with a semblance of correctness, especially if we don't know when the beacon was transmitted? Or maybe just fill it in the driver since you probably have some beacon timing data more easily accessible? johannes