From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.7 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796106563; b=uzQF6/+58Z2O07J2TIul0QF2IrDQ45jGkrvLoWAGZKdYpi0gyfg9rxqMxa29rKzSZ9RX lOgwgSHG/dhb9S+K/jkAsLdmXS8MfWVfxcRknZq1o0O6UgeFVY2CROk+/FE89nzPZoaXh rutLHiwA8Q6p8Nxq20X4SbZ+79iseH8M97Um+gV/CfmLSxjfyj9JUcXa+T8qNaj5aqV7H KZM9AFEfN/rYF0xyJ34coSQsjHr7/09EUVpgXDw4okFCknUIyUF+vaB4yrze3jQuaNkCO oEFbW4seaxL953f+d4C0jK4p8Utqc/3nTI0kJHjUn0PEzET4UdAAduk9zlvJk/Vph1g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796106563; 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=T2MKtImiQ5GcpMo/7dgSmqmt5G5k041EWdvNfrAwyps=; b=pvmeXWk1cMwZ8IhjjYGpEXWYmE1ssp4Ke69dK0US1OV5ptC4s2DNnfhpvOd0u0FPXOSt SBOCqWih9Y3NRKzp40IkmB67Rj1pLAAnGxbQ/lFZC0/7AkkfuVkfHviPbGyD58M6KzIqR R9YF3HJIOcWsPtIfz3yVJYox+ees+tu18igSD7NvKRZMcEAZtAkQnYXbq+dY6ajFfooiu tLtoxJp8CNGfz0UqfU51znmr6MQ8wPCk/8Wa0iVW2Bcqh1VYCyf8sDrO2NoabhOvLGs4t hy7wSDxSMjXzMGXPjIDvSZrrVUBF06K2LWZUU3Oa/H053ad2RBZcOHwOCD7fpIbaa9A== 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=pSNZqywi; arc=none smtp.remote-ip=91.218.175.7 Received: from mta0.migadu.com (out-7.mta0.migadu.com [91.218.175.7]) (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 063EA606A32C for ; Tue, 1 Dec 2026 06:29:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 063EA606A32C 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=pSNZqywi X-Envelope-To: linux-wireless@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=T2MKtImiQ5GcpMo/7dgSmqmt5G5k041EWdvNfrAwyps=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796106561; v=1; x=1796711361; b=pSNZqywiCdS8+hUsb4mSu2a1mIKX0BravX5JjNDf1tMWpICaGoLb9iVkxRxwagBINBuY6ypg +ApnvHT1UIC+MhUKgwie8X1YJjw03S3NvqkcKG1VBfERO4yuYLkpGhyjduAVpUtyse7qmx3s9QF UQbAhesQltnMPgsSTdEBnK5M= X-Envelope-To: linux-wireless@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 4c45c8aa38384d3c; Tue, 01 Dec 2026 06:29:20 +0000 X-Mizu-Trace-ID: 4c45c8aa38384d3c X-Migadu-Flow: FLOW_OUT Date: Tue, 01 Dec 2026 07:29:18 +0100 From: Luka Gejak To: =?ISO-8859-1?Q?Pablo_Mart=EDnez_R=EDos?= CC: linux-wireless@vger.kernel.org, Bitterblue Smith , Ping-Ke Shih Subject: =?US-ASCII?Q?Re=3A_rtw88=3A_RTL8822BE_=2810ec=3Ab822=29_n?= =?US-ASCII?Q?ever_authenticates_on_5_GHz_with_a_?= =?US-ASCII?Q?Huawei_router=3B_poor_2=2E4_GHz_link=3B_?= =?US-ASCII?Q?same_hardware_works_fine_on_Windows?= In-Reply-To: References: <2c8319def838488cb8a3e4d5dc44f357@realtek.com> <7d68ebe2-d24e-4c07-9b49-7f76551a12bb@gmail.com> <36da0b32-9f97-4e82-a06e-53dcd42125dd@gmail.com> <8f5486b8-9bcd-4c6c-b0ab-500bb80ebf00@gmail.com> <3E4C2E08-4DB8-4017-954D-C2412CEB171A@linux.dev> Message-ID: <79770308-4769-474A-91D9-018540547533@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: multipart/mixed; boundary=----Y7BVMDYWJLX1YJ57RFJM7SBQJZUJD4 Content-Transfer-Encoding: 7bit ------Y7BVMDYWJLX1YJ57RFJM7SBQJZUJD4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Pablo, Thanks for checking both widths. Two comments below. On November 29, 2026 11:14:17 AM GMT+01:00, Pablo Martínez Ríos wrote: > So with the radio on CH=36 BW=0 the station-mode authentication still > fails; That takes the wide channel setup out of the station test. Both paths use the same PCI management queue and request a firmware TX report. The station uses its interface MACID, usually zero with just one interface. The monitor on its own uses zero. The station's MAC address is programmed at interface setup and the AP BSSID before auth. The driver sets up rate adaptation for the AP at association. There can still be a rate difference. The station uses the lowest basic rate from the BSS and the monitor on its own uses 6 Mbps. Could you check the rates marked with a star in iw scan dump? If the lowest basic rate is above 6 Mbps, try writing 1 to rtw88/force_lowest_basic_rate in debugfs and repeat the upstairs test at 20 MHz. That forces 6 Mbps for auth. Please restore the previous value afterwards. [ ... ] > a debug patch printing the TX descriptor and TX report status I found something specific to try. Just before sending auth, the station calls rtw_ops_mgd_prepare_tx(). That selects the 2.4 GHz coexistence path even on channel 36. On your RFE type the 5 GHz path uses different antenna switch settings and gives WiFi a fixed grant. Writing 0 to coex_enable skips that notification. The write itself leaves the antenna switch and grants as they were. If the rate check does not explain it, could you try the attached diff with coex enabled and the router still at 20 MHz? A few attempts from the same spot with the original build, with the diff, and then with the original again would show if auth follows that change. With debug_mask including 0x40 you should see the connect notification change from "2G start" to "5G start". The same card capture could still help if it shows an incoming ACK or auth response. The outgoing copy comes from TX status, and rtw88 does not fill in the actual TX rate there. I'd start with the test above. Best regards, Luka Gejak ------Y7BVMDYWJLX1YJ57RFJM7SBQJZUJD4 Content-Type: text/x-diff; name=test-5ghz-coex.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=test-5ghz-coex.patch; size=652 ZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L3dpcmVsZXNzL3JlYWx0ZWsvcnR3ODgvbWFjODAyMTEu YyBiL2RyaXZlcnMvbmV0L3dpcmVsZXNzL3JlYWx0ZWsvcnR3ODgvbWFjODAyMTEuYwotLS0gYS9k cml2ZXJzL25ldC93aXJlbGVzcy9yZWFsdGVrL3J0dzg4L21hYzgwMjExLmMKKysrIGIvZHJpdmVy cy9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydHc4OC9tYWM4MDIxMS5jCkBAIC03MTAsNiArNzEwLDkg QEAgc3RhdGljIHZvaWQgcnR3X29wc19tZ2RfcHJlcGFyZV90eChzdHJ1Y3QgaWVlZTgwMjExX2h3 ICpodywKIAltdXRleF9sb2NrKCZydHdkZXYtPm11dGV4KTsKIAlydHdfbGVhdmVfbHBzX2RlZXAo cnR3ZGV2KTsKLQlydHdfY29leF9jb25uZWN0X25vdGlmeShydHdkZXYsIENPRVhfQVNTT0NJQVRF X1NUQVJUKTsKKwlpZiAocnR3ZGV2LT5oYWwuY3VycmVudF9iYW5kX3R5cGUgPT0gUlRXX0JBTkRf NUcpCisJCXJ0d19jb2V4X2Nvbm5lY3Rfbm90aWZ5KHJ0d2RldiwgQ09FWF9BU1NPQ0lBVEVfNUdf U1RBUlQpOworCWVsc2UKKwkJcnR3X2NvZXhfY29ubmVjdF9ub3RpZnkocnR3ZGV2LCBDT0VYX0FT U09DSUFURV9TVEFSVCk7CiAJcnR3X2NoaXBfcHJlcGFyZV90eChydHdkZXYpOwogCW11dGV4X3Vu bG9jaygmcnR3ZGV2LT5tdXRleCk7CiB9Cg== ------Y7BVMDYWJLX1YJ57RFJM7SBQJZUJD4--