hi friends
i use openwrt 18.06.4 and mt7628 chipset on unielec u7628 modem
when i use ethernet cable in speedtest.net i get 40 mbp in downlaod but on wifi i have sow speed
i connect to wifi single device and i am close to modem
this is my wifi config
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/10300000.wmac'
option legacy_rates '1'
option htmode 'HT40'
option noscan '1'
option channel 'auto'
option country 'US'
Wire less speed depends on the device you are connected to and on how many neighbors are using the same band. Try to select some wireless channel instead of auto (1, 6, or 11). But 2.4 band is very crowded nowadays.
802.11n in a 20 MHz channel is limited to a modulation rate of 72 Mbps per stream. Taking packet overhead, beacon frames, ACKs, and other factors into account, getting half of that as throughput in a real-world situation is reasonable. Many client devices do not support MIMO.
From Tektronix, 802.11 Wi-Fi Physical Layer and Transmitter Measurements
That table doesn't look correct. It doesn't have 300Mbps on 40 MHz, etc.
I am now in rural area with only one AP here (mine). I have 300 Mbps connection and real transfer rate over 100 Mbps.
It is hardly achievable in other places.
No, it selects the first possible (as supported by the hardware and allowed by the regulatory domain settings) channel, it doesn't do anything smarter - and it doesn't care if ch1 is crowded while 6 or 11 would be unused. You really want to make your own selection here and configure it accordingly.
Not only is forcing 40Mhz channel width on 2.4Ghz likely illegal, if its then conflicting with nearby networks you will often end up with LESS speed than just sticking to 20Mhz on the least congested channel.
My performance has been improving on on 2.4Ghz lately and 5Ghz falling, likely the result of neighbors getting newer devices which favour the latter. A 20Mhz channel width with 2x2 MIMO should be easily able to handle 40Mbit, if it can't due to interference then 40Mhz is only going to make things even worse.