So, I'm stuck in a catch 22 here.
Netgear firmware is best performance, but it closes out my idle tcp sessions, which is unacceptable to me.
DD-WRT is half decent, but it has stability issues
I have run OpenWRT for years, but with this router it is not up to par.
Here's an example.
root@ZOMGWTFBBQWIFI:~# iw phy1 info
Wiphy phy1
Band 1:
Capabilities: 0x11ce
HT20/HT40
SM Power Save disabled
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 5180 MHz [36] (17.0 dBm)
* 5200 MHz [40] (17.0 dBm)
* 5220 MHz [44] (17.0 dBm)
* 5240 MHz [48] (17.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
* 5300 MHz [60] (20.0 dBm) (radar detection)
* 5320 MHz [64] (20.0 dBm) (radar detection)
* 5500 MHz [100] (20.0 dBm) (radar detection)
* 5520 MHz [104] (20.0 dBm) (radar detection)
* 5540 MHz [108] (20.0 dBm) (radar detection)
* 5560 MHz [112] (20.0 dBm) (radar detection)
* 5580 MHz [116] (20.0 dBm) (radar detection)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (20.0 dBm) (radar detection)
* 5680 MHz [136] (20.0 dBm) (radar detection)
* 5700 MHz [140] (20.0 dBm) (radar detection)
* 5745 MHz [149] (20.0 dBm)
* 5765 MHz [153] (20.0 dBm)
* 5785 MHz [157] (20.0 dBm)
* 5805 MHz [161] (20.0 dBm)
* 5825 MHz [165] (20.0 dBm)
iwinfo reporting txpower of 0...
root@ZOMGWTFBBQWIFI:~# iwinfo phy1 txpower
* 0 dBm ( 1 mW)
2 dBm ( 1 mW)
4 dBm ( 2 mW)
6 dBm ( 3 mW)
8 dBm ( 6 mW)
10 dBm ( 10 mW)
12 dBm ( 15 mW)
14 dBm ( 25 mW)
16 dBm ( 39 mW)
18 dBm ( 63 mW)
20 dBm ( 100 mW)
root@ZOMGWTFBBQWIFI:~# tail -n20 /etc/config/wireless | egrep 'txpower|channel|ht_'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'TX-STBC'
list 'ht_capab' 'RX-STBC1'
list 'ht_capab' 'DSSS_CCK-40'
option 'channel' '157'
option 'txpower' '20'
I can't set txpower at all with iw
root@ZOMGWTFBBQWIFI:~# iw phy phy1 set txpower fixed 20
command failed: Operation not supported (-122)
I can't set channels to anything in a DFS range.
root@ZOMGWTFBBQWIFI:~# iw reg get
country US:
(2402 - 2472 @ 40), (3, 27)
(5170 - 5250 @ 40), (3, 17)
(5250 - 5330 @ 40), (3, 20), DFS
(5490 - 5600 @ 40), (3, 20), DFS
(5650 - 5710 @ 40), (3, 20), DFS
(5735 - 5835 @ 40), (3, 30)
config 'wifi-device' 'radio1'
option 'type' 'mac80211'
option 'macaddr' '30:46:9a:10:49:a9'
option 'hwmode' '11na'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'TX-STBC'
list 'ht_capab' 'RX-STBC1'
list 'ht_capab' 'DSSS_CCK-40'
option 'country' 'US'
option 'disabled' '0'
option 'htmode' 'HT40+'
option 'distance' '50'
option 'channel' '56'
option 'txpower' '17'
root@ZOMGWTFBBQWIFI:~# wifi
'radio0' is disabled
'radio0' is disabled
Configuration file: /var/run/hostapd-phy1.conf
wlan0: IEEE 802.11 Configured channel (56) not found from the channel list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy1
root@ZOMGWTFBBQWIFI:~# wifi
'radio0' is disabled
'radio0' is disabled
Configuration file: /var/run/hostapd-phy1.conf
wlan0: IEEE 802.11 Configured channel (56) not found from the channel list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy1
If I put it on a channel without DFS, It will take the commands.
config 'wifi-device' 'radio1'
option 'type' 'mac80211'
option 'macaddr' '30:46:9a:10:49:a9'
option 'hwmode' '11na'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'TX-STBC'
list 'ht_capab' 'RX-STBC1'
list 'ht_capab' 'DSSS_CCK-40'
option 'country' 'US'
option 'disabled' '0'
option 'htmode' 'HT40+'
option 'distance' '50'
option 'channel' '157'
option 'txpower' '20'
root@ZOMGWTFBBQWIFI:~# wifi
'radio0' is disabled
'radio0' is disabled
Configuration file: /var/run/hostapd-phy1.conf
Using interface wlan0 with hwaddr 30:46:9a:10:49:a9 and ssid 'ZOMGWTFBBQWIFI'
I can sit right near the router, connect at 300mbps, and my speeds still are less than the 802.11n/b/g ap I have across the house. Something isn't right here. I built from the latest trunk, 24164. Backfire latest svn also had the same issues.
I also see a bunch of this in dmesg:
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Timeout while waiting for nf to load: AR_PHY_AGC_CONTROL=0x40d1a
root@ZOMGWTFBBQWIFI:~# dmesg | grep TX\ DMA | wc -l
39
root@ZOMGWTFBBQWIFI:~# dmesg | grep AR_PHY | wc -l
2
This is also an 02r router.
(Last edited by nyt on 30 Nov 2010, 04:42)