Its a hardware issue and cant be fixed by doing anything on software or upgrade. there is a chance it could be fixed by replacing Bluetooth and wifi module (not very cheap for the part ) if didn't work then you need to replace the whole motherboard (and its as good as buying a new phone)