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. You may need to installiwfirst if it's not already installed with your distro.