If you are experiencing regular latency spikes on your WLAN in widows 7/8, it could be because of windows “Auto configuration logic”. the solution is to disable it by following command :
netsh wlan set autoconfig enabled=no interface="NAME_OF_WLAN_INTERFACE"
Replace NAME_OF_WLAN_INTERFACE with your own WLAN interface name.