First thing you need to do is get your laptop connected. Do you have a spare network cable and a spot on your router? I would suggest plugging it in directly as this will help to correct the wifi issues.
2nd, we need to see the output of “lspci” from the terminal so that we can get an idea of what wifi card/chipset your particular HP laptop has.
I have two different HP laptops and both work well under Ubuntu 20.04LTS.
I see you have another thread of the same issue, please continue on that thread.