as you many not know , wifi can be problematic, for sure in locations of heavy wifi traffic. (air ports?)
are you at home or in some place , risky like a hotel, or other dense populated (people and wifi devices) place?
in most cases if all devices in your home, fail for wifi it is not a HP problem ever, nor all the other devices problems.
does your cell phone set to wifi worK" y/n (mine has 3g or wifi choices, i can flip to wifi and test wifi with my s5)
if yes, wifi is ok
if not , not.
reset your router, or if you have a router /modem all in one device, in your home, reset it.
just push the reset button for 1second max, not a long reset or all your credentials will be lost. even the SSID name lost.
how far are you from said router.
10ft or 100feet (100 is fail) test wifi closer to the router, (wifi) or AP, your access point.
NO warranty answers by me.