Setting ret to -1 did the job, wifi works again as expected. Here is the output of dmidecode https://ignaz.org/nextcloud/index.php/s/tZdjYYdyeWpHPH4 Thanks a lot "Ping-Ke Shih" pkshih@realtek.com – 2024年9月18日 15:02
Marcel Weißenbach mweissenbach@ignaz.org wrote:
Hi there, i upgraded my Archlinux testing setup from 6.10.9 to 6.11 and noticed that my wifi is no longer working.
Checking the commits between 6.10.9 and 6.11, I feel the cause is 1fd4b3fe52ef ("wifi: rtw89: pci: support 36-bit PCI DMA address") Seemingly there is 36-bit PCI DMA interoperability on RTL8852BE. Could you please try below to comment out the function? diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c index 02afeb3acce4..039fc329c6f7 100644 --- a/drivers/net/wireless/realtek/rtw89/pci.c +++ b/drivers/net/wireless/realtek/rtw89/pci.c @@ -3061,7 +3061,7 @@ static int rtw89_pci_setup_mapping(struct rtw89_dev *rtwdev, goto err; }
- ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
- ret = -1;//dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(36));
if (!ret) { rtwpci->enable_dac = true; rtw89_pci_cfg_dac(rtwdev); If this helps, please provide your DMI info by 'sudo dmidecode'. I will build a quirk table for it since I don't know what the exact settings affect this.