If the printer is able to connect to your wireless network, it means the wireless radio in the printer is working fine. Firmware update will not cause this issue.
Restart the wireless router, the printer, and the PC
Make sure the printer and the PC are connected to the same wireless network.
This printer supports only 2.4GHz network. So, the PC should be on the 2.4GHz network.
If you have a Dual-band router and both 2.4GHz and 5GHz networks share the same name/SSID, the printer will not be able to connect to the network. In this case, contact your Internet service provider to assign different names to both the networks.
Also, check if MAC address filtering is enabled on the router. If yes, this printer has to be added to the 'allowed devices' list on your router.
Check for any firewalls installed.
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".