I would switch to a controller with an External antenna like an Esp8266 Pro or an Esp32 with external antenna.
If you choose the Esp8266 Pro you will need some decent soldering skills as to use the ext ant you need to remove a zero Ohm resistor and reattach it connected to different pins, or you can break the ceramic antenna off and just solder a wire from its first pad to the other pin where the resistor needed to be relocated to.
The easy route and my preferred way would be to use an Esp32 with ext ant. I also feel like the Esp32’s have a greater wifi range.
Esp8266 Pro: https://www.amazon.com/Mini-Pro-ESP8266-ESP-12-Microcontroller/dp/B0CCLR972K/ref=sr_1_3
Esp32 Ext Ant: https://www.amazon.com/gp/product/B0B64TWJQX/ref=ppx_yo_dt_b_search_asin_title
If you get the Esp32 you will need an antenna: https://www.amazon.com/Antenna-RP-SMA-2-4Ghz-Extension-Notebook/dp/B07QKD56TT/ref=sr_1_19