It's very possible you have a signal interference problem. You need to determine the best setup for your situation and configure the router and phone accordingly. To find the best setup try using WiFi Overview 360. The free version is probably all you need but the Pro version is cheap.
https://forums.androidcentral.com/e?...token=q6B9pHM2
Give the 5GHz and 2.4GHz bands different SSID names. Makes it easy to tell them apart. When setting up the 5GHz band usually it's best to set the router to use a channel well over 100. Over 150 if there's a clear channel. For both bands of course use channels with the least interference and best signal as indicated by WiFi Overview 360.
Android since v1.0. Linux since 2001.