@MEHERYash Have you run a wireless card test on your computer?
Download and install the HP Hardware diagnostics tool from this link.
Once installed, shut down your computer.
Wait for a minute.
Turn the computer On and keep tapping F2 repeatedly on startup to enter system diagnostics.
Select the component test and run a wireless test on your computer.
Refer to this HP Article for assistance.
If the test fails or does not detect the wireless card, it could be faulty.
P.S: Welcome to HP Community 😉
Let me know how that pans out,
If you feel I was helpful, simply click on Accept as Solution to help the community grow,
That said, I will have someone follow-up on this to ensure you've been helped,
Just in case you don't get back to us within 24 - 48hrs, and have a good day, ahead.
Riddle_Decipher
I am an HP Employee