I would also like to share what worked for me.
Initially Samsung S7 Edge wouldn't connect to Wi-Fi via D-link DIR-320 router: it detected the network, but made no attempts to connect, or when forced to connect manually, nothing happened. A dozen other devices in the household were working with...