Hi @sreemonrs
How close to the WiFi hub is the laptop?
Try using it as close as 10-15cm from the router and check if it detects the network at all.
''If it does'' then there may be an antenna problem in the laptop. Loose connection perhaps.
Here's the [http://h10032.www1.hp.com/ctg/Manual/c04642845.pdf|maintenance and service guide] taken from this support [https://support.hp.com/us-en/product/setup-user-guides/hp-pavilion-15-notebook-pc-series/model/10303675|webpage] for the laptop.
Go to p.51 to view the procedure to remove/replace the WLAN card. This will allow you to inspect the antenna cable connections.
''If it still doesn't'' and assuming that the WLAN adapter shows that it is working OK in Device Manager, it may be a faulty WLAN card.
To check the status of the adapter in Device Manager, press the Win key + x key (both together) and click on the Device Manager link in the menu box that opens.
When in Device manager scroll down to Network Adapters → click on > to expand the list → ''right click'' on the Intel Dual Band Wireless-AC 3165 entry → Properties → General tab and check in the Device status box that it shows " This device is working properly".