<div dir="ltr"><div>All,</div><div><br></div>I'm noting this here in case anyone is interested. After I write this up, I'm going to start from scratch on the configuration, and factory-reset the router.<div>
<br></div><div>=====</div><div><br></div><div>The 5GHz radio on my 3800 seems to be in a very odd state. I'm not quire sure what state it's in, but it seems to be only doing HT20 1x1. And in a fairly broken manner at that.</div>
<div><br></div>
<div>Running the rrul test (over wifi directly to the router as the netserver), tcp uploads were 25Mbps or so, but download was 5Mbps. This is me 1-2 meters from the router. Load was never more than 0.33. (I can share the results of people are interested).</div>
<div><br></div><div>After a full power cycle, wifi isn't coming up at all.</div>
<div><br></div><div>=====</div><div><br></div><div>How I got here:</div><div><br></div><div><br></div><div>I'm in France, and had dutifully set my unit with the FR country code when setting up CeroWRT. I had noticed some odd latencies (periodic 100-200ms latency every 10-20 seconds over wifi) on the 5GHz network. The router was on channel 36, and I wanted to move it up to the far-upper ranges, so I tried to specify a "custom" channel to do so (140). This was the channel I thought I had been using with stock (Netgear) firmware.</div>
<div><br></div><div>Wifi didn't come back up after applying the changes, and the luci interface seemed to be tripping up over stuff that it was reading out of the configuration files.</div><div><br></div><div>I ssh'd in via ethernet, and fixed up the configurations by hand.</div>
<div><br></div><div>Except the driver is still reporting that the 5GHz network won't kick into 802.11n modes, and won't use HT40. It seems to be sure it's configured for it, but isn't using it.</div><div>
<br></div><div>Further, digging into the rc_stats files with the minstrel speeds, I found some very odd data (not what I was expecting to see:</div><div><br></div><div>(laptop, which can do 2x2 HT40)</div><div><div>rate throughput ewma prob this prob this succ/attempt success attempts</div>
<div> D 6 6.0 99.9 100.0 2( 2) 65 65</div><div> 9 0.0 0.0 0.0 0( 0) 0 0</div><div> 12 2.9 25.0 100.0 0( 0) 1 1</div>
<div> 18 4.3 25.0 100.0 0( 0) 1 1</div><div> 24 5.6 25.0 100.0 0( 0) 1 1</div><div>A P 36 32.4 99.9 100.0 0( 0) 51 51</div>
<div> C 48 10.4 25.0 100.0 0( 0) 1 1</div><div> B 54 11.5 25.0 100.0 0( 0) 1 1</div><div><br></div><div>Total packet count:: ideal 53 lookaround 7</div>
</div><div><br></div><div>(AppleTV, 1x1 HT20)</div><div><div>root@cerowrt:/sys/kernel/debug/ieee80211/phy1/netdev:sw10# cat stations/58\:55\:ca\:51\:b5\:4b/rc_stats </div><div>rate throughput ewma prob this prob this succ/attempt success attempts</div>
<div> 6 3.5 57.8 100.0 0( 0) 6 6</div><div> 9 3.9 43.7 100.0 0( 0) 2 2</div><div> 12 5.1 43.7 100.0 0( 0) 2 2</div>
<div> 18 10.0 57.8 100.0 0( 0) 3 3</div><div> D 24 13.1 57.8 100.0 0( 0) 3 3</div><div> C 36 14.2 43.7 100.0 0( 0) 2 2</div>
<div> B 48 18.2 43.7 100.0 0( 0) 2 2</div><div>A P 54 46.2 99.9 100.0 1( 1) 348 367</div><div><br></div><div>Total packet count:: ideal 331 lookaround 37</div>
</div><div><br></div><div>Whereas what I'm seeing for the 2.4GHz radio is:</div><div><br></div><div><div>root@cerowrt:/sys/kernel/debug/ieee80211/phy0/netdev:sw00/stations# cat 10\:9a\:dd\:30\:96\:34/rc_stats </div><div>
type rate throughput ewma prob this prob retry this succ/attempt success attempts</div><div>CCK/LP 1.0M 0.7 100.0 100.0 0 0( 0) 2 2</div>
<div>CCK/SP 2.0M 0.0 0.0 0.0 0 0( 0) 0 0</div><div>CCK/SP 5.5M 0.0 0.0 0.0 0 0( 0) 0 0</div>
<div>CCK/SP 11.0M 0.0 0.0 0.0 0 0( 0) 0 0</div><div>HT20/LGI MCS0 5.6 100.0 100.0 1 0( 0) 2 2</div>
<div>HT20/LGI MCS1 0.0 0.0 0.0 0 0( 0) 0 0</div><div>HT20/LGI MCS2 0.0 0.0 0.0 0 0( 0) 0 0</div>
<div>HT20/LGI MCS3 0.0 0.0 0.0 0 0( 0) 0 0</div><div>HT20/LGI MCS4 0.0 0.0 0.0 0 0( 0) 0 0</div>
<div>HT20/LGI MCS5 30.3 100.0 100.0 5 0( 0) 1 1</div><div>HT20/LGI t MCS6 32.5 100.0 100.0 5 0( 0) 11 11</div>
<div>HT20/LGI T P MCS7 35.0 100.0 100.0 5 6( 6) 34 34</div><div><br></div><div>Total packet count:: ideal 45 lookaround 3</div><div>Average A-MPDU length: 1.3</div>
</div><div><br></div><div><br></div><div>And here are radio blocks from the current /etc/config/wireless:</div><div><div><br></div><div>config wifi-device 'radio1'</div><div><span style="white-space:pre-wrap"> </span>option type 'mac80211'</div>
<div><span style="white-space:pre-wrap"> </span>option macaddr '28:c6:8e:bb:9a:49'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'SHORT-GI-40'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'TX-STBC'</div>
<div><span style="white-space:pre-wrap"> </span>list ht_capab 'RX-STBC1'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'DSSS_CCK-40'</div><div><span style="white-space:pre-wrap"> </span>option txpower '17'</div>
<div><span style="white-space:pre-wrap"> </span>option distance '25'</div><div><span style="white-space:pre-wrap"> </span>option channel '48'</div><div><span style="white-space:pre-wrap"> </span>option country 'US'</div>
</div><div><br></div><div><div>config wifi-device 'radio0'</div><div><span style="white-space:pre-wrap"> </span>option type 'mac80211'</div><div><span style="white-space:pre-wrap"> </span>option hwmode '11ng'</div>
<div><span style="white-space:pre-wrap"> </span>option macaddr '28:c6:8e:bb:9a:47'</div><div><span style="white-space:pre-wrap"> </span>option htmode 'HT20'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'SHORT-GI-40'</div>
<div><span style="white-space:pre-wrap"> </span>list ht_capab 'TX-STBC'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'RX-STBC1'</div><div><span style="white-space:pre-wrap"> </span>list ht_capab 'DSSS_CCK-40'</div>
<div><span style="white-space:pre-wrap"> </span>option txpower '26'</div><div><span style="white-space:pre-wrap"> </span>option country 'FR'</div><div><span style="white-space:pre-wrap"> </span>option distance '15'</div>
<div><span style="white-space:pre-wrap"> </span>option channel 'auto'</div></div><div><br></div><div>======</div><div><br></div><div>Some notes after having repaired the situation:</div><div><br></div><div>- The pci paths to the radios was missing from /etc/config/wireless, that's the only thing that I saw that seemed grossly out of place.</div>
<div><br></div><div>- Back up and running, and yes, it's much happier, now. Over wifi I get 60-70Mbps upload and ~40Mbps download (running rrul). Latency sucks. Wifi has some ugly bufferbloat. (although these results are somewhat in question when the router has a 1m load average over 5.0...)</div>
<div><br></div><div>- Enabling all the SQM features I was having previously also considerably cleaned up wifi performance. It's more balanced, but still not nearly as balanced as I see on gigabit ethernet.</div><div>
<br></div><div><br></div><div><br></div><div>-Aaron</div></div>