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:
- Create
/etc/modprobe.d/cfg80211.confwith:options cfg80211 ieee80211_regdom=US(I'm in the US, look up the region code for your country) - Install/update:
wireless-regdb(possibly alsocrda) - Reboot
- Verify with
iw reg get, it should showcountry <country code>. You may need to installiwfirst if it's not already installed with your distro. - 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.