what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100113/02a089f9/attachment-0001.htm
Quoted 5 lines · On Wed, Jan 13, 2010 at 12:31 AM, <[email protected]> wrote:
suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
All the same reasons that "100Mbps" ethernet does not provide 100 Mbps of actual throughput.
Signature · 1 line
Will Dyson
my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7 PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d /var/run/hostapd-wlan0.conf
Configuration file: /var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0
Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0
Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0
Completing interface initialization
Mode: IEEE 802.11g Channel: 13 Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberesp cb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberesp cb
MGMT (TX callback) ACKmgmt::proberesp cbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-AUTHENTICATE.indication(00:19:70:2a:10:97, OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-DELETEKEYS.request(00:19:70:2a:10:97) authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0) MGMT (TX callback) ACKmgmt::auth cb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10 Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info 0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info: 0x104ehandle_assoc STA 00:19:70:2a:10:97 - 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:19:70:2a:10:97 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACKmgmt::assoc_resp cb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-DELETEKEYS.request(00:19:70:2a:10:97)
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
inactive time: 0 ms
rx bytes: 205674288
rx packets: 140010
tx bytes: 5161452
tx packets: 69608
signal: -18 dBm
tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER
1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 3 0 0 0 300.0: 82601 3 0 0
.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capa ht supported
cap: 0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001
[ ID] Interval Transfer Bandwidth [ 5] 0.0- 1.0 sec 3.04 MBytes 25.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 1.0- 2.0 sec 3.02 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 2.0- 3.0 sec 2.91 MBytes 24.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 3.0- 4.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 4.0- 5.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 5.0- 6.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 6.0- 7.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 7.0- 8.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 8.0- 9.0 sec 2.99 MBytes 25.1 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 9.0-10.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 10.0-11.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 11.0-12.0 sec 2.85 MBytes 23.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 12.0-13.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 13.0-14.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 14.0-15.0 sec 2.83 MBytes 23.7 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 15.0-16.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 16.0-17.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 17.0-18.0 sec 2.97 MBytes 24.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 18.0-19.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 19.0-20.0 sec 3.00 MBytes 25.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 20.0-21.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 21.0-22.0 sec 2.88 MBytes 24.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 22.0-23.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 23.0-24.0 sec 2.86 MBytes 24.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 24.0-25.0 sec 2.96 MBytes 24.8 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 25.0-26.0 sec 2.87 MBytes 24.1 Mbits/sec [ ID] Interval Transfer Bandwidth
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
inactive time: 0 ms
rx bytes: 7556920
rx packets: 101870
tx bytes: 302582584
tx packets: 205200
signal: -23 dBm
tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER
1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 5 0 0 0 300.0: 119472 54 4 0
.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capa ht supported
cap: 0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms
-----Original Message-----
From: [email protected]
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100113/af8bc4bc/attachment-0001.htm
Quoted 387 lines · On Thu, Jan 14, 2010 at 1:45 AM, <[email protected]> wrote:
my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425,REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) ??????? (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) ??????? (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) ??????? (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7
PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d/var/run/hostapd-wlan0.confConfiguration file:/var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0 Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0 Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0 Completing interface initialization
Mode: IEEE 802.11g? Channel: 13? Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberespcb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberespcb
MGMT (TX callback) ACKmgmt::proberespcbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
? New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACKmgmt::authcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2? OUI type 2? OUI sub-type 0? version 1? QoS info0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info:0x104ehandle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1hostapd_ht_operation_updatecurrent operation mode=0x0hostapd_ht_operation_updatenew operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
? new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1) MGMT (TX callback) ACKmgmt::assoc_respcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1) AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97).......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 205674288
??????? rx packets:???? 140010
??????? tx bytes:?????? 5161452
??????? tx packets:???? 69608
??????? signal:???????? -18 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 3??????? 0??????? 0??????? 0
300.0:??? 82601??????? 3??????? 0??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[? 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001 [ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 0.0- 1.0 sec? 3.04 MBytes? 25.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 1.0- 2.0 sec? 3.02 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 2.0- 3.0 sec? 2.91 MBytes? 24.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 3.0- 4.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 4.0- 5.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 5.0- 6.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 6.0- 7.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 7.0- 8.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 8.0- 9.0 sec? 2.99 MBytes? 25.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 9.0-10.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 10.0-11.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 11.0-12.0 sec? 2.85 MBytes? 23.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 12.0-13.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 13.0-14.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 14.0-15.0 sec? 2.83 MBytes? 23.7 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 15.0-16.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 16.0-17.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 17.0-18.0 sec? 2.97 MBytes? 24.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 18.0-19.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 19.0-20.0 sec? 3.00 MBytes? 25.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 20.0-21.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 21.0-22.0 sec? 2.88 MBytes? 24.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 22.0-23.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 23.0-24.0 sec? 2.86 MBytes? 24.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 24.0-25.0 sec? 2.96 MBytes? 24.8 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 25.0-26.0 sec? 2.87 MBytes? 24.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 7556920
??????? rx packets:???? 101870
??????? tx bytes:?????? 302582584
??????? tx packets:???? 205200
??????? signal:???????? -23 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 5??????? 0??????? 0??????? 0
300.0:?? 119472?????? 54??????? 4??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 9 lines
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Same here.
It seems that the driver isn't optimized for embedded systems yet
Come on, what is an embedded system and what is an optimization?
we might have something wrong with ourselves apparently. the driver wouldn't complain about is it a desktop or an embedded system.
-----Original Message-----
From: [email protected]
To: oiioeu at aol.com
Cc: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 9:00 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
Quoted 387 lines · On Thu, Jan 14, 2010 at 1:45 AM, <[email protected]> wrote:
my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425,REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US PCI: enabling device 0000:00:01.0 (0340 -> 0342) cfg80211: Regulatory domain changed to country: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)phy0: Selected rate control algorithm '
ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7 PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d/var/run/hostapd-wlan0.confConfiguration file:/var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0 Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0 Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0 Completing interface initialization
Mode: IEEE 802.11g Channel: 13 Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberespcb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberespcb
MGMT (TX callback) ACKmgmt::proberespcbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACKmgmt::authcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info:0x104ehandle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1hostapd_ht_operation_updatecurrent operation mode=0x0hostapd_ht_operation_updatenew operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1) MGMT (TX callback) ACKmgmt::assoc_respcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1) AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97).......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)inactive time: 0 ms rx bytes: 205674288 rx packets: 140010 tx bytes: 5161452 tx packets: 69608 signal: -18 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 3 0 0 0 300.0: 82601 3 0 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001[ ID] Interval Transfer Bandwidth [ 5] 0.0- 1.0 sec 3.04 MBytes 25.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 1.0- 2.0 sec 3.02 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 2.0- 3.0 sec 2.91 MBytes 24.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 3.0- 4.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 4.0- 5.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 5.0- 6.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 6.0- 7.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 7.0- 8.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 8.0- 9.0 sec 2.99 MBytes 25.1 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 9.0-10.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 10.0-11.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 11.0-12.0 sec 2.85 MBytes 23.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 12.0-13.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 13.0-14.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 14.0-15.0 sec 2.83 MBytes 23.7 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 15.0-16.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 16.0-17.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 17.0-18.0 sec 2.97 MBytes 24.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 18.0-19.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 19.0-20.0 sec 3.00 MBytes 25.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 20.0-21.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 21.0-22.0 sec 2.88 MBytes 24.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 22.0-23.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 23.0-24.0 sec 2.86 MBytes 24.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 24.0-25.0 sec 2.96 MBytes 24.8 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 25.0-26.0 sec 2.87 MBytes 24.1 Mbits/sec [ ID] Interval Transfer Bandwidth.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)inactive time: 0 ms rx bytes: 7556920 rx packets: 101870 tx bytes: 302582584 tx packets: 205200 signal: -23 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 5 0 0 0 300.0: 119472 54 4 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 9 lines
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Same here.
It seems that the driver isn't optimized for embedded systems yet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100113/a1c58c03/attachment-0001.htm
In my case, I can get around 30Mbps in iperf tcp test under 300mbps/HT40.
2010/1/14 <[email protected]>
Quoted 811 lines
Come on, what is an embedded system and what is an optimization?
we might have something wrong with ourselves apparently. the driver wouldn't complain about is it a desktop or an embedded system.-----Original Message-----
From: rootkit85 at yahoo.it
To: oiioeu at aol.com
Cc: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 9:00 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40Quoted 780 lines · On Thu, Jan 14, 2010 at 1:45 AM, <[email protected]> wrote:
my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could
probably be the problem then?
I already attached two pigtails for both the AP and STA.
THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413,RF5413, RF2133, RF2425,
REGOPS_FUNC, DFS, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 uswlan: mac acl policy registered
ath_pci: trunkdevice eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)phy0: Selected rate control algorithm '
ath9k_rate_control'Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core TeamNET: Registered protocol family 24
nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d
/var/run/hostapd-wlan0.confConfiguration file:
/var/run/hostapd-wlan0.confnl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0
Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0
Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0
Completing interface initialization
Mode: IEEE 802.11g Channel: 13 Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stations
nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0key_len=0
nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0key_len=0
nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0key_len=0
nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) fail
mgmt::proberespcbMGMT (TX callback) ACK
MGMT (TX callback) ACK
mgmt::proberespcbMGMT (TX callback) ACK
mgmt::proberespcb
mgmt::authauthentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1
status_code=0 wep=0
New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,
OPEN_SYSTEM)wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2
resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::authcbwlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticated
mgmt::assoc_reqassociation request: STA=00:19:70:2a:10:97 capab_info=0x421
listen_interval=10
Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS
info
0x0HT: STA 00:19:70:2a:10:97 HT Capabilities Info:
0x104e
handle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1
hostapd_ht_operation_updatecurrent operation mode=0x0
hostapd_ht_operation_updatenew operation mode=0x7 changes=2nl80211: Set beacon (beacon_set=1)
new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_respcbwlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
inactive time: 0 ms rx bytes: 205674288 rx packets: 140010 tx bytes: 5161452 tx packets: 69608 signal: -18 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstatRate Success Retries XRetries PER
1.0: 0 0 0 0
2.0: 0 0 0 0
5.5: 0 0 0 0
11.0: 0 0 0 0
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: 0 0 0 0
104.0: 0 0 0 0
117.0: 0 0 0 0
130.0: 0 0 0 0
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: 3 0 0 0
243.0: 3 0 0 0
270.0: 3 0 0 0
300.0: 82601 3 0 0
.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:
0x104eampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0- 1.0 sec 3.04 MBytes 25.5 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 1.0- 2.0 sec 3.02 MBytes 25.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 2.0- 3.0 sec 2.91 MBytes 24.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 3.0- 4.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 4.0- 5.0 sec 3.02 MBytes 25.3 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 5.0- 6.0 sec 2.93 MBytes 24.6 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 6.0- 7.0 sec 3.02 MBytes 25.3 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 7.0- 8.0 sec 2.93 MBytes 24.6 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 8.0- 9.0 sec 2.99 MBytes 25.1 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 9.0-10.0 sec 2.80 MBytes 23.5 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 10.0-11.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 11.0-12.0 sec 2.85 MBytes 23.9 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 12.0-13.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 13.0-14.0 sec 3.03 MBytes 25.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 14.0-15.0 sec 2.83 MBytes 23.7 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 15.0-16.0 sec 3.03 MBytes 25.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 16.0-17.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 17.0-18.0 sec 2.97 MBytes 24.9 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 18.0-19.0 sec 2.80 MBytes 23.5 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 19.0-20.0 sec 3.00 MBytes 25.2 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 20.0-21.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 21.0-22.0 sec 2.88 MBytes 24.2 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 22.0-23.0 sec 2.98 MBytes 25.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 23.0-24.0 sec 2.86 MBytes 24.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 24.0-25.0 sec 2.96 MBytes 24.8 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 25.0-26.0 sec 2.87 MBytes 24.1 Mbits/sec
[ ID] Interval Transfer Bandwidth
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
inactive time: 0 ms rx bytes: 7556920 rx packets: 101870 tx bytes: 302582584 tx packets: 205200 signal: -23 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstatRate Success Retries XRetries PER
1.0: 0 0 0 0
2.0: 0 0 0 0
5.5: 0 0 0 0
11.0: 0 0 0 0
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: 0 0 0 0
104.0: 0 0 0 0
117.0: 0 0 0 0
130.0: 0 0 0 0
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: 3 0 0 0
243.0: 3 0 0 0
270.0: 5 0 0 0
300.0: 119472 54 4 0
.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:
0x104eampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss
round-trip min/avg/max = 1.930/2.396/3.892 ms
-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have
under 130Mbps/HT20, 300Mbps/HT40
suppose we have nothing wrong with the configuration, the driver, the
hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the
theoretic value? the CPU speed?
Thank you!
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 11 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Same here.
Quoted 9 lines
It seems that the driver isn't optimized for embedded systems yet
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100114/f9401876/attachment-0001.htm
since iperf testing costs a lot of the CPU resource on the router,here is my topology:
PC_A <--> SU <--> AP <--> PC_B
Iset up the ethernet connection between PC_A and SU, PC_B and the AP,there was wireless 11n connection between the SU and the AP, the APuses a bridge for wlan0 and eth0, the SU uses NAT to forward packetsfrom PC_A.
I only have 6Mbps by iperf test from PC_A to PC_B.
it seemsthe ath9k driver is working properly at a 300Mbps/HT40 transferringspeed while some modules ( for example the hostapd, bridge, etc. ) inthe upper layer is working very inefficiently, which leads to a verylow throughput, 20Mbps.
anyone have any idea? Thanks alot!
-----Original Message-----
From: [email protected]
To: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 8:45 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7 PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d /var/run/hostapd-wlan0.conf
Configuration file: /var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0
Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0
Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0
Completing interface initialization
Mode: IEEE 802.11g Channel: 13 Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberesp cb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberesp cb
MGMT (TX callback) ACKmgmt::proberesp cbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-AUTHENTICATE.indication(00:19:70:2a:10:97, OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-DELETEKEYS.request(00:19:70:2a:10:97) authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0) MGMT (TX callback) ACKmgmt::auth cb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10 Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info 0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info: 0x104ehandle_assoc STA 00:19:70:2a:10:97 - 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:19:70:2a:10:97 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACKmgmt::assoc_resp cb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME: MLME-DELETEKEYS.request(00:19:70:2a:10:97)
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
inactive time: 0 ms
rx bytes: 205674288
rx packets: 140010
tx bytes: 5161452
tx packets: 69608
signal: -18 dBm
tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER
1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 3 0 0 0 300.0: 82601 3 0 0
.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capa ht supported
cap: 0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001
[ ID] Interval Transfer Bandwidth [ 5] 0.0- 1.0 sec 3.04 MBytes 25.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 1.0- 2.0 sec 3.02 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 2.0- 3.0 sec 2.91 MBytes 24.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 3.0- 4.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 4.0- 5.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 5.0- 6.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 6.0- 7.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 7.0- 8.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 8.0- 9.0 sec 2.99 MBytes 25.1 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 9.0-10.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 10.0-11.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 11.0-12.0 sec 2.85 MBytes 23.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 12.0-13.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 13.0-14.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 14.0-15.0 sec 2.83 MBytes 23.7 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 15.0-16.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 16.0-17.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 17.0-18.0 sec 2.97 MBytes 24.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 18.0-19.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 19.0-20.0 sec 3.00 MBytes 25.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 20.0-21.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 21.0-22.0 sec 2.88 MBytes 24.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 22.0-23.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 23.0-24.0 sec 2.86 MBytes 24.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 24.0-25.0 sec 2.96 MBytes 24.8 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 25.0-26.0 sec 2.87 MBytes 24.1 Mbits/sec [ ID] Interval Transfer Bandwidth
.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
inactive time: 0 ms
rx bytes: 7556920
rx packets: 101870
tx bytes: 302582584
tx packets: 205200
signal: -23 dBm
tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER
1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 5 0 0 0 300.0: 119472 54 4 0
.......................................................................................
root at OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capa ht supported
cap: 0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0
.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms
-----Original Message-----
From: [email protected]
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100115/a6148794/attachment-0001.htm
Quoted 429 lines
since iperf testing costs a lot of the CPU resource on the router,here is my topology:
PC_A<--> SU <--> AP <-->PC_BI set up the ethernet connection between
PC_Aand SU,PC_Band the AP, there was wireless 11n connection between the SU and the AP, the AP uses a bridge for wlan0 and eth0, the SU uses NAT to forward packets fromPC_A.I only have 6Mbps by iperf test from
PC_AtoPC_B.it seems the ath9k driver is working properly at a 300Mbps/HT40 transferring speed while some modules ( for example the hostapd, bridge, etc. ) in the upper layer is working very inefficiently, which leads to a very low throughput, 20Mbps.
anyone have any idea? Thanks alot!
-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 8:45 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425,REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) ??????? (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) ??????? (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) ??????? (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7
PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d/var/run/hostapd-wlan0.confConfiguration file:/var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0 Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0 Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0 Completing interface initialization
Mode: IEEE 802.11g? Channel: 13? Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberespcb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberespcb
MGMT (TX callback) ACKmgmt::proberespcbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
? New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACKmgmt::authcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2? OUI type 2? OUI sub-type 0? version 1? QoS info0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info:0x104ehandle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1hostapd_ht_operation_updatecurrent operation mode=0x0hostapd_ht_operation_updatenew operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
? new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1) MGMT (TX callback) ACKmgmt::assoc_respcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1) AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97).......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 205674288
??????? rx packets:???? 140010
??????? tx bytes:?????? 5161452
??????? tx packets:???? 69608
??????? signal:???????? -18 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 3??????? 0??????? 0??????? 0
300.0:??? 82601??????? 3??????? 0??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[? 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001 [ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 0.0- 1.0 sec? 3.04 MBytes? 25.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 1.0- 2.0 sec? 3.02 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 2.0- 3.0 sec? 2.91 MBytes? 24.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 3.0- 4.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 4.0- 5.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 5.0- 6.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 6.0- 7.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 7.0- 8.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 8.0- 9.0 sec? 2.99 MBytes? 25.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 9.0-10.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 10.0-11.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 11.0-12.0 sec? 2.85 MBytes? 23.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 12.0-13.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 13.0-14.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 14.0-15.0 sec? 2.83 MBytes? 23.7 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 15.0-16.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 16.0-17.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 17.0-18.0 sec? 2.97 MBytes? 24.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 18.0-19.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 19.0-20.0 sec? 3.00 MBytes? 25.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 20.0-21.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 21.0-22.0 sec? 2.88 MBytes? 24.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 22.0-23.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 23.0-24.0 sec? 2.86 MBytes? 24.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 24.0-25.0 sec? 2.96 MBytes? 24.8 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 25.0-26.0 sec? 2.87 MBytes? 24.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 7556920
??????? rx packets:???? 101870
??????? tx bytes:?????? 302582584
??????? tx packets:???? 205200
??????? signal:???????? -23 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 5??????? 0??????? 0??????? 0
300.0:?? 119472?????? 54??????? 4??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 9 lines
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Hi all,
I am facing the same problem. I carried out this test:
AP = PC Engines Wrap with the latest version of OpenWRT trunk and MikroTik Router Board R2n (Atheros AR9223 chipset) as miniPCI card
STA = Dell Studio XPS 13 (Intel Core 2 Duo P8700, 4096MB SDRAM DDR3) with Debian Lenny (kernel 2.6.32.3) and wireless Dell 1515 (Atheros AR9280 chipset)
as wireless radio device. STA is also the Iperf UDP client
PC = Iperf UDP server
Here is my topology:
STA <--Wireless link--> AP <--Wired link--> PC
STA and AP are in line of sight and quite close.
In each test I got bad results with a maximum throughput of ~ 35Mbps while the Iperf client was transmitting ~ 80Mbps and STA was using MCS 15.
I agree with rootkit85, I don't thinks this problem is due to inefficiency of some user-level module (i.e. hostapd)
but I it seems that the driver isn't optimized for embedded systems yet.
Regards.
Lorenzo
Quoted 461 lines · Lorenzo Bianconi
Quoted 429 lines
since iperf testing costs a lot of the CPU resource on the router,here is my topology:
PC_A<--> SU <--> AP <-->PC_BI set up the ethernet connection between
PC_Aand SU,PC_Band the AP, there was wireless 11n connection between the SU and the AP, the AP uses a bridge for wlan0 and eth0, the SU uses NAT to forward packets fromPC_A.I only have 6Mbps by iperf test from
PC_AtoPC_B.it seems the ath9k driver is working properly at a 300Mbps/HT40 transferring speed while some modules ( for example the hostapd, bridge, etc. ) in the upper layer is working very inefficiently, which leads to a very low throughput, 20Mbps.
anyone have any idea? Thanks alot!
-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 8:45 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425,REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) ??????? (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
cfg80211: Regulatory domain changed to country: US
??????? (start_freq-end_freq@ bandwidth), (max_antenna_gain,max_eirp) ??????? (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) ??????? (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) ??????? (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ??????? (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7
PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d/var/run/hostapd-wlan0.confConfiguration file:/var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0 Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0 Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0 Completing interface initialization
Mode: IEEE 802.11g? Channel: 13? Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberespcb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberespcb
MGMT (TX callback) ACKmgmt::proberespcbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
? New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACKmgmt::authcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2? OUI type 2? OUI sub-type 0? version 1? QoS info0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info:0x104ehandle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1hostapd_ht_operation_updatecurrent operation mode=0x0hostapd_ht_operation_updatenew operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
? new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1) MGMT (TX callback) ACKmgmt::assoc_respcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1) AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97).......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 205674288
??????? rx packets:???? 140010
??????? tx bytes:?????? 5161452
??????? tx packets:???? 69608
??????? signal:???????? -18 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 3??????? 0??????? 0??????? 0
300.0:??? 82601??????? 3??????? 0??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[? 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001 [ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 0.0- 1.0 sec? 3.04 MBytes? 25.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 1.0- 2.0 sec? 3.02 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 2.0- 3.0 sec? 2.91 MBytes? 24.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 3.0- 4.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 4.0- 5.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 5.0- 6.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 6.0- 7.0 sec? 3.02 MBytes? 25.3 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 7.0- 8.0 sec? 2.93 MBytes? 24.6 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 8.0- 9.0 sec? 2.99 MBytes? 25.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5]? 9.0-10.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 10.0-11.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 11.0-12.0 sec? 2.85 MBytes? 23.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 12.0-13.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 13.0-14.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 14.0-15.0 sec? 2.83 MBytes? 23.7 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 15.0-16.0 sec? 3.03 MBytes? 25.4 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 16.0-17.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 17.0-18.0 sec? 2.97 MBytes? 24.9 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 18.0-19.0 sec? 2.80 MBytes? 23.5 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 19.0-20.0 sec? 3.00 MBytes? 25.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 20.0-21.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 21.0-22.0 sec? 2.88 MBytes? 24.2 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 22.0-23.0 sec? 2.98 MBytes? 25.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 23.0-24.0 sec? 2.86 MBytes? 24.0 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 24.0-25.0 sec? 2.96 MBytes? 24.8 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth
[? 5] 25.0-26.0 sec? 2.87 MBytes? 24.1 Mbits/sec
[ ID] Interval?????? Transfer???? Bandwidth.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)
??????? inactive time:? 0 ms
??????? rx bytes:?????? 7556920
??????? rx packets:???? 101870
??????? tx bytes:?????? 302582584
??????? tx packets:???? 205200
??????? signal:???????? -23 dBm
??????? tx bitrate:???? 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat?Rate???????? Success? Retries? XRetries PER? 1.0:??????? 0??????? 0??????? 0??????? 0
? 2.0:??????? 0??????? 0??????? 0??????? 0
? 5.5:??????? 0??????? 0??????? 0??????? 0
?11.0:??????? 0??????? 0??????? 0??????? 0
? 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:??????? 0??????? 0??????? 0??????? 0
104.0:??????? 0??????? 0??????? 0??????? 0
117.0:??????? 0??????? 0??????? 0??????? 0
130.0:??????? 0??????? 0??????? 0??????? 0
?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:??????? 3??????? 0??????? 0??????? 0
243.0:??????? 3??????? 0??????? 0??????? 0
270.0:??????? 5??????? 0??????? 0??????? 0
300.0:?? 119472?????? 54??????? 4??????? 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 9 lines
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-develHi all,
I am facing the same problem. I carried out this test:AP = PC Engines Wrap with the latest version of OpenWRT trunk and MikroTik Router Board R2n (Atheros AR9223 chipset) as miniPCI card
STA = Dell Studio XPS 13 (Intel Core 2 Duo P8700, 4096MB SDRAM DDR3) with Debian Lenny (kernel 2.6.32.3) and wireless Dell 1515 (Atheros AR9280 chipset)
as wireless radio device. STA is also the Iperf UDP clientPC = Iperf UDP server
Here is my topology:
STA <--Wireless link--> AP <--Wired link--> PC
STA and AP are in line of sight and quite close.
In each test I got bad results with a maximum throughput of ~ 35Mbps while the Iperf client was transmitting ~ 80Mbps and STA was using MCS 15.
Quoted 8 lines
I agree with rootkit85, I don't thinks this problem is due to inefficiency of some user-level module (i.e. hostapd)
but I it seems that the driver isn't optimized for embedded systems yet.Regards.
Lorenzo
I have the same network topology as Lorenzo and I experience this issue too.
In my case:
PC: Dell Studio 1557 (Intel Core i7, 4GB RAM, Intel Wifi 5300) Ubuntu 9.10 with kernel 2.6.33-rc4 vanilla
STA: Intel Core i7, 8 GB RAM, ubuntu 9.10
AP: PC Engines Alix3 (AMD Geode 500 MHz, 256 MB RAM)
OK, I found it was actually the SU has problem to reach a reasonable throughput, I've been sure about the AP that has no problem to work under HT40, I got an average throughput like 70~80Mbps, maximum 90Mbps by associating a Debian PC( with ath9k deb installed ) as the SU.
While the SU built from OpenWrt still has a 30Mbps of the throughput under HT40, I've tried the SU with a compex wp543 AP and myself an AP built from the OpenWrt.
-----Original Message-----
From: [email protected]
To: Lorenzo Bianconi <[email protected]>
Cc: oiioeu at aol.com; yma.cool at gmail.com; ath9k-devel at lists.ath9k.org
Sent: Sat, Jan 16, 2010 6:07 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
Quoted 461 lines · Lorenzo Bianconi
Quoted 429 lines
since iperf testing costs a lot of the CPU resource on the router,here is my topology:
PC_A<--> SU <--> AP <-->PC_BI set up the ethernet connection between
PC_Aand SU,PC_Band the AP, there was wireless 11n connection between the SU and the AP, the AP uses a bridge for wlan0 and eth0, the SU uses NAT to forward packets fromPC_A.I only have 6Mbps by iperf test from
PC_AtoPC_B.it seems the ath9k driver is working properly at a 300Mbps/HT40 transferring speed while some modules ( for example the hostapd, bridge, etc. ) in the upper layer is working very inefficiently, which leads to a very low throughput, 20Mbps.
anyone have any idea? Thanks alot!
-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Thu, Jan 14, 2010 8:45 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40my case is I only have 20Mbps of iperf test on 300Mbps/HT40, what could probably be the problem then?
I already attached two pigtails for both the AP and STA. THANKS A LOT!
AP && STA: OpenWrt 18xxx
***************************************************************************************************************************************
dmesg output:
...
wlan: trunkath_hal: module license 'Proprietary' taints kernel.ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425,REGOPS_FUNC, DFS, XR)ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)ath_rate_minstrel: look around rate set to 10%ath_rate_minstrel: EWMA rolloff level set to 75%ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registeredath_pci: trunk
device eth0 entered promiscuous mode
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US PCI: enabling device 0000:00:01.0 (0340 -> 0342) cfg80211: Regulatory domain changed to country: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)phy0: Selected rate control algorithm '
ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 Rev:2 mem=0xc4aa0000, irq=7 PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24nf_conntrackversion 0.5.0 (1024 buckets, 4096 max)AP:
***************************************************************************************************************************************
root at OpenWrt:/# hostapd -d/var/run/hostapd-wlan0.confConfiguration file:/var/run/hostapd-wlan0.conf
nl80211: Add own interface ifindex 4
nl80211: Add own interface ifindex 6
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
nl80211: Add own interface ifindex 9
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] 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: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (8 BSSes)
40 MHz affected channel range: [2437,2487] MHz
Neighboring BSS: 00:25:86:21:a4:56 freq=2437 pri=0 sec=0 Neighboring BSS: 00:14:78:fc:2a:6a freq=2437 pri=0 sec=0 Neighboring BSS: 00:23:cd:16:4e:4c freq=2437 pri=0 sec=0 Completing interface initialization
Mode: IEEE 802.11g Channel: 13 Frequency: 2472 MHz
Flushing old station entries
Deauthenticate all stationsnl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0nl_set_encr: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:19:70:2a:10:99 and ssid 'OpenWrt'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) failmgmt::proberespcb
MGMT (TX callback) ACK
MGMT (TX callback) ACKmgmt::proberespcb
MGMT (TX callback) ACKmgmt::proberespcbmgmt::auth
authentication: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-AUTHENTICATE.indication(00:19:70:2a:10:97,OPEN_SYSTEM)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97)
authentication reply: STA=00:19:70:2a:10:97 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACKmgmt::authcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: authenticatedmgmt::assoc_req
association request: STA=00:19:70:2a:10:97 capab_info=0x421 listen_interval=10
Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info0x0
HT: STA 00:19:70:2a:10:97 HT Capabilities Info:0x104ehandle_assocSTA 00:19:70:2a:10:97 - no greenfield, num of non-gf stations 1hostapd_ht_operation_updatecurrent operation mode=0x0hostapd_ht_operation_updatenew operation mode=0x7 changes=2
nl80211: Set beacon (beacon_set=1)
new AID 1
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: association OK (aid 1) MGMT (TX callback) ACKmgmt::assoc_respcb
wlan0: STA 00:19:70:2a:10:97 IEEE 802.11: associated (aid 1) AP-STA-CONNECTED 00:19:70:2a:10:97
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-ASSOCIATE.indication(00:19:70:2a:10:97)
wlan0: STA 00:19:70:2a:10:97 MLME:
MLME-DELETEKEYS.request(00:19:70:2a:10:97).......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:97 (on wlan0)inactive time: 0 ms rx bytes: 205674288 rx packets: 140010 tx bytes: 5161452 tx packets: 69608 signal: -18 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 3 0 0 0 300.0: 82601 3 0 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/station_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/6
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0STA:
***************************************************************************************************************************************
root at OpenWrt:/# iperf -c 192.168.2.124 -i 1 -n 20000
------------------------------------------------------------
Client connecting to 192.168.2.124, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.123 port 60579 connected with 192.168.2.124 port 5001[ ID] Interval Transfer Bandwidth [ 5] 0.0- 1.0 sec 3.04 MBytes 25.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 1.0- 2.0 sec 3.02 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 2.0- 3.0 sec 2.91 MBytes 24.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 3.0- 4.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 4.0- 5.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 5.0- 6.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 6.0- 7.0 sec 3.02 MBytes 25.3 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 7.0- 8.0 sec 2.93 MBytes 24.6 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 8.0- 9.0 sec 2.99 MBytes 25.1 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 9.0-10.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 10.0-11.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 11.0-12.0 sec 2.85 MBytes 23.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 12.0-13.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 13.0-14.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 14.0-15.0 sec 2.83 MBytes 23.7 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 15.0-16.0 sec 3.03 MBytes 25.4 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 16.0-17.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 17.0-18.0 sec 2.97 MBytes 24.9 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 18.0-19.0 sec 2.80 MBytes 23.5 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 19.0-20.0 sec 3.00 MBytes 25.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 20.0-21.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 21.0-22.0 sec 2.88 MBytes 24.2 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 22.0-23.0 sec 2.98 MBytes 25.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 23.0-24.0 sec 2.86 MBytes 24.0 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 24.0-25.0 sec 2.96 MBytes 24.8 Mbits/sec [ ID] Interval Transfer Bandwidth [ 5] 25.0-26.0 sec 2.87 MBytes 24.1 Mbits/sec [ ID] Interval Transfer Bandwidth.......................................................................................
root at OpenWrt:/# iw wlan0 station dump
Station 00:19:70:2a:10:99 (on wlan0)inactive time: 0 ms rx bytes: 7556920 rx packets: 101870 tx bytes: 302582584 tx packets: 205200 signal: -23 dBm tx bitrate: 300.0 MBit/s MCS 15 40Mhz short GI.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ath9k/phy0/rcstat
Rate Success Retries XRetries PER1.0: 0 0 0 0 2.0: 0 0 0 0 5.5: 0 0 0 0 11.0: 0 0 0 0 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: 0 0 0 0 104.0: 0 0 0 0 117.0: 0 0 0 0 130.0: 0 0 0 0 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: 3 0 0 0 243.0: 3 0 0 0 270.0: 5 0 0 0 300.0: 119472 54 4 0.......................................................................................
root at OpenWrt:/# cat
/sys/kernel/debug/ieee80211/phy0/stations/ap_mac/ht_capaht supported
cap:0x104e
ampdu factor/density: 3/0
MCS mask: ff ff 00 00 00 00 00 00 00 00
MCS rx highest: 0
MCS tx params: 0.......................................................................................
ping result:
--- 192.168.2.124 ping statistics ---
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 1.930/2.396/3.892 ms-----Original Message-----
From: oiioeu at aol.com
To: ath9k-devel at lists.ath9k.org
Sent: Wed, Jan 13, 2010 1:31 pm
Subject: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40suppose we have nothing wrong with the configuration, the driver, the hardware, regdomain, etc.
and what might be the biggest reason to limit our throughput rate below the theoretic value? the CPU speed?
Thank you!_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
Quoted 9 lines
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-develHi all,
I am facing the same problem. I carried out this test:AP = PC Engines Wrap with the latest version of OpenWRT trunk and MikroTik Router Board R2n (Atheros AR9223 chipset) as miniPCI card
STA = Dell Studio XPS 13 (Intel Core 2 Duo P8700, 4096MB SDRAM DDR3) with Debian Lenny (kernel 2.6.32.3) and wireless Dell 1515 (Atheros AR9280 chipset)
as wireless radio device. STA is also the Iperf UDP clientPC = Iperf UDP server
Here is my topology:
STA <--Wireless link--> AP <--Wired link--> PC
STA and AP are in line of sight and quite close.
In each test I got bad results with a maximum throughput of ~ 35Mbps while the Iperf client was transmitting ~ 80Mbps and STA was using MCS 15.
Quoted 8 lines
I agree with rootkit85, I don't thinks this problem is due to inefficiency of some user-level module (i.e. hostapd)
but I it seems that the driver isn't optimized for embedded systems yet.Regards.
Lorenzo
I have the same network topology as Lorenzo and I experience this issue too.
In my case:
PC: Dell Studio 1557 (Intel Core i7, 4GB RAM, Intel Wifi 5300) Ubuntu 9.10 with kernel 2.6.33-rc4 vanilla
STA: Intel Core i7, 8 GB RAM, ubuntu 9.10
AP: PC Engines Alix3 (AMD Geode 500 MHz, 256 MB RAM)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100203/0716110d/attachment-0001.htm
Quoted 1 line · On Tue, Feb 2, 2010 at 11:56 PM, <[email protected]> wrote:
OK, I found it was actually the SU
What's an SU?
sorry, I mean the station.
I'm not sure where the problem is, I got an avg. 30Mbps( cpu load is <80%) throughput with my AP( cpu load is avg. 60% ) that built from OpenWrt latest trunk,
and a 50Mbps( cpu load is 95% on the station ) with a Compex wp543 AP( cpu load is avg. 70%),
while my AP works good with a Debian PC as the 11n STA, has a avg. 80Mbps of the throughput under HT40.
Thank you.
-----Original Message-----
From: Luis R. Rodriguez <[email protected]>
To: oiioeu at aol.com
Cc: ath9k-devel at lists.ath9k.org; rootkit85 at yahoo.it
Sent: Thu, Feb 4, 2010 2:42 am
Subject: Re: [ath9k-devel] what is the actual throughput we probably may have under 130Mbps/HT20, 300Mbps/HT40
Quoted 1 line · On Tue, Feb 2, 2010 at 11:56 PM, <[email protected]> wrote:
OK, I found it was actually the SU
What's an SU?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100204/e0f53c4a/attachment.htm