for context i always used wi fi cause of the way my house is built i can’t use an ethernet cable, and i never had problems with it but just like 5 minutes ago i booted up the pc and the option to connect to wi fi is literally gone, even if i go to settings and then go into the network subsection there is literally no option for the wifi, like if my pc never supported it
Maybe you accidentally pressed fn+wifi button (fn+f12 maybe, check on your keyboard any wifi button). Could be airplane mode as well.
If not, it’s probably drivers issue (system files could die cuz your drive was moving and damaged), check your laptop model, go to official HP site, find WLAN drivers for your model and install.
If this won’t help either, probably shitOS update incident, reinstall to LTSC.