> -----Original Message----- > From: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> > Sent: Friday, March 1, 2024 6:34 AM > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Sascha Hauer <sha@xxxxxxxxxxxxxx> > Subject: [PATCH v2 2/4] wifi: rtw88: 8821cu: Fix connection failure > > Clear bit 8 of REG_SYS_STATUS1 after MAC power on. > > Without this, some RTL8821CU and RTL8811CU cannot connect to any > network: > > Feb 19 13:33:11 ideapad2 kernel: wlp3s0f3u2: send auth to > 90:55:de:__:__:__ (try 1/3) > Feb 19 13:33:13 ideapad2 kernel: wlp3s0f3u2: send auth to > 90:55:de:__:__:__ (try 2/3) > Feb 19 13:33:14 ideapad2 kernel: wlp3s0f3u2: send auth to > 90:55:de:__:__:__ (try 3/3) > Feb 19 13:33:15 ideapad2 kernel: wlp3s0f3u2: authentication with > 90:55:de:__:__:__ timed out > > The RTL8822CU and RTL8822BU out-of-tree drivers do this as well, so do > it for all three types of chips. > > Tested with RTL8811CU (Tenda U9 V2.0). > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>