Skip to content

Instantly share code, notes, and snippets.

@sortofsleepy
Last active November 22, 2025 14:23
Show Gist options
  • Select an option

  • Save sortofsleepy/1adf007f85ecea798797c13691fbd214 to your computer and use it in GitHub Desktop.

Select an option

Save sortofsleepy/1adf007f85ecea798797c13691fbd214 to your computer and use it in GitHub Desktop.
Ensuring that 6ghz band is enabled in Linux

For reference this was tested on a ASRock A620i AM5 board which should come with a MediaTek MT7922 Wi-Fi 6E wifi card.

Problem: If you're running into slower than expected speeds it just might be due to the 6ghz band being just flat out disabled in the initial install of Linux! Not sure about other distros but at least in CachyOS it is.

Solution:

  1. Create /etc/modprobe.d/cfg80211.conf with: options cfg80211 ieee80211_regdom=US(I'm in the US, look up the region code for your country)
  2. Install/update: wireless-regdb (possibly also crda)
  3. Reboot
  4. Verify with iw reg get, it should show country <country code>. You may need to installiw first if it's not already installed with your distro.
  5. Check if 6GHz is enabled: iw list | grep -A 15 "Frequencies:" There should be a "channel" field that will list the band in MHz; if it's above 6000 that means the band is enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment