Reset your network settings it will solve your problem. You can refer this article https://okadtech.com/samsung-s6-edge-wifi-not-working-problem-solution/ Wifi, network problem both easy solution is reset the network settings your problem will be solved.