Probably keeping my Moto X4
I’ll put a custom ROM on it, as soon as I can. Then I’ll know if the WiFi disconnecting is software or hardware, if it’s hardware, I’m screwed, zero warranty after flashing a custom ROM.
The WiFi didn’t disconnect in the previous Android version, it downloaded the Oreo update without any problems.
Keep it till I can get a phone for $300 or less with 5 GHz AC wireless.