From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.167 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290290; b=awCOQrOM37adYkQ/fSm9yW2UKY54Yaz+YDOn9+xqdtv2pp5eUf6vSu9k83D0cPUNHO2R n1hJBa9CNT75Xxwx+3aks+Q7X9CfsjVXN4GcmnBw4vU0SGvCwzRxhaOmMTFPSBYXbIKVd b3AZhP/GL+fs1v9hb4Z3G6PpUJHyinFz628km8DbZze4UGZ/YNg+o3BC/K5I1pzCm/xEW eh0MyMlnGe5XWuYT4Wbr9Qkn69/t+aEsPEmyYIwOIxr/C5IrdGRC0gn2ua5qWNq4akduW xWOxBwrv1/6xcTJnA2tDr77bAH8xO6B8HO1h97ERYJPV0YOC40ogYqVAoheo5v9FDdg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290290; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:CC:Subject:In-Reply-To: References:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=NjeTsvSGWzQ4qVZjpggcbI87QJO7F+WEod/9cS1ZO00=; b=eUMAl2APYa5TYHsCTpbrnctmyF6ja+nugXYuxmaH7LVZjwLuI6u8/k9KkjGpAqVD4Rb3 zg61jkeRd+rvg1x/F3Z3Fgs3MphN8fOaDNCVAlWHXGYjQokbvuZE/sWtdTEXfhUbs1XWg QWMeApfefl1fnAqXDpg6GmM6+MmHonKiPxzhGSKGcv9KsNnRL2J3h8f7OblaRmWqJ5ZOT sSRgNE+q1BdQVId+nKmQ9GuN77Lp6o+K0o4X9zHBaIoi6c9xJW4NiEXPiOpX8WV5LLkS7 vUWiAbufjrpSZpyuWOxJ1QmyenSgIOV6Lif+AKxUaILyb/VYkiHzZeCruNez/Vuce/Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=wHhuL+eP; arc=none smtp.remote-ip=95.215.58.167 Received: from mta1.migadu.com (out-167.mta1.migadu.com [95.215.58.167]) (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 B2FF0606A32D for ; Thu, 3 Dec 2026 09:31:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B2FF0606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=wHhuL+eP X-Envelope-To: linux-wireless@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=3vXzNyS/QMH20hNytgpddNYCOQtVd4tl4ioArw1q6QA=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796290288; v=1; x=1796895088; b=wHhuL+ePuB0+xVget4AC1iqwLOKVWGnX9lrcCYUhKa4vZiUL1VbRrdM0zIr2Va+G+SjQyHKI AcTMbDEmGsO4LNlOa2WIF3txv7MuCHOZJPmhp945PL2XeVaH7fjF0skhT6nqY6gi8Qm0+kqhCOS jrdH+MAGlH8LXRZJq5eP5L+M= X-Envelope-To: linux-wireless@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 390c2b1b9e6cb8f5; Thu, 03 Dec 2026 09:31:27 +0000 X-Mizu-Trace-ID: 390c2b1b9e6cb8f5 X-Migadu-Flow: FLOW_OUT Date: Thu, 03 Dec 2026 10:31:26 +0100 From: Luka Gejak To: martin@rfdeck.de CC: pkshih@realtek.com, rtl8821cerfe2@gmail.com, linux-wireless@vger.kernel.org Subject: =?US-ASCII?Q?Re=3A_wifi=3A_rtw88=3A_usb=3A_no_TX_on_5_GHz_after_setting?= =?US-ASCII?Q?_up_a_monitor_interface_again_on_the_same_frequency?= In-Reply-To: <20261203081831.Horde.F65-ziX-SUQdZucUPml6WNf@mail.your-server.de> References: <20261201205032.Horde.Z7ChCCtVnG0Kme7KFHo6v7B@mail.your-server.de> <20261201205613.Horde.pRuXRuI7Dvp2KV59MQlefRO@mail.your-server.de> <179622265572.165282.15430457657292015392.rtw88-monitor-reopen@linux.dev> <20261203081831.Horde.F65-ziX-SUQdZucUPml6WNf@mail.your-server.de> Message-ID: <11467D23-6368-43B2-B059-83BF17D00E27@linux.dev> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On December 3, 2026 8:18:31 AM GMT+01:00, martin@rfdeck.de wrote: >Luka Gejak wrote: >> Could you try adding this at the end of the local->emulate_chanctx block >> in ieee80211_hw_conf_init()? >> >> changed |= IEEE80211_CONF_CHANGE_CHANNEL; >> >> This restored the channel update in mac80211_hwsim. With stock rtw88, >> could you check TX on both adapters and beacon RX on the RTL8814AU >> after the second setup at 5180 MHz and 80 MHz width, before retuning? > >Hi Luka, > >That works. With your change in mac80211 and stock rtw88 (Ubuntu >7.0.0-43), the first drv_config after the second drv_start now has a >mask of 0xffffffdd instead of 0xffffff9d, so CHANNEL is set. After the >second setup on 5180 MHz at 80 MHz width, before any retuning: >- The RTL8814AU receives 1113 beacons in 30 s (1157 on the first > setup, 0 without the change). >- The RTL8814AU and the RTL8812AU both inject 50 of 50 frames. >- The RTL8814AU register values match the first setup. > >A second setup on 5200 MHz behaves the same. No new messages in dmesg, >and the other wireless drivers on the box (mt7921u, iwlwifi, ath9k_htc >and the other rtw88 chips) work normally with the modified mac80211. > >Ping-Ke pointed to the rtw89 fix for non-chanctx devices >(e07c9af7bbc8). The same check in rtw_ops_config() also fixes it with >stock mac80211; details are in the v3 thread. So the fix can go into >either rtw88 or mac80211. I leave it to you and Ping-Ke which one you >prefer. > Ping-Ke said he prefers the change to be in rtw88, so just let me know whether you prefer for you or me to send it. I'm ok with either. Best regards, Luka Gejak