Linux wireless drivers development
 help / color / mirror / Atom feed
* RTL8851BE: 5 GHz 80 MHz/HE beacon loss then auth timeout since 7.3
@ 2026-11-09 10:16 Tan Hao
  2026-11-10  1:41 ` Ping-Ke Shih
  0 siblings, 1 reply; 6+ messages in thread
From: Tan Hao @ 2026-11-09 10:16 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ping-Ke Shih

Hi,

On RTL8851BE, 5 GHz 80 MHz/HE association succeeds, then the STA
loses beacons within about one second. After that, every 5 GHz
authentication times out until rtw89_8851be is unloaded. 2.4 GHz
and 5 GHz HT20/HT40 stay up. This started in 7.3.0; 7.2.11 is fine
with the same firmware file.

I am still bisecting. This is a report only, no patch yet.


Hardware
--------

  Laptop: Acer S16-41L (AMD Phoenix)
  PCI:    02:00.0 Network controller [0280]: Realtek RTL8851BE [10ec:b851]
  Driver: rtw89_8851be
  Chip:   CID 0, CV 1, AID 0, ACV 0, RFE 5
  FW:     rtw89/rtw8851b_fw-1.bin  0.29.41.5 (4bd6ebac)
  linux-firmware-realtek 20261019

  Both the working 7.2.11 kernel and the failing 7.3.x kernels load
  this same fw-1.bin (format 1). 6.18 LTS still requests the older
  rtw8851b_fw.bin; I have not used LTS as the primary comparison.

  Module parameters already set (do not avoid the failure):

    rtw89_core.disable_ps_mode=Y
    rtw89_pci.disable_aspm_l1=Y
    rtw89_pci.disable_aspm_l1ss=Y
    rtw89_pci.disable_clkreq=Y

  Regulatory: country CN, DFS-FCC. Channel 149 is allowed (33 dBm).
  SER L0/L1 counters stay 0; fw_crash is 0.


Kernels

  Good: 7.2.11 (CachyOS bore-lto, rtw89 from 7.2)
  Bad:  7.3.0 and 7.3.3 (CachyOS, rtw89 from 7.3)
  User-space: NetworkManager 1.58 + wpa_supplicant 2.12, nl80211


APs (same room, RSSI typically -30..-50 dBm)

  Dual-band SSID "GuWolf":
    5 GHz  BSSID 1e:40:e8:12:08:63  5745 MHz ch149  HE80  ~1170 Mbit  WPA2/WPA3 SAE
    2.4 GHz BSSID 1e:40:e8:12:08:62  2462 MHz ch11   HT40  WPA2/WPA3 SAE

  5 GHz-only SSID "UINT_MAX":
    BSSID 4e:69:b1:c6:62:64  5745 MHz ch149  HE80  WPA2-PSK

  On 7.2, UINT_MAX also worked on UNII-1 (5220/5240) and after a CSA
  to 5745 MHz / 80 MHz. So this is not limited to a single AP.


Reproducer

  1. Boot 7.3.x with the stock rtw89 driver (do not mask HE/VHT).
  2. Connect to either 5 GHz BSSID above (SAE or PSK, same result).
  3. Association completes; beacons are lost ~1s later.
  4. Re-auth to any 5 GHz AP times out. 2.4 GHz still works.
  5. Recovery: modprobe -r rtw89_8851be rtw89_8851b rtw89_pci rtw89_core
     && modprobe rtw89_8851be
     The next 5 GHz attempt can associate once, then the same loss
     repeats.


Logs (7.3.3, GuWolf 5 GHz, typical)

  wlan0: authenticate with 1e:40:e8:12:08:63
  wlan0: send auth to 1e:40:e8:12:08:63 (try 1/3)
  wlan0: authenticated
  wlan0: associate with 1e:40:e8:12:08:63
  wlan0: RX AssocResp from 1e:40:e8:12:08:63 (capab=0x11 status=0 aid=2)
  wlan0: associated

  wpa_supplicant:
    Associated with 1e:40:e8:12:08:63
    CTRL-EVENT-BEACON-LOSS
    CTRL-EVENT-DISCONNECTED bssid=1e:40:e8:12:08:63 reason=4 locally_generated=1

  Then:

  wlan0: send auth to 1e:40:e8:12:08:63 (try 1/3)
  wlan0: send auth to 1e:40:e8:12:08:63 (try 2/3)
  wlan0: send auth to 1e:40:e8:12:08:63 (try 3/3)
  wlan0: authentication with 1e:40:e8:12:08:63 timed out

  UINT_MAX (WPA2-PSK) is the same pattern; one run associated, then:

    CTRL-EVENT-BEACON-LOSS
    (no 4-way completion)

  After a module reload, UINT_MAX associated again and wpa_supplicant
  completed the 4-way, then lost beacons ~1s later in other runs.

  Scan still lists the 5 GHz BSS at full signal while auth TX fails,
  so 5 GHz RX of beacons during scan works; 5 GHz TX after the failed
  80 MHz session does not, until reload.


What does not fix it

  - disable_ps_mode / disable_aspm_l1 / disable_aspm_l1ss / disable_clkreq
  - NetworkManager wifi.powersave=2, scan-rand-mac-address=no
  - Raising mac80211.beacon_loss_count from 7 to 80: disconnect
    delayed from ~1s to ~9s, still zero beacons in that window
  - Reloading without actually resetting the 5 GHz PHY (just
    reconnect) is not enough once the first 80 MHz session has died


What does work on the same 7.3.3 kernel

  Forcing HT-only (wpa_supplicant disable_he=1 disable_vht=1), so the
  AP falls back to HT20/HT40 on 5745 MHz:

    wlan0: AP 4e:69:b1:c6:62:64 changed bandwidth in assoc response,
           new used config is 5745.000 MHz, width 1 (5745.000/0 MHz)
    WPA: Key negotiation completed
    iw: HT40 MCS 7, ~150 Mbit/s, beacon loss 0, DHCP OK

  Both SSIDs stay up this way. I am using that only as a local
  workaround, not as a proposed driver change.


Firmware elements on 7.3.3

  Firmware element BB version: 00 17 00 00
  Firmware element radio A version: 00 28 00 00
  Firmware element NCTL version: 00 0b 00 00
  Firmware element TXPWR version: 00 48 00 00
  Firmware element PWR_TRK version: 00 22 00 00
  Firmware element REGD version: 00 49 00 06


I can capture rtw89 debug_mask traces comparing a working HT40
session with a failing HE80 session, and I can test patches on this
RTL8851BE. Please tell me which debug bits you want.

Thanks,
Tan Hao

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-12  1:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 10:16 RTL8851BE: 5 GHz 80 MHz/HE beacon loss then auth timeout since 7.3 Tan Hao
2026-11-10  1:41 ` Ping-Ke Shih
2026-11-10  6:33   ` Hao Tan
2026-11-10  7:04     ` [PATCH] wifi: rtw89: coex: Disable pre-AGC for out-of-band links Hao Tan
2026-11-12  1:54       ` Ping-Ke Shih
2026-11-10  7:29     ` RTL8851BE: 5 GHz 80 MHz/HE beacon loss then auth timeout since 7.3 Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox