My Samsung smart TV is not connecting to Wi-Fi

I bought Samsung Smart TV a few months back, it was working perfectly fine, but then it does not recognize my home WiFi, it even fails to detect any WiFi connection! Most shocking thing is it is not showing its own WiFi's SSID. What should I do to resolve the issue? Is there any master reset?
