From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796037294; b=SycES32Y940WulDsrz49YxFG3HCdDpog8EvdlYBJYqyU/sGxQPlzfkbeHi6MCzl3dOGf Mfi8LnvCGZkDS8gH094PGXYFzcrIWlsFzcWZdvpxHrIf+oObyRDlZY0nUyUn6+WHY1ouf v0cw07zcQoQokZu37cq3jp/ncNA1QnaLtDP7BW4mquSGJ85/MNpcdivsN32HDgZ1EG/Vy ZPl0mzeOXDSRJHOZ9hfH89B9ML/IABdN9/E+JRoj35G4TL5OYSFADV4U5iG1XH/BUX7z9 BR3Q5JAzHVZFyoV9pRUATYJYk5jtl2k/ReRfLLpN506877tJs8WrSA2Jt4uJgmacpCQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796037294; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=pw/KEusDQHRcjISVMh/TZkNz6Id6S74I4fVZhO/jTPU=; b=Ukssg9Hq8wE8wWk9txTmI8GxRVM2zNAeWhVWwdmkON9R/xQQVRtGbd5V3mMpxeislwOl UkmDM8FY0g7uVfgFdrXGGXsuYQN6CVJzJD9enBoslqi5R2/UHsj1K0ah6VdxBf0QzeiE6 GaHI65575DmZNG1Ns9aByxt8dJ8mUr16Msou/Rwvf9J4CVMk/yaXXplo6HWng/P4PCFDq 73MT9xqGQk1vzMwM87iO6qq4QnfXPk1a8OjMoC6fqr8DuU+PjwxoK3ysCFyARDkFxZi/m e4fUZu7pS+RXiCaQ8Ne+vA8wx2AGyo0+pqueWR7RR4ONw+gv7rU0q1JvTznKE66K+RQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=0zyuYbWd; arc=none smtp.remote-ip=209.85.128.53 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85EC5606A31C for ; Mon, 30 Nov 2026 11:14:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 85EC5606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=0zyuYbWd Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4bb6886d30aso98973205e9.3 for ; Mon, 30 Nov 2026 03:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796037293; x=1796642093; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=pw/KEusDQHRcjISVMh/TZkNz6Id6S74I4fVZhO/jTPU=; b=0zyuYbWdD88d55HlZI1ROHE2FrbxSzTq0E0mjTAbpR7RDtrS/xxkA/IUW4imek6fG4 HMfUuKGm+QwIryoddnaTIEnrEOMNvvoPZgyFUWL8hZFaY2SMXcRx0q+2g1zGK9wI2ilo 6vCRSS/aIe0o/MjuLlF54SrMMUchf9vDV9yWVnX6Ei71ZYkPjH98ikJzX2rubRU0q6sB 1OiZVdQcXg2uGr+Ce0wBZPR08ZAjn7ESXmhajMZVkPmF39e7UMDmbxx95uVV3zsbxc9Q 7fZZvLqgI5roBlZQSaqiLETOvjyHev9sZZdOthPUSfbhxF/915Ed912ySI5mRApw1fWU tWoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796037293; x=1796642093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=pw/KEusDQHRcjISVMh/TZkNz6Id6S74I4fVZhO/jTPU=; b=e29chB/uec8TQ3m7f4ZqVOjXyHJ5vvIdae4F35+9AFtz+JuMSZsHWQuLvFqy+u7WFG fga6nFSarv8FrA4D7yGqna15lCc9ZoLC6dzDPcaOyDj7IfSVzOJkx836LQPzbcd3WIwa UQveJv5lGYfQaNvBJ6BOCotUyACDB7hLz9o0VTc8+CpMoS3lpT+qMpUfmQpkCNtmuoI5 4X0IwPfREH07fhmSSrBfeOcvZ73GPPx9+adBZP8d91fdu+waBOk2wpdA+ujjGKNe+pKC umNjEf/WIZXxNsxCsAYD7dj+FshnBVre7xqzXLKOPtBSwTrUfjW9Bmif2iJ++9IU5oB7 PSCQ== X-Forwarded-Encrypted: i=1; AL+hErEFXArlYOi9JP/zPK03US25Uduso+K1k5Ca5Uzi6uMWPsHQMWP4JLUCV/wrHMgaPKaBYtLHxYM7v+TkNwQ=@vger.kernel.org X-Gm-Message-State: APuU4Z8/cIe9OyQJJF55ZNd4sTLHxEd9JDoKCnvFOaiUd0w3HGsWmvfG 7hANMmRjAIEIJxGl0sXKsntZVCMbXUXzDWFKktus41QYT5I9JaQFaN4O X-Gm-Gg: AZFdTZduFSBLFys2uqQ26X/ODgkvfGnvf2LB0HSRRp0/tROCZzC7AN2ccK3qM+wJsVR eGML8hf2ejRkQo2SfXdh/EYS7LgZEKhUq8P5SwgDceGDxn8pOhwZCgKwNNwA5/hj912vT2DWt0G tFu6E4ZBOSjhO7lCbLGNUfuvx3FGfn2/2MigvlosSUOBCGpHID/S71EdZL52/A86kPaUSs12Lgf wcBrBQyOMwWm6l3IQetoL8/vzJwUbwG5qSR/ch8QsY+D5FCsggDnydQNIOLt8YmO/mRvLaGD6+H tKnGs+bZNI3l4nv9P818WO0+A4XDuA3ct+nXDBZRxCcJc0KAeQY/8YH72bNPprG8jq5S9FHQSQn Vxckuc76oMTQ4nMLFloJsySV5z6aKR3VXXgkBqX0oIgFNpAWSlXFgHarECmK+f+mNRo0WRP/Jpm JfzZuaaZOIflilXHUyMrHoEynC2G/7Gq5rtqgaxe9j5tj5RrsFkQVeA1N3gsHD8HP5XdkEsMtdI SQq5YGjn0NkLLs3nDj/7rPyfH2dxN+KOO3i4yO9HlQXmxlRQmsi2venIUzHqKugIpXWw2lrj5RG Bt3qwLwyp5d5TRimX7Z+jk5z+TSYZEo4Rlm9tbLyw3hb4sfuipjc8Zw+ X-Received: by 2002:a05:600c:3491:b0:4a2:c2b:a91b with SMTP id 5b1f17b1804b1-4bb8880014dmr692050145e9.10.1796037292703; Mon, 30 Nov 2026 03:14:52 -0800 (PST) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88442693sm846924015e9.1.2026.11.30.03.14.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 03:14:52 -0800 (PST) From: Mehmet Fide To: Luka Gejak Cc: Ping-Ke Shih , Bitterblue Smith , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, mehmet.fide@screeningeagle.com Subject: Re: [PATCH rtw-next v15 2/3] wifi: rtw88: support channel switch in AP mode Date: Mon, 30 Nov 2026 12:14:51 +0100 Message-ID: <20261130111451.1520435-1-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261128120816.36110-1-luka.gejak@linux.dev> References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Luka, > Where should we run the AP calibration after the retune? In rtw_ops_config(), after rtw_set_channel(), while the switch is active. v16 adds a chip op for it that runs the IQK only, on the chips whose firmware runs the IQK: RTL8822B, RTL8821C and RTL8822C. On an RTL8822BU and an RTL8821CU the IQK results after a switch were still those of the old channel. The full calibration is too slow for a switch on the RTL8822C: with GAPK and DPK it took about 190 ms on an RTL8822CE and up to 1.7 s on an RTL8822CU, and the AP sent no beacon meanwhile. The IQK alone took a median of 20 to 28 ms on all four and did not lengthen the switch. The DPK of the RTL8822C stays that of the old channel, as on rtw89, and its tracking goes on. > Could pre_channel_switch() reject the request while the station still > needs the old channel? Yes, v16 will reject the switch with -EBUSY while a second interface is up, before anything is announced. Mehmet