802.11n throughput with ath9k
Hello,
do you get such a performance in AP mode too? I have 300Mbps TP-Link TL-WN951N MIMO card an in AP mode I never get more than ~25Mb/s. Average result is ~7-15Mb/s. Honestly, I am a bit disappointed because of my previous card (TP-LINK with Atheros AR2413 802.11bg NIC (rev 01)) provided the same performance or even better because 22-25 Mb/s was stable result.
Do you have any suggestion how to use my new card in AP mode with full performance of 802.11n mode? Here is my hostapd.config file:
interface=wlan0
driver=nl80211
ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40][AMPDU] hw_mode=g
channel=5
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_bk_aifs=7
wme_ac_bk_txop_limit=0
wme_ac_bk_acm=0
wme_ac_be_aifs=3
wme_ac_be_cwmin=4
wme_ac_be_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=1
dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0
ssid=HOME_WiFi
macaddr_acl=1 accept_mac_file=/etc/hostapd/hostapd.accept deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
wpa=2 wpa_passphrase=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
If I missed important data, please let me know.
Best Regards,
Tomek
Quoted 57 lines · Tomasz Czaus <tomasz_czaus <at> go2.pl> writes:
Hello,
do you get such a performance in AP mode too? I have 300Mbps TP-Link TL-WN951N MIMO card an in AP mode I never get more than ~25Mb/s. Average result is ~7-15Mb/s. Honestly, I am a bit disappointed because of my previous card (TP-LINK with Atheros AR2413 802.11bg NIC (rev 01)) provided the same performance or even better because 22-25 Mb/s was stable result.
Do you have any suggestion how to use my new card in AP mode with full performance of 802.11n mode? Here is my hostapd.config file:
interface=wlan0
driver=nl80211
ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40][AMPDU] hw_mode=g
channel=5
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_bk_aifs=7
wme_ac_bk_txop_limit=0
wme_ac_bk_acm=0
wme_ac_be_aifs=3
wme_ac_be_cwmin=4
wme_ac_be_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=1
dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0
ssid=HOME_WiFi
macaddr_acl=1 accept_mac_file=/etc/hostapd/hostapd.accept deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
wpa=2 wpa_passphrase=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
Quoted 5 lines
If I missed important data, please let me know.
Best Regards,
Tomek
Hello,
I have TL-WN951N connected to D945GCLF motherboard. The PC is home router and NAS. I am running the card in AP mode. I am getting speeds about 250Mb/s but just for a few second then speed drop to few kb/s and later to zero.
Connection is very unstable. In fact it is unusable. I have to switch to pure g mode with ieee80211n=0. Even then the speed is unstable, but it works just a bit slower than old 80211g card. Also removing the ht_capab line worths trying.
I am suspecting the card to be defect as its chipset AR5416 + AR2133 should be supported by ath9k driver. And it often(once a minute if under load) writes lines like:
ath: Failed to stop TX DMA in 100 msec after killing last frame
ath: Failed to stop TX DMA. Resetting hardware!
and
ath: beacon queue 9 did not stop?
Does your card also freeze time to time?
Does it writes messages about TX DMA?
I ma using 2.6.35 kernel (wireless-testing git makes no change) and hostapd 0.7.2.
Sorry for my english. I have problems writing my native language.
Vlada
Quoted 1 line · Vlada Matena
Connection is very unstable. In fact it is unusable.
..
Quoted 2 lines
I am suspecting the card to be defect as its chipset AR5416 + AR2133 should be supported by ath9k driver.
Should, but I don't believe the driver works very well with the older ath9k hardware. Most if not all focus is on the very latest hardware.
Quoted 1 line
Does your card also freeze time to time?
Yes.
Quoted 1 line
Does it writes messages about TX DMA?
Yes.
I've just started using an AR9280 card instead of my AR5416, but it's too soon to comment on if it works substantially better for me. Others have solid success with these cards, so I hope for the best!
//Peter
Quoted 3 lines · Peter Stuge <peter <at> stuge.se> writes:
I've just started using an AR9280 card instead of my AR5416, but it's too soon to comment on if it works substantially better for me. Others have solid success with these cards, so I hope for the best!
Thank for info. I can move this card to client running Windows and buy something else for AP.