I have a new install of Linux Mint but the wifi doesn't work (the lan is fine).

The message on the menu says "wifi is disabled by hardware switch".

I think it needs a driver. So I downloaded sp52229.tar from
https://support.hp.com/us-en/drivers...ook-pc/5045605

Then I used alien to convert the rpm to deb because Linux Mint doesn't use rpm. During the conversion I got error such as
warning: iwlagn-kmp-pae-2.6.36_2.6.32.27_0.2-0.3.1.i586.rpm: Header V3 RSA/SHA256 Signature, key ID 307e3d54: NOKEY

This is the output from the diagnostic tool:
https://pastebin.com/fNWZ86ZV