Very slow WiFi for GB connection

I’m using hynman’s latest master build with the CT drivers (default).

Only difference I’m seeing that will make a difference for wifi is selecting a country code & selecting a manual transmission power.


root@OpenWrt:~# uname -a
Linux OpenWrt 5.4.50 #0 SMP Thu Jul 9 11:01:20 2020 armv7l GNU/Linux

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option txpower '22'
        option legacy_rates '0'
        option country 'US'
        option beacon_int '101'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ft_over_ds '1'
        option ssid ''
        option ft_psk_generate_local '1'
        option key ''
        option ieee80211r '1'
        option encryption 'psk2+ccmp'
        option ieee80211k '1'
        option bss_transition '1'
        option ieee80211v '1'

Beyond wifi config multiple people tweak with CPU parameters depending on their use. A simple way to get max performance is to set the CPU to the max frequency (1.7ghz) if your priority is max speed (see if this helps, just copy paste the whole blob in, to reverse it you can restart your router or replace the performance with ondemand in the command to revert to default).


echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor; echo performance > /sys/devices/system/cpu/cpufreq/policy1/scaling_governor

With default openwrt you don’t have access to the two NSS CPUs like proprietary OEM drivers do. To get OEM-like speeds you need these additional CPUs. There is a ton work on the drivers and several versions of drivers are available to advanced users that want to compile their own firmware: