I have a Retropie and I use wpa_supplicant to manage my connection there. It looks like this: the router is downstairs and I use a repeater in the room next to the Retropie to have better wifi coverage upstairs. The router itself is reachable, but the signal strength is worse. So, as a fallback, I put both the router and the repeater connection in my wpa_supplicant config file with the router having a lower priority. Still, sometimes my retropie clings onto the worse connection for some reason and there is no way to change it but to do a complete reboot. If I just restart the wifi with ifdown and ifup, it will either not reconnect to any wifi at all or reconnect to the shittier connection again, it’s kinda a fifty-fifty. A reboot will always properly choose the best signal tho and I am very confused why this is happening. Any ideas?