I am so happy with this phone but this on and off wifi is enough to make me take it back in 14 days. GRRRRRRRRRRRR
DoneOops wrong forum. Galaxy s7 edge. Mods please move to that forum, Thanks.
Have you tried turning off Wi-FI Scanning? Most of the time this is what's causing the constant wifi toggling.
Settings > Privacy & Safety > Location > Improve Accuracy > Wi-Fi- Scanning.