So if I understand you correctly, your WiFi board is broken. In case of the iPhone, you would be looking for the communication board. I believe it handles GPS , Bluetooth, and WiFi. You can get it from here and I am sure other places as well. The instructions are here It is not cheap, nor easy, so good luck to you.