From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796202733; b=0cMDAq6Rr+t6LkmXOOEXzEErjGg9LRL4ZFG9Cs7oYbbNBwNSn/mADs4tpS+39iLWYxmv jrQdttclNW5sYKL3k3MT2qG1tAt5OfYA5a/F2z5iFZHx4AguIkYE/deBNFlIsQy7VMYSP 3SYHXFA02exGzgfqYCuiWe9HBcJzHxSv+bHFODYYMj7fVICsFY9cd4dl6ecZkrkTofaYp +tTNnLB5p02tzhClE9GxSEvVQCkzdGuBa8x1rHmymDhdbLeQw1VttI/h73EOe7E6tdblM O0e/jFQtwAiS0UiEhNU2aWXFEw3iB7TFubzEn8m5oYIiPIegYi2gQ18CRninqJThSSQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796202733; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=jE89I4az55fjp2vGXGHnHoFJl4WnVP3rEZjICxQPvE0=; b=tclpejwgQ64BFXupJ6mNI63lr0VBukTfrxHpx1HfjPVrcEz9HPb7lFbdvx4nulaCmreW SQFy1DvMZABi6QnzIgvRTOnI6mq3CwfF+nSXlOgmfJ56ZcOXSLeITJwImOdZ0fIGpH6Ot r8KIG1c7TSsxDNNAp9QZRlcNWnn8tmK11nvtOXdenqn88lFh0w9evo4UYyt0pIXcIm+0E mlzIGEuSdpuq4lBfBj1+RzYcaZoI09ijv6/uEM1A/pVBDob/iHljMW24KsKi1aCLrsyuz l9BQPfKqo95hVrPoNjDdwR0jFoVvoIDhnEKE95lsxtBE+voIO/BoMQMijgorf2yUUCg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=VnQJBZ5K; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D27C4606A32C; Wed, 2 Dec 2026 09:12:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D27C4606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=VnQJBZ5K X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B29BniY6834587, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796202709; bh=jE89I4az55fjp2vGXGHnHoFJl4WnVP3rEZjICxQPvE0=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=VnQJBZ5KU9PaaxZDxgtx6i8jL7n+RcSo8bH+QG8RIBQO97p6KI1BDWBhjswrqf3ey d5RDJyKkR6gIdTmY/aLo2EHlFmPcRngATg45W0/FNSfL+XJg9LK7OIo//Ix8h424Xg K2Wgyo6f9JY8n7dG+gfo/fsOaCjltAQgzomgTUYTJyLy5jcx2KnYMNjWmj8YhpZW4P qZV12ztv+wvWkho+vDYYWVDR+a82h+2TqnWiKzi9s1xEETly6C8vtqussJmHq5rsHa 0J9N+EaEgPV5QowDlOia9rdZZT1r6P83LPb8cPoulW+GzDoG6JhB7sb9+imvqaEhBR m3vSSevZRoUAQ== Received: from mail.realtek.com (rtkexhmbs04.realtek.com.tw[10.21.1.54]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B29BniY6834587 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Dec 2026 17:11:49 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS04.realtek.com.tw (10.21.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 17:11:49 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 17:11:49 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Wed, 2 Dec 2026 17:11:49 +0800 From: Ping-Ke Shih To: Mehmet Fide , Luka Gejak CC: Bitterblue Smith , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mehmet.fide@screeningeagle.com" Subject: RE: [PATCH rtw-next v16 2/3] wifi: rtw88: support channel switch in AP mode Thread-Topic: [PATCH rtw-next v16 2/3] wifi: rtw88: support channel switch in AP mode Thread-Index: AQHdgWsy813LdiNpAEaQRiIVa/f6IbdH4AqAgAAVcgCAAP+TkP//9qMAgACK9kA= Date: Wed, 2 Dec 2026 09:11:49 +0000 Message-ID: <7cc8c05e75bc4454901283cc20891296@realtek.com> References: <74ecd13d80ab471c9ed3089560a7b7a2@realtek.com> <20261202085130.2525598-1-mehmet.fide@gmail.com> In-Reply-To: <20261202085130.2525598-1-mehmet.fide@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Mehmet Fide wrote: > Hi Ping-Ke, >=20 > > I think you can just call chip_ops::phy_calibration(), no need new > > chip_ops::switch_calibration(). > [...] > > Or an alternative way is to not declare WIPHY_FLAG_HAS_CHANNEL_SWITCH > > for RTL8812AU. Both ways are fine to me. >=20 > Here is my plan for v17 then: call phy_calibration() after a switch, > and keep WIPHY_FLAG_HAS_CHANNEL_SWITCH set for all chips. >=20 > The result: >=20 > - RTL8822B and RTL8821C: no change, phy_calibration() runs only the > IQK, about 25 ms. > - RTL8822C: phy_calibration() also runs the GAPK and the DPK. A switch > takes about 0.2 s on an RTL8822CE and up to 1.7 s on an RTL8822CU. > The station gets no ping reply for up to 1.9 s. But it stayed > connected, at least in my test. > - RTL8703B, RTL8723B, RTL8723D, RTL8812AU, RTL8814A and RTL8821A: I > cannot test them. >=20 > Do you think this sounds reasonable? Okay to me. The rtw8812a_phy_calibration() leaking AGC values is existing, which in station mode it just works as was, so I think this is fine. Ping-Ke