You may need to replace the USB port. This is fairly easy to do. It is soldered onto the circuit board with 6 contact pins. If you do not know how to solder iFixit has a great guide here. Come saldare e dissaldare componenti elettrici Make sure the soldering iron reaches temperatures higher than 300 degrees Fahrenheit. Hope everything works well for you.
You may have a problem with signal interference from other routers. You can try changing the channel your router is on. To do this you need to connect to the routers ip address. The address can be found by googling your router model ip address. Once in the settings you can try changing channels and finding which channel has the best connection.