Re: r8188eu driver in 5.15 only shows wifi networks on channel 11

Pavel Skripkin
2021-11-06T09:48:35Z

On 11/6/21 11:32, Pavel Skripkin wrote:
> On 11/6/21 00:03, Zameer Manji wrote:
>> Hello Pavel,
>>
>> I will attempt to bisect the issue.
>>
>> So far I can confirm it occurs in 5.15-rc1.
>>
>> I also forgot to mention that this issue occurs on an arm64 platform
>> if it matters. Would you be able to test this issue out in an arm64
>> VM?
>>
>>
>
> Hi, Zameer!
>
> I think, I can build aarch64 kernel and test it in vm.
>
> Btw, did you try to enable debug logs? debug=9 module argument will turn
> on all debug logs and maybe there will be some additional information
> about what actually happened
>
>

Test results from aarch64 vm. My qemu configuration is

```
qemu-system-aarch64 \
-machine virt \
-drive file=./debian-rootfs-aarch64.img,format=raw \
-cpu cortex-a57 -machine type=virt \
-nographic \
-smp 2 -m 4096 \
-kernel arch/arm64/boot/Image \
-net user,hostfwd=tcp:127.0.0.1:55555-:22 \
-net nic,model=virtio \
-device usb-ehci \
-usb -device
usb-host,hostbus=$BUS,hostaddr=$DEVICE,guest-reset=false,id=tp \
-append "root=/dev/vda1 rw nosplash"

```

if something is wrong here, please, let me know, i will retest. I am not
an expert in arm :)

And test results:

```
root@debian-vm-aarch64:~# iwlist wlx28ee5214eeb6 scanning | grep "Channel"
Frequency:2.437 GHz (Channel 6)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.412 GHz (Channel 1)
Frequency:2.417 GHz (Channel 2)
Frequency:2.417 GHz (Channel 2)
Frequency:2.427 GHz (Channel 4)
Frequency:2.422 GHz (Channel 3)
Frequency:2.427 GHz (Channel 4)
Frequency:2.427 GHz (Channel 4)
Frequency:2.442 GHz (Channel 7)
Frequency:2.432 GHz (Channel 5)
Frequency:2.437 GHz (Channel 6)
Frequency:2.452 GHz (Channel 9)
Frequency:2.452 GHz (Channel 9)
Frequency:2.462 GHz (Channel 11)
Frequency:2.452 GHz (Channel 9)
Frequency:2.462 GHz (Channel 11)
Frequency:2.457 GHz (Channel 10)
Frequency:2.467 GHz (Channel 12)
Frequency:2.462 GHz (Channel 11)
Frequency:2.462 GHz (Channel 11)
Frequency:2.472 GHz (Channel 13)
Frequency:2.462 GHz (Channel 11)
Frequency:2.472 GHz (Channel 13)
Frequency:2.472 GHz (Channel 13)
Frequency:2.412 GHz (Channel 1)
Frequency:2.422 GHz (Channel 3)
Frequency:2.432 GHz (Channel 5)
Frequency:2.432 GHz (Channel 5)
Frequency:2.432 GHz (Channel 5)
Frequency:2.442 GHz (Channel 7)
root@debian-vm-aarch64:~# uname -a
Linux debian-vm-aarch64 5.15.0 #3 SMP PREEMPT Sat Nov 6 12:10:40 MSK
2021 aarch64 GNU/Linux
root@debian-vm-aarch64:~# lsusb
Bus 001 Device 002: ID 2357:010c TP-Link TL-WN722N v2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@debian-vm-aarch64:~#

```

I didn't try to connect to my wifi, since your problem occurs even
before connecting

Any ideas about how to reproduce or what have I done wrong? :)

With regards,
Pavel Skripkin