First change the wep encryption to just wpa2 (CCMP)(AES) not (TKIP) if you have that option it will work best.
If your router is capable of N speeds, it is better to use a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz.
Second set your wireless channel in the router to 1 or 11 then save the router configuration and reboot it.
Third go into network manager at top right corner of the screen and click on edit connections>wireless tab and set IPV6 to ignore.
Fourth turn power management off:
gksudo gedit /etc/pm/power.d/wireless
(this will create or edit a configuration file that will override the default power management behavior) and enter the following:
#!/bin/sh
/sbin/iwconfig wlan0 power off
above exit0, then save gedit, close and reboot.
sudo apt-get --purge autoremove linux-firmware-nonfree && sudo apt-get install linux-firmware-nonfree
– Jul 26 '14 at 23:02