Wi-Fi Speed Capped by Linux? Fixes That Work
In this article
Yes, Linux can cap your Wi-Fi speed well below your router's rating, but it is rarely the router's fault. The usual culprits are power management, driver settings, and regulatory domain restrictions, all of which are fixable in a few minutes.
Why Linux Wi-Fi Speeds Lag Behind
Linux uses open-source drivers for most Wi-Fi chips, and these drivers often default to conservative settings to ensure stability across a wide range of hardware. Two of the most common speed killers are:
- Wi-Fi power saving – the driver periodically powers down the radio to save battery, which adds latency and reduces throughput.
- Regulatory domain – Linux defaults to a broad, safe region (usually '00') that may disable higher-power channels or wider channel widths that your router uses.
Additionally, some proprietary drivers (like those for Broadcom or Realtek chips) are reverse-engineered and may lack optimizations found in official Windows or macOS drivers.
How to Check Your Current Speed and Driver
Before changing anything, measure your baseline. Use a speed test website or a local tool like iperf3 to test against a server on your LAN. Then identify your Wi-Fi chip and driver:
- Run
lspci -k | grep -A 3 -i network(orlsusbfor USB adapters) to find the chipset. - Check the driver in use with
lspci -korethtool -i wlan0(replace wlan0 with your interface). - Look at current link speed with
iw dev wlan0 link– it shows the negotiated rate (e.g., 866 Mbps for 802.11ac).
If the link speed is already at the router's max, the bottleneck is elsewhere (internet plan, cable, router settings). If it's lower, proceed to the fixes.
Disable Wi-Fi Power Management
Power saving is the most frequent cause of slow Wi-Fi on Linux. To disable it temporarily:
sudo iw dev wlan0 set power_save offTo make it permanent, create a systemd service or add a script to /etc/NetworkManager/dispatcher.d/. A simple way is to edit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and set wifi.powersave = 2 (2 means disable). Then restart NetworkManager: sudo systemctl restart NetworkManager.
Note: Some drivers ignore this setting. For Intel cards, you can also use sudo iwconfig wlan0 power off, though this is deprecated.
Set the Correct Regulatory Domain
Your router may be using channels or power levels not allowed in the default '00' domain. To set your country (e.g., US, DE, JP):
- Install
crdaif not present. - Edit
/etc/default/crdaand setREGDOMAIN=US(or your two-letter code). - Reboot or run
sudo crdaafter setting the environment variable.
After this, check if your router's channel and width (e.g., 80 MHz on 5 GHz) are now allowed. You may need to switch your router to a channel permitted in your country.
Adjust Driver Options for Better Throughput
Some drivers have module parameters that affect performance. For example, the ath9k driver has nohwcrypt and ps_enable options. For Intel iwlwifi, you can disable power save with options iwlwifi power_save=0 in a file under /etc/modprobe.d/. For Realtek rtl8xxxu, you might need to disable ASPM (power management) via options rtl8xxxu aspm=0.
Research your specific chipset and driver to find known tweaks. The Arch Linux wiki and Ubuntu forums have per-driver pages with tested options.
Common Pitfalls and Misconceptions
- It's not always Linux – Test with a live USB of another distro or a different OS to isolate the issue.
- Channel width matters – If your router is set to 20 MHz only, you'll never get above ~100 Mbps. Ensure it's set to 40/80/160 MHz as appropriate.
- Driver firmware – Some drivers require proprietary firmware that isn't installed by default. Install
linux-firmwareor the distro's non-free package. - NetworkManager roaming – Sometimes NetworkManager switches to a weaker band. Set
band=5Gin your connection profile if you're near the router.
Alternatives: When Tweaks Aren't Enough
If your chipset has poor Linux support, consider a USB Wi-Fi adapter with a well-supported chipset (e.g., Intel or Atheros). These often work out-of-the-box with the mainline kernel. If you need maximum speed and low latency, a wired Ethernet connection is always faster and more stable.
Frequently Asked Questions
Why is my Wi-Fi slower on Linux than on Windows?
Because the Windows driver is often more optimized and may use proprietary features like MU-MIMO or beamforming that the Linux driver doesn't enable by default. Also, Windows may not have power saving enabled by default on AC power.
Will disabling power management damage my battery?
It will reduce battery life, but not significantly for most users. On a laptop, you might see 20-30 minutes less on a full charge. If you need to save battery, you can re-enable it when on the go.
How do I know if my router supports 5 GHz?
Check the router's specs or admin page. Most dual-band routers have a 5 GHz SSID that you can connect to. If you're using 2.4 GHz only, you're likely limited to 300 Mbps or less.
What does 'link speed' mean in iw output?
It's the theoretical maximum PHY rate between your device and the router. Real-world throughput is typically 50-70% of that due to overhead. If link speed is high but throughput is low, the issue is elsewhere (internet, interference, or router CPU).
Can I use a Wi-Fi analyzer to improve speed?
Yes. Tools like wavemon or Android apps show channel congestion. Switching to a less crowded channel can improve real-world speed, especially on 2.4 GHz.