Hi, all.
I have an Intel-IXP425-based router board and an AR9106/9160-based 802.11n mini-pci radio,
and installed OpenWrt r17409 (w/ compat-wireless-2009-08-20) in the board.
Now, I'm evaluating the 802.11n performance of the platform.
I followed the instruction in http://linuxwireless.org and could set up the HT20 mode successfully.
I got around 60Mbps throughput at 130Mbps rate (MCS15 / 20MHz / LONG-GI).
However, when I set it as HT40 (at hostapd.conf), it seems hostapd still worked at HT20.
I also tried all the other available channels for HT40+/HT40- and updated hostapd from 0.6.9
to the current development tree (got it by git), but it didn't work.
I attached the current setting and test results.
I will appreciate if you let me know any good idea.
Thank you.
Before updating hostapd from 0.6.9 to the current development tree:
root@OpenWrt:/tmp# hostapd -dd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 0
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=27 dBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=30 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm
HT40: control channel: 161 secondary channel: 157
RATE[0] rate=60 flags=0x2
RATE[1] rate=90 flags=0x0
RATE[2] rate=120 flags=0x2
RATE[3] rate=180 flags=0x0
RATE[4] rate=240 flags=0x2
RATE[5] rate=360 flags=0x0
RATE[6] rate=480 flags=0x0
RATE[7] rate=540 flags=0x0
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11a Channel: 161 Frequency: 5805 MHz
Using interface wlan0 with hwaddr 00:15:6d:84:13:b4 and ssid 'test-tchang'
wlan0: Setup of interface done.
MGMT (TX callback) ACK
STA 00:15:6d:84:13:b8 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:15:6d:84:13:b8 auth_alg=0 auth_transaction=1 status_code0
New STA
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-AUTHENTICATE.indication(00:15:6d:84:13:)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DELETEKEYS.request(00:15:6d:84:13:b8)
authentication reply: STA=00:15:6d:84:13:b8 auth_alg=0 auth_transaction=2 resp=)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:15:6d:84:13:b8 capab_info=0x01 listen_interval=10
WME IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WME IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1
HT: STA 00:15:6d:84:13:b8 HT Capabilities Info: 0x104e
handle_assoc STA 00:15:6d:84:13:b8 - no greenfield, num of non-gf stations 1
hostapd_ht_operation_update current operation mode=0x0
hostapd_ht_operation_update new operation mode=0x7 changes=2
new AID 1
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: associated (aid 1)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-ASSOCIATE.indication(00:15:6d:84:13:b8)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DELETEKEYS.request(00:15:6d:84:13:b8)
wlan0: STA 00:15:6d:84:13:b8 RADIUS: starting accounting session 00000280-000000
MGMT (TX callback) ACK
mgmt::action cb
MGMT (TX callback) ACK
mgmt::action cb
MGMT (TX callback) ACK
mgmt::action cb
STA 00:0f:7d:07:46:60 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::action cb
STA 00:0f:7d:07:42:60 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
After updating hostapd to the current development tree:
root@OpenWrt:/sys/kernel/debug/ath9k/phy0# hostapd -dd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 21
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=27 dBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=17 dBm
Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=30 dBm
Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=30 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=27 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm
RATE[0] rate=60 flags=0x2
RATE[1] rate=90 flags=0x0
RATE[2] rate=120 flags=0x2
RATE[3] rate=180 flags=0x0
RATE[4] rate=240 flags=0x2
RATE[5] rate=360 flags=0x0
RATE[6] rate=480 flags=0x0
RATE[7] rate=540 flags=0x0
Scan for neighboring BSSes prior to enabling 40 MHz channel
Scan requested (ret=0) - scan timeout 10 seconds
Interface initialization will be completed in a callback
nl80211: Event message available
nl80211: Ignored unknown event (cmd=33)
nl80211: Event message available
nl80211: New scan results available
Received scan results (65 BSSes)
Switch own primary and secondary channel due to BSS overlap with 00:0f:7d:07:45:f6
Completing interface initialization
Mode: IEEE 802.11a Channel: 40 Frequency: 5200 MHz
Flushing old station entries
Deauthenticate all stations
nl_set_encr: ifindex=4 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0
nl_set_encr: ifindex=4 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
nl_set_encr: ifindex=4 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
nl_set_encr: ifindex=4 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:15:6d:84:13:b4 and ssid 'test-tchang'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) ACK
STA 00:1e:c1:aa:f5:a6 sent probe request for broadcast SSID
MGMT (TX callback) fail
mgmt::proberesp cb
STA 00:15:6d:84:13:b8 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
STA 00:15:6d:84:13:b8 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:15:6d:84:13:b8 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-AUTHENTICATE.indication(00:15:6d:84:13:b8, OPEN_SYSTEM)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DELETEKEYS.request(00:15:6d:84:13:b8)
authentication reply: STA=00:15:6d:84:13:b8 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:15:6d:84:13:b8 capab_info=0x01 listen_interval=10
WMM IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info 0x0
HT: STA 00:15:6d:84:13:b8 HT Capabilities Info: 0x104e
handle_assoc STA 00:15:6d:84:13:b8 - no greenfield, num of non-gf stations 1
hostapd_ht_operation_update current operation mode=0x0
hostapd_ht_operation_update new operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
new AID 1
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:15:6d:84:13:b8 IEEE 802.11: associated (aid 1)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-ASSOCIATE.indication(00:15:6d:84:13:b8)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DELETEKEYS.request(00:15:6d:84:13:b8)
wlan0: STA 00:15:6d:84:13:b8 RADIUS: starting accounting session 000002F7-00000000
STA 00:0f:7d:07:42:60 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
^CSignal 2 received - terminating
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DEAUTHENTICATE.indication(00:15:6d:84:13:b8, 1)
wlan0: STA 00:15:6d:84:13:b8 MLME: MLME-DELETEKEYS.request(00:15:6d:84:13:b8)
Removing station 00:15:6d:84:13:b8
hostapd_ht_operation_update current operation mode=0x7
hostapd_ht_operation_update new operation mode=0x0 changes=2
nl80211: Set beacon (beacon_set=1)
Flushing old station entries
Deauthenticate all stations
root@OpenWrt:/# cat /etc/hostapd.conf
interface=wlan0
driver=nl80211
ssid=test-11n
hw_mode=a
channel=153
ieee80211n=1
ht_capab=[HT40-]
wme_enabled=1
------------------------------------------------------------
Client connecting to 10.10.0.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.10.1.1 port 47758 connected with 10.10.0.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 7.11 MBytes 59.6 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 1.0- 2.0 sec 6.34 MBytes 53.1 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 2.0- 3.0 sec 6.34 MBytes 53.1 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 3.0- 4.0 sec 6.71 MBytes 56.3 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 4.0- 5.0 sec 8.20 MBytes 68.8 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 5.0- 6.0 sec 7.09 MBytes 59.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 6.0- 7.0 sec 7.46 MBytes 62.6 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 7.0- 8.0 sec 7.08 MBytes 59.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 8.0- 9.0 sec 7.09 MBytes 59.4 Mbits/sec
^C[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 9.3 sec 65.3 MBytes 59.0 Mbits/sec
root@OpenWrt:/sys/kernel/debug/ath9k/phy0# cat rcstat
Rate Success Retries XRetries PER
6.0: 0 0 0 0
9.0: 0 0 0 0
12.0: 0 0 0 0
18.0: 0 0 0 0
24.0: 0 0 0 0
36.0: 0 0 0 0
48.0: 0 0 0 0
54.0: 0 0 0 0
6.5: 0 0 0 0
13.0: 0 0 0 0
19.5: 0 0 0 0
26.0: 0 0 0 0
39.0: 0 0 0 0
52.0: 0 0 0 0
58.5: 0 0 0 0
65.0: 0 0 0 0
13.0: 0 0 0 0
26.0: 0 0 0 0
39.0: 0 0 0 0
52.0: 0 0 0 0
78.0: 4 0 0 0
104.0: 26 1 0 3
117.0: 129 7 0 7
130.0: 98697 5315 2 7
13.5: 0 0 0 0
27.5: 0 0 0 0
40.5: 0 0 0 0
54.0: 0 0 0 0
81.5: 0 0 0 0
108.0: 0 0 0 0
121.5: 0 0 0 0
135.0: 0 0 0 0
150.0: 0 0 0 0
27.0: 0 0 0 0
54.0: 0 0 0 0
81.0: 0 0 0 0
108.0: 0 0 0 0
162.0: 0 0 0 0
216.0: 0 0 0 0
243.0: 0 0 0 0
270.0: 0 0 0 0
300.0: 0 0 0 0
(Last edited by key4078 on 2 Sep 2009, 20:54)