Is your laptop, by any chance, an HP? I had the same issue with wifi and finally, after about a year of frustration, found the solution HERE. To save a click, here's the part that worked for me, with the disclaimer that I don't honestly know how this works, but by the time I found it I was frustrated enough to run random code from the internet with sudo privileges on my main machine:
https://github.com/seleuco/MAME4droid-2024/releases
Based on the latest build. Haven't used it much, but it seems to work pretty well on my OnePlus 8T.