lwfinger / rtw88

A backport of the Realtek Wifi 5 drivers from the wireless-next repo.
596 stars 175 forks source link

WiFi scanning not working in AP mode #218

Open GCic8 opened 1 month ago

GCic8 commented 1 month ago

Hi, the driver for RTL8723DU works really well but when I'm in AP mode i cannot scan wifi networks. Below the output:

iwlist wlan0 scan

wlan0 Interface doesn't support scanning : Operation not supported

iw dev wlan0 scan

command failed: Operation not supported (-95)

iw dev wlan0 scan ap-force

command failed: Operation not supported (-95)

Any suggestion?

morrownr commented 1 month ago

Hi @GCic8

Does anything work in AP mode?

Are you using hostapd?

GCic8 commented 1 month ago

Hi,I'm using hostapd and it works very well, both in client mode (using WPA supplicant) and AP mode (using hostapd). The only thing not working is ssid scanning while in AP mode.I'm on Debian bookworm with kernel 6.6

morrownr commented 1 month ago

@GCic8

Got it. The priority right now is upstreaming the new rtw8821au and rtw8812au drivers. You are welcome to use my out-of-kernel driver for now if you want:

https://github.com/morrownr/88x2bu-20210702

dubhater commented 1 month ago

You get "Operation not supported" because rtw88 doesn't advertise support for scanning in AP mode. You should ask the linux-wireless@vger.kernel.org for the reason why.