The Wifi on my samsung galaxy s7 edge keeps cutting out - I have a superhub 3 and after a few minutes an exclaimation mark appears next to the wifi symbol on my phone and the wifi on the device stops working. If I disconnect and reconnect the Wifi on my phone it works again for a while before the same exclaimation mark appears again. It's so annoying!
Are other wifi devices staying connected ok? I had the exact same issue as you with the same phone and it turned out to be the phone at fault. My sister in law was the same. Not sure if some sort of update caused issues with the S7's wifi.
I didn't no, I ended up having to upgrade to the Samsung S10. Not sure if you can maybe roll back to an older version of Android or just even an earlier revision of the current software. Mine seemed to work fine up until a particular software update, unfortunately, I cannot remember which one it was.