2024-05-27 15:10:36

by zhefeng xu

[permalink] [raw]
Subject: Issues with rtw_8822cu

Hi,

Recently I started working on a test of STA+AP setup on rtw_8822cu card on a linux system.

The environment I know so far:

linux version: 5.15.71

driver: https://github.com/lwfinger/rtw88, update to commit 31187d3


The rtw_8822cu (with cpu model imx8mq) connects to my home router first (could be 2.4MHZ or 5G).

After that, I start a script to set up an AP hotspot on the same rtw_8822cu. script: https://github.com/garywill/linux-router

Then STA+AP can be set up successfully. Keep it running for a few hours before I notice logs printed out:

[May27 13:38] rtw_8822cu 3-1:1.2: failed to poll iqk status bit

[ +0.263848] rtw_8822cu 3-1:1.2: error beacon valid

[ +0.005345] rtw_8822cu 3-1:1.2: failed to download drv rsvd page

[ +0.006703] IPv6: ADDRCONF(NETDEV_CHANGE): x0wlan0: link becomes ready

[ +3.941709] rtw_8822cu 3-1:1.2: error beacon valid

[ +0.005257] rtw_8822cu 3-1:1.2: Download probe request to firmware failed

[ +0.007050] rtw_8822cu 3-1:1.2: Update probe request failed

[ +0.159816] rtw_8822cu 3-1:1.2: error beacon valid

[ +0.005230] rtw_8822cu 3-1:1.2: failed to download drv rsvd page

[ +0.006030] rtw_8822cu 3-1:1.2: HW scan download beacon failed

[ +0.140620] rtw_8822cu 3-1:1.2: error beacon valid

[ +0.006253] rtw_8822cu 3-1:1.2: failed to download drv rsvd page

[ +0.006221] rtw_8822cu 3-1:1.2: HW scan download beacon failed

[ +0.028311] rtw_8822cu 3-1:1.2: HW scan failed with status: -16

[May27 13:39] rtw_8822cu 3-1:1.2: error beacon valid

[ +0.005346] rtw_8822cu 3-1:1.2: Download probe request to firmware failed

[ +0.006826] rtw_8822cu 3-1:1.2: Update probe request failed

[ +0.025609] rtw_8822cu 3-1:1.2: HW scan failed with status: -16


After it, I'm not able to find the AP ssid from scan, but the old connection to the AP still would be alive. (the linux-router script still running)

Restarting the linux-router script wouldn't help, no AP ssid seen from scan any more. Interestingly STA still works, ping still can reach remote hosts.

I suspect 1 of the cellphones' disconnect from AP could trigger the issue (cellphone is in low power), and so far haven't found any way to recover from it unless reloading the driver.

Please help give me some insights on the issue.

Thanks,

Zhefeng