Hi, this is something that might be a bug, or maybe I'm missing something obvious?
I am using LEDE 17.01.4 on an Archer C7.
With the Generic MAC80211 802.11bgn radio on the 2.4 ghz band I experience the following:
Legacy mode, WMM off = Correct 802.11g speed, no issues, stable.
N mode, WMM off, channel width 20 = Same as 802.11g speed (expected, since WMM is required for N)
N mode, WMM ON, channel width 20 = Super SLOW speed, e.g. 1-2 Mbit on downloads.
Yes, if I change channel width to 40 (which I don't want to do on the 2.4 ghz band) then the speed will increase.
Why in the world would N mode, 20 width and WMM on result in a speed equivalent to a low powered 802.11b device?
i dont really have that issue, changing the rts/cts values and beacon along with distance helped me out. i also had power to 25 or 23 and n mode with 40 mhz, seems to be pretty stable.
At least on master for an Archer C7, with an older Nexus 5x Andriod phone, I'm seeing ~50-85 Mbps downstream on 2.4 GHz at a variety of locations.
Edit: DSLReports speed test, Chromium mobile browser, OmniROM, phone's RSSI approx -65 to -55 dBm, distance to AP 10-15 m (through various home walls). Upstream speed capped by Comcast link; tests indicated ~25 Mbps on 25-30 Mbps link.
Yes the DSCP marks on the packets are interpreted by the WMM queues and if they put some bogus values there it can make your packets have the lowest priority possible, and this tends to make your system slow to a crawl. If you put more meaningful DSCP values on your packets, your WMM will work better. You can put custom iptables rules to change the DSCP.
I will see how it goes with the new release, I can wait.
Guys though, you shouldn't be using 40 MHz in the crowded 2.4 GHz band. It's bad for everyone as it promotes interference. You will get 40-50 Mbps download throughput on a N 20 MHz channel as it is. If your ISP connection is only 25 Mbps you really don't need more. If you do, use the 5 GHz band and use a,n or ac there instead where you will get higher throughput if you need it. Leave 2.4 for 20 MHz b, g, and n. It's actually in the wifi specification not to use 40 in the 2.4 band.
"According to 802.11-2012, APs and routers must default to 20 MHz bandwidth mode in the 2.4 GHz band. They may switch to 40 MHz bandwidth mode only after satisfying multiple criteria, including no "fat channel" intolerant bit set and no interfering APs. In addition, to meet spec, APs are not allowed to have a "40 MHz only" mode in the 2.4 GHz band."
If you use SQM, there are settings for dealing with DSCP. There is a "squash" or "ignore" incoming packet DSCP, Anyone know if these functions will eliminate this problem where badly labeled packets would cause issues? You can set both incoming and outgoing speeds to 0, then the SQM won't throttle anything. Could be a quick and easy way to test it for the OP...
I agree about avoiding 40Mhz channels, especially if there's more than a few faraway stations out there. You not only possibly interfere with more of the others, you also open yourself up to more of them interfering with you.
I changed both Squash DSCP on inbound packets (ingress), Ignore DSCP on ingress from values of 0 to 1.
fast.com produced a download speed of 510 Kbps. Restoring it back to legacy mode and leaving the phone in the same position on the table produced a speed of 14 Mbps.
Looking forward to trying the improvements in version 18.