* carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE @ 2011-04-13 8:33 Damian Lesiuk 2011-04-13 8:51 ` Damian Lesiuk 2011-04-13 10:14 ` Christian Lamparter 0 siblings, 2 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-13 8:33 UTC (permalink / raw) To: linux-wireless I have very low connection speeds. Is it normal for that device/driver? My hostapd.conf: interface=wlan0 driver=nl80211 ssid=lesiuk channel=7 hw_mode=g ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=3 wpa_passphrase=password wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP beacon_int=100 dtim_period=2 ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 8:33 carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE Damian Lesiuk @ 2011-04-13 8:51 ` Damian Lesiuk 2011-04-13 10:14 ` Christian Lamparter 1 sibling, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-13 8:51 UTC (permalink / raw) To: linux-wireless * Supports High Throughput/802.11n up to PHY speeds of 300Mbits (~ RL performance of max. 100Mbit/s tcp, udp goes to 130 and beyond) Huh so it's not normal. What I am doing wrong? 2011/4/13 Damian Lesiuk <lesiuk@gmail.com>: > I have very low connection speeds. Is it normal for that device/driver? > > My hostapd.conf: > interface=wlan0 > driver=nl80211 > ssid=lesiuk > channel=7 > hw_mode=g > ieee80211n=1 > ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] > > macaddr_acl=0 > auth_algs=1 > ignore_broadcast_ssid=0 > wpa=3 > wpa_passphrase=password > wpa_key_mgmt=WPA-PSK > wpa_pairwise=TKIP > rsn_pairwise=CCMP > > beacon_int=100 > > dtim_period=2 > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 8:33 carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE Damian Lesiuk 2011-04-13 8:51 ` Damian Lesiuk @ 2011-04-13 10:14 ` Christian Lamparter [not found] ` <BANLkTikKvO6EvMrGtOCdYCO9_pdgUzPxyQ@mail.gmail.com> 1 sibling, 1 reply; 40+ messages in thread From: Christian Lamparter @ 2011-04-13 10:14 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Wednesday 13 April 2011 10:33:38 Damian Lesiuk wrote: > I have very low connection speeds. Is it normal for that device/driver? depends, mostly on the client and maybe interference/link quality. <http://wireless.kernel.org/en/users/Drivers/carl9170#A802.11n_Compatibility> you probably have to enable wmm [see hostapd docs], but because of the compatibility issues anyone should refrain from however, Atheros has just released a patchset+fw which brings AP support to ath9k_htc. ^ permalink raw reply [flat|nested] 40+ messages in thread
[parent not found: <BANLkTikKvO6EvMrGtOCdYCO9_pdgUzPxyQ@mail.gmail.com>]
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE [not found] ` <BANLkTikKvO6EvMrGtOCdYCO9_pdgUzPxyQ@mail.gmail.com> @ 2011-04-13 11:32 ` Christian Lamparter 2011-04-13 14:23 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Christian Lamparter @ 2011-04-13 11:32 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Wednesday 13 April 2011 12:51:58 Damian Lesiuk wrote: > It doesn't solved my problem. Still max dl speed 16 mbps. ok, so it could be something else... maybe it's a driver bug, maybe something is outdated [avoid hostapd older than 0.7,3], or maybe just a simple configuration problem [on either side]? you can't tell that by just looking at the low throughput figure. Instead you probably have to capture the handshake between the AP+client and look who's lying about their 11n capabilities. Luckily, all mac80211-based driver come with a nifty feature which allows you to monitor any incoming/outgoing data. Just setup a monitor interface. <http://wireless.kernel.org/en/users/Documentation/iw#Adding_interfaces_with_iw> and start a sniffer. tcpdump/whireshark is more than enough. > btw, Can I use ath9k_htc with my Atheros 9170 in N master mode. no, ar9170 is too old. ath9k_htc is exclusive driver for the ar9271,ar701x+ar928x devices, which appeared in late 2009. > What about performance? it's ok. Regards, Chr ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 11:32 ` Christian Lamparter @ 2011-04-13 14:23 ` Damian Lesiuk 2011-04-13 16:11 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-13 14:23 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless tcpdump file http://uniwersytecka.dyndns.biz/~lesiuk/dump I had hostapd older than 0.7.3 but after upgrade there is the same problem. There is only one change. Windows 7 is displaying it as 75 mbps connection not 150 mbps (with the same config as with the older version) but I have still 16 mbps dl rate. I am using gentoo linux and I didn't compiled that driver manually. I have that driver from 3.6.38 kernel. I really want to make it work. What should I do? Will OS change help? 2011/4/13 Christian Lamparter <chunkeey@googlemail.com>: > On Wednesday 13 April 2011 12:51:58 Damian Lesiuk wrote: >> It doesn't solved my problem. Still max dl speed 16 mbps. > ok, so it could be something else... maybe it's a driver bug, maybe > something is outdated [avoid hostapd older than 0.7,3], or maybe > just a simple configuration problem [on either side]? > > you can't tell that by just looking at the low throughput figure. > Instead you probably have to capture the handshake between the > AP+client and look who's lying about their 11n capabilities. > > Luckily, all mac80211-based driver come with a nifty feature which > allows you to monitor any incoming/outgoing data. Just setup a > monitor interface. > <http://wireless.kernel.org/en/users/Documentation/iw#Adding_interfaces_with_iw> > > and start a sniffer. tcpdump/whireshark is more than enough. > >> btw, Can I use ath9k_htc with my Atheros 9170 in N master mode. > no, ar9170 is too old. ath9k_htc is exclusive driver for the > ar9271,ar701x+ar928x devices, which appeared in late 2009. > >> What about performance? > it's ok. > > Regards, > Chr > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 14:23 ` Damian Lesiuk @ 2011-04-13 16:11 ` Damian Lesiuk 2011-04-13 16:19 ` Damian Lesiuk 2011-04-13 16:43 ` Christian Lamparter 0 siblings, 2 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-13 16:11 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless When I turned off N i have this in log. http://pastebin.com/raw.php?i=q0zKxUZn And still 16 mbps. 2011/4/13 Damian Lesiuk <lesiuk@gmail.com>: > tcpdump file > http://uniwersytecka.dyndns.biz/~lesiuk/dump > > I had hostapd older than 0.7.3 but after upgrade there is the same problem. > There is only one change. Windows 7 is displaying it as 75 mbps > connection not 150 mbps (with the same config as with the older > version) but I have still 16 mbps dl rate. > > I am using gentoo linux and I didn't compiled that driver manually. I > have that driver from 3.6.38 kernel. > I really want to make it work. > > What should I do? Will OS change help? > > 2011/4/13 Christian Lamparter <chunkeey@googlemail.com>: >> On Wednesday 13 April 2011 12:51:58 Damian Lesiuk wrote: >>> It doesn't solved my problem. Still max dl speed 16 mbps. >> ok, so it could be something else... maybe it's a driver bug, maybe >> something is outdated [avoid hostapd older than 0.7,3], or maybe >> just a simple configuration problem [on either side]? >> >> you can't tell that by just looking at the low throughput figure. >> Instead you probably have to capture the handshake between the >> AP+client and look who's lying about their 11n capabilities. >> >> Luckily, all mac80211-based driver come with a nifty feature which >> allows you to monitor any incoming/outgoing data. Just setup a >> monitor interface. >> <http://wireless.kernel.org/en/users/Documentation/iw#Adding_interfaces_with_iw> >> >> and start a sniffer. tcpdump/whireshark is more than enough. >> >>> btw, Can I use ath9k_htc with my Atheros 9170 in N master mode. >> no, ar9170 is too old. ath9k_htc is exclusive driver for the >> ar9271,ar701x+ar928x devices, which appeared in late 2009. >> >>> What about performance? >> it's ok. >> >> Regards, >> Chr >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 16:11 ` Damian Lesiuk @ 2011-04-13 16:19 ` Damian Lesiuk 2011-04-13 16:43 ` Christian Lamparter 1 sibling, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-13 16:19 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless uniwersytecka-server ~ # eix hostapd [I] net-wireless/hostapd Available versions: 0.6.9 (~)0.7.3 {debug ipv6 logwatch madwifi +ssl +wps} Installed versions: 0.7.3(11:22:54 20.04.2011)(ssl wps -debug -ipv6 -logwatch -madwifi) Homepage: http://hostap.epitest.fi Description: IEEE 802.11 wireless LAN Host AP daemon usb 1-3: driver API: 1.9.0 2010-10-29 [1-1] usb 1-3: firmware API: 1.9.2 2010-12-25 2011/4/13 Damian Lesiuk <lesiuk@gmail.com>: > When I turned off N i have this in log. > http://pastebin.com/raw.php?i=q0zKxUZn > > > And still 16 mbps. > > 2011/4/13 Damian Lesiuk <lesiuk@gmail.com>: >> tcpdump file >> http://uniwersytecka.dyndns.biz/~lesiuk/dump >> >> I had hostapd older than 0.7.3 but after upgrade there is the same problem. >> There is only one change. Windows 7 is displaying it as 75 mbps >> connection not 150 mbps (with the same config as with the older >> version) but I have still 16 mbps dl rate. >> >> I am using gentoo linux and I didn't compiled that driver manually. I >> have that driver from 3.6.38 kernel. >> I really want to make it work. >> >> What should I do? Will OS change help? >> >> 2011/4/13 Christian Lamparter <chunkeey@googlemail.com>: >>> On Wednesday 13 April 2011 12:51:58 Damian Lesiuk wrote: >>>> It doesn't solved my problem. Still max dl speed 16 mbps. >>> ok, so it could be something else... maybe it's a driver bug, maybe >>> something is outdated [avoid hostapd older than 0.7,3], or maybe >>> just a simple configuration problem [on either side]? >>> >>> you can't tell that by just looking at the low throughput figure. >>> Instead you probably have to capture the handshake between the >>> AP+client and look who's lying about their 11n capabilities. >>> >>> Luckily, all mac80211-based driver come with a nifty feature which >>> allows you to monitor any incoming/outgoing data. Just setup a >>> monitor interface. >>> <http://wireless.kernel.org/en/users/Documentation/iw#Adding_interfaces_with_iw> >>> >>> and start a sniffer. tcpdump/whireshark is more than enough. >>> >>>> btw, Can I use ath9k_htc with my Atheros 9170 in N master mode. >>> no, ar9170 is too old. ath9k_htc is exclusive driver for the >>> ar9271,ar701x+ar928x devices, which appeared in late 2009. >>> >>>> What about performance? >>> it's ok. >>> >>> Regards, >>> Chr >>> >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 16:11 ` Damian Lesiuk 2011-04-13 16:19 ` Damian Lesiuk @ 2011-04-13 16:43 ` Christian Lamparter 2011-04-14 11:53 ` Damian Lesiuk 1 sibling, 1 reply; 40+ messages in thread From: Christian Lamparter @ 2011-04-13 16:43 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Wednesday 13 April 2011 18:11:48 Damian Lesiuk wrote: > When I turned off N i have this in log. > http://pastebin.com/raw.php?i=q0zKxUZn That's an assert to catch unwanted calls into the driver by the stack or from userspace. In this case the driver WARNED that it received an update to the bss_conf after all virtual interfaces have been removed. (This makes no sense, since *vif might not point to an old/gone ieee80211_vif.) But it's simple to fix: get compat-wireless. <http://wireless.kernel.org/en/users/Download> Regards, Chr P.S.: where's that hostapd from 2011-04-20 coming from? AFAIK it's still the 13/14th of April on Earth :D ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-13 16:43 ` Christian Lamparter @ 2011-04-14 11:53 ` Damian Lesiuk 2011-04-14 11:57 ` Damian Lesiuk 2011-04-14 14:11 ` Christian Lamparter 0 siblings, 2 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 11:53 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless usb 1-3: reset high speed USB device using ehci_hcd and address 3 usbcore: registered new interface driver carl9170 usb 1-3: driver API: 1.9.2 2011-01-22 [1-1] usb 1-3: firmware API: 1.9.2 2010-12-25 usbcore: registered new interface driver ar9170usb ieee80211 phy0: Selected rate control algorithm 'minstrel' usb 1-3: Atheros AR9170 is registered as 'phy0' I have compat-wireless now and still the same issue. What else can I try? > P.S.: where's that hostapd from 2011-04-20 coming from? > AFAIK it's still the 13/14th of April on Earth :D I have wrong date on the server :D ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 11:53 ` Damian Lesiuk @ 2011-04-14 11:57 ` Damian Lesiuk 2011-04-14 12:47 ` Damian Lesiuk 2011-04-14 14:11 ` Christian Lamparter 1 sibling, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 11:57 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless btw, I shortened my hostapd config to interface=wlan0 driver=nl80211 ssid=lesiuk channel=7 hw_mode=g ieee80211n=1 wme_enabled=1 ht_capab=[HT40-][SHORT-GI-40] And I see that as 75 mbps network. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 11:57 ` Damian Lesiuk @ 2011-04-14 12:47 ` Damian Lesiuk 2011-04-14 13:24 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 12:47 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless I can give you any debug informations you need. I really want make it work. 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > btw, I shortened my hostapd config to > > interface=wlan0 > driver=nl80211 > ssid=lesiuk > channel=7 > hw_mode=g > ieee80211n=1 > wme_enabled=1 > ht_capab=[HT40-][SHORT-GI-40] > > And I see that as 75 mbps network. > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 12:47 ` Damian Lesiuk @ 2011-04-14 13:24 ` Damian Lesiuk 0 siblings, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 13:24 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless I made new tcpdump log with hostapd 0.7.3 http://uniwersytecka.dyndns.biz/~lesiuk/dump2 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > I can give you any debug informations you need. > I really want make it work. > > 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >> btw, I shortened my hostapd config to >> >> interface=wlan0 >> driver=nl80211 >> ssid=lesiuk >> channel=7 >> hw_mode=g >> ieee80211n=1 >> wme_enabled=1 >> ht_capab=[HT40-][SHORT-GI-40] >> >> And I see that as 75 mbps network. >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 11:53 ` Damian Lesiuk 2011-04-14 11:57 ` Damian Lesiuk @ 2011-04-14 14:11 ` Christian Lamparter 2011-04-14 14:26 ` Damian Lesiuk 2011-04-14 14:40 ` Damian Lesiuk 1 sibling, 2 replies; 40+ messages in thread From: Christian Lamparter @ 2011-04-14 14:11 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Thu, Apr 14, 2011 at 1:53 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: > ieee80211 phy0: Selected rate control algorithm 'minstrel' That's the ticket! you see minstrel does not know about ht frames at all! You need to have minstrel_ht for it to work properly. The weird thing is that minstrel_ht should be the default rate control [e.g. config.mk in compat-wireless should have: CONFIG_MAC80211_RC_DEFAULT=minstrel_ht ] algorithm, so the question is: who or what changed the default? do you have a module option for mac80211 to overwrite ieee80211_default_rc_algo? (check /sys/module/mac80211/parameters/ieee80211_default_rc_algo it should say minstrel_ht) Regards, Chr ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:11 ` Christian Lamparter @ 2011-04-14 14:26 ` Damian Lesiuk 2011-04-14 14:40 ` Damian Lesiuk 1 sibling, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 14:26 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless I changed it yesterday because of that problem. I thought It will help and I forgot about that. I have now: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' And It's still the same. Do you have other idea? I am open to suggestions. 2011/4/14 Christian Lamparter <chunkeey@googlemail.com>: > On Thu, Apr 14, 2011 at 1:53 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: > >> ieee80211 phy0: Selected rate control algorithm 'minstrel' > > That's the ticket! > > you see minstrel does not know about ht frames at all! You need to > have minstrel_ht for it > to work properly. The weird thing is that minstrel_ht should be the > default rate control > [e.g. config.mk in compat-wireless should have: > CONFIG_MAC80211_RC_DEFAULT=minstrel_ht ] > algorithm, so the question is: who or what changed the default? > > do you have a module option for mac80211 to overwrite ieee80211_default_rc_algo? > (check /sys/module/mac80211/parameters/ieee80211_default_rc_algo it should say > minstrel_ht) > > Regards, > Chr > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:11 ` Christian Lamparter 2011-04-14 14:26 ` Damian Lesiuk @ 2011-04-14 14:40 ` Damian Lesiuk 2011-04-14 14:50 ` Damian Lesiuk 2011-04-14 14:50 ` Helmut Schaa 1 sibling, 2 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 14:40 UTC (permalink / raw) To: linux-wireless uniwersytecka-server ~ # iw wlan0 station dump Station 74:f0:6d:33:ea:00 (on wlan0) inactive time: 20 ms rx bytes: 5043668 rx packets: 9305 tx bytes: 13762256 tx packets: 11634 signal: -31 dBm tx bitrate: 65.0 MBit/s MCS 7 So it helped in some way. Why that network isn't 300 mbps? My config is: interface=wlan0 driver=nl80211 ssid=lesiuk channel=7 hw_mode=g ieee80211n=1 wme_enabled=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:40 ` Damian Lesiuk @ 2011-04-14 14:50 ` Damian Lesiuk 2011-04-14 19:06 ` Christian Lamparter 2011-04-14 14:50 ` Helmut Schaa 1 sibling, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 14:50 UTC (permalink / raw) To: linux-wireless; +Cc: chunkeey btw I have 40 mbps now WOW!! :) But my windows 7 laptop still shows it as 75 mbps connection. 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > uniwersytecka-server ~ # iw wlan0 station dump > Station 74:f0:6d:33:ea:00 (on wlan0) > inactive time: 20 ms > rx bytes: 5043668 > rx packets: 9305 > tx bytes: 13762256 > tx packets: 11634 > signal: -31 dBm > tx bitrate: 65.0 MBit/s MCS 7 > > So it helped in some way. > Why that network isn't 300 mbps? > > My config is: > interface=wlan0 > driver=nl80211 > ssid=lesiuk > channel=7 > hw_mode=g > ieee80211n=1 > wme_enabled=1 > ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:50 ` Damian Lesiuk @ 2011-04-14 19:06 ` Christian Lamparter 2011-04-14 19:26 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Christian Lamparter @ 2011-04-14 19:06 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Thursday 14 April 2011 16:50:31 Damian Lesiuk wrote: > btw I have 40 mbps now WOW!! :) nearly half-way. > But my windows 7 laptop still shows it as 75 mbps connection. yup, but that's because of hostapd. You should start it with -d (or -dd) and check the logs for something like: "20/40 MHz operation not permitted on channel pri=7 sec=3 based on overlapping BSSes" this is expected [see 802.11n 11.14.12 ] and you'll have to deal with this issue differently [e.g.: move to another channel]. Regards, Chr ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 19:06 ` Christian Lamparter @ 2011-04-14 19:26 ` Damian Lesiuk 2011-04-14 19:31 ` Christian Lamparter 2011-04-14 19:36 ` Damian Lesiuk 0 siblings, 2 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 19:26 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless Hostapd log with -dd option. I dont see any operation not permitted. wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.11: authentication OK (open system) wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-AUTHENTICATE.indication(74:f0:6d:33:ea:00, OPEN_SYSTEM) wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-DELETEKEYS.request(74:f0:6d:33:ea:00) wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.11: authenticated wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.11: association OK (aid 1) wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.11: associated (aid 1) wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-ASSOCIATE.indication(74:f0:6d:33:ea:00) wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-DELETEKEYS.request(74:f0:6d:33:ea:00) wlan0: STA 74:f0:6d:33:ea:00 WPA: event 1 notification wlan0: STA 74:f0:6d:33:ea:00 WPA: start authentication wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.1X: unauthorizing port wlan0: STA 74:f0:6d:33:ea:00 WPA: sending 1/4 msg of 4-Way Handshake wlan0: STA 74:f0:6d:33:ea:00 WPA: received EAPOL-Key frame (2/4 Pairwise) wlan0: STA 74:f0:6d:33:ea:00 WPA: sending 3/4 msg of 4-Way Handshake wlan0: STA 74:f0:6d:33:ea:00 WPA: received EAPOL-Key frame (4/4 Pairwise) wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.1X: authorizing port wlan0: STA 74:f0:6d:33:ea:00 RADIUS: starting accounting session 4DB05FB9-00000000 wlan0: STA 74:f0:6d:33:ea:00 WPA: pairwise key handshake completed (RSN) wlan0: STA 74:f0:6d:33:ea:00 IEEE 802.11: handle_action - unknown action category 4 or invalid frame wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-DEAUTHENTICATE.indication(74:f0:6d:33:ea:00, 1) wlan0: STA 74:f0:6d:33:ea:00 MLME: MLME-DELETEKEYS.request(74:f0:6d:33:ea:00) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 19:26 ` Damian Lesiuk @ 2011-04-14 19:31 ` Christian Lamparter 2011-04-14 19:36 ` Damian Lesiuk 1 sibling, 0 replies; 40+ messages in thread From: Christian Lamparter @ 2011-04-14 19:31 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Thursday 14 April 2011 21:26:42 Damian Lesiuk wrote: > Hostapd log with -dd option. > > I dont see any operation not permitted. that's because you are looking at the wrong position... this is logged much, much earlier @ startup. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 19:26 ` Damian Lesiuk 2011-04-14 19:31 ` Christian Lamparter @ 2011-04-14 19:36 ` Damian Lesiuk 2011-04-14 20:51 ` Christian Lamparter 1 sibling, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 19:36 UTC (permalink / raw) To: Christian Lamparter; +Cc: linux-wireless [-- Attachment #1: Type: text/plain, Size: 79 bytes --] I don't have any more log. I dumped it by hostapd -dd /config/file &> log_file [-- Attachment #2: file.png --] [-- Type: image/png, Size: 166621 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 19:36 ` Damian Lesiuk @ 2011-04-14 20:51 ` Christian Lamparter 2011-04-15 6:22 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Christian Lamparter @ 2011-04-14 20:51 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Thursday 14 April 2011 21:36:05 Damian Lesiuk wrote: > I don't have any more log. > I dumped it by hostapd -dd /config/file &> log_file sure, this is what it looks like, your output is clearly "mangled". --- cut --- # hostapd -dd /etc/hostapd/hostapd.conf.2ghz Configuration file: /etc/hostapd/hostapd.conf.2ghz ctrl_interface_group=0 nl80211: Add own interface ifindex 7 nl80211: New interface mon.wlanap created: ifindex=9 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 Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm RATE[0] rate=10 flags=0x1 RATE[1] rate=20 flags=0x1 RATE[2] rate=55 flags=0x1 RATE[3] rate=110 flags=0x1 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 RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlanap' added Unknown event 5 RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlanap' added Unknown event 5 RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlanap' added Unknown event 5 nl80211: Event message available nl80211: New scan results available Received scan results (2 BSSes) 40 MHz affected channel range: [2427,2477] MHz Neighboring BSS: d8:5d:4c:c0:f8:e3 freq=2412 pri=1 sec=5 40 MHz pri/sec mismatch with BSS d8:5d:4c:c0:f8:e3 <2412,2432> (chan=1+) vs. <2462,2442> <==== 20/40 MHz operation not permitted on channel pri=11 sec=7 based on overlapping BSSes <========= Completing interface initialization --- cut --- Regards, Chr ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 20:51 ` Christian Lamparter @ 2011-04-15 6:22 ` Damian Lesiuk 2011-04-15 6:30 ` Helmut Schaa 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 6:22 UTC (permalink / raw) To: Christian Lamparter, linux-wireless I have debug USE flag disabled, I recompiled hostapd with that flag and now I can see log like your. You are right it's BSSs. Is there option to do not scan for overlapping BSSs? I know that it'll break some standards but that other networks are very week. I can't see them from my laptop. 2011/4/14 Christian Lamparter <chunkeey@googlemail.com>: > On Thursday 14 April 2011 21:36:05 Damian Lesiuk wrote: >> I don't have any more log. >> I dumped it by hostapd -dd /config/file &> log_file > > sure, this is what it looks like, your output is clearly "mangled". > > --- cut --- > # hostapd -dd /etc/hostapd/hostapd.conf.2ghz > Configuration file: /etc/hostapd/hostapd.conf.2ghz > ctrl_interface_group=0 > nl80211: Add own interface ifindex 7 > nl80211: New interface mon.wlanap created: ifindex=9 > 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 > Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm > Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm > Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm > RATE[0] rate=10 flags=0x1 > RATE[1] rate=20 flags=0x1 > RATE[2] rate=55 flags=0x1 > RATE[3] rate=110 flags=0x1 > 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 > RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () > RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlanap' added > Unknown event 5 > RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) > RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlanap' added > Unknown event 5 > RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) > RTM_NEWLINK, IFLA_IFNAME: Interface 'wlanap' added > Unknown event 5 > nl80211: Event message available > nl80211: New scan results available > Received scan results (2 BSSes) > 40 MHz affected channel range: [2427,2477] MHz > Neighboring BSS: d8:5d:4c:c0:f8:e3 freq=2412 pri=1 sec=5 > 40 MHz pri/sec mismatch with BSS d8:5d:4c:c0:f8:e3 <2412,2432> (chan=1+) vs. <2462,2442> <==== > 20/40 MHz operation not permitted on channel pri=11 sec=7 based on overlapping BSSes <========= > Completing interface initialization > > --- cut --- > > Regards, > Chr > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 6:22 ` Damian Lesiuk @ 2011-04-15 6:30 ` Helmut Schaa 2011-04-15 6:36 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Helmut Schaa @ 2011-04-15 6:30 UTC (permalink / raw) To: Damian Lesiuk; +Cc: Christian Lamparter, linux-wireless On Fri, Apr 15, 2011 at 8:22 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: > Is there option to do not scan for overlapping BSSs? AFAIK not without patching the code. Helmut ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 6:30 ` Helmut Schaa @ 2011-04-15 6:36 ` Damian Lesiuk 2011-04-15 6:38 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 6:36 UTC (permalink / raw) To: Helmut Schaa; +Cc: Christian Lamparter, linux-wireless Openwrt have noscan option with mac80211 (https://dev.openwrt.org/browser/branches/backfire/package/mac80211/files/lib/wifi/mac80211.sh?rev=22356) They patched code? Where can I find that patch? 2011/4/15 Helmut Schaa <helmut.schaa@googlemail.com>: > On Fri, Apr 15, 2011 at 8:22 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: >> Is there option to do not scan for overlapping BSSs? > > AFAIK not without patching the code. > > Helmut > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 6:36 ` Damian Lesiuk @ 2011-04-15 6:38 ` Damian Lesiuk 2011-04-15 6:47 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 6:38 UTC (permalink / raw) To: Helmut Schaa; +Cc: Christian Lamparter, linux-wireless Look at noscan option in their docs. http://wiki.openwrt.org/doc/uci/wireless 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: > Openwrt have noscan option with mac80211 > (https://dev.openwrt.org/browser/branches/backfire/package/mac80211/files/lib/wifi/mac80211.sh?rev=22356) > They patched code? > > Where can I find that patch? > > 2011/4/15 Helmut Schaa <helmut.schaa@googlemail.com>: >> On Fri, Apr 15, 2011 at 8:22 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: >>> Is there option to do not scan for overlapping BSSs? >> >> AFAIK not without patching the code. >> >> Helmut >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 6:38 ` Damian Lesiuk @ 2011-04-15 6:47 ` Damian Lesiuk 2011-04-15 9:26 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 6:47 UTC (permalink / raw) To: Helmut Schaa; +Cc: Christian Lamparter, linux-wireless Ok I found it. https://dev.openwrt.org/browser/trunk/package/hostapd/patches/130-scan_wait.patch?rev=20090 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: > Look at noscan option in their docs. > http://wiki.openwrt.org/doc/uci/wireless > > 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: >> Openwrt have noscan option with mac80211 >> (https://dev.openwrt.org/browser/branches/backfire/package/mac80211/files/lib/wifi/mac80211.sh?rev=22356) >> They patched code? >> >> Where can I find that patch? >> >> 2011/4/15 Helmut Schaa <helmut.schaa@googlemail.com>: >>> On Fri, Apr 15, 2011 at 8:22 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: >>>> Is there option to do not scan for overlapping BSSs? >>> >>> AFAIK not without patching the code. >>> >>> Helmut >>> >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 6:47 ` Damian Lesiuk @ 2011-04-15 9:26 ` Damian Lesiuk 2011-04-15 9:41 ` Helmut Schaa 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 9:26 UTC (permalink / raw) To: Helmut Schaa; +Cc: Christian Lamparter, linux-wireless After aplying this patch: Station 74:f0:6d:33:ea:00 (on wlan0) inactive time: 50 ms rx bytes: 4501008 rx packets: 45502 tx bytes: 123883066 tx packets: 83649 signal: -32 dBm tx bitrate: 150.0 MBit/s MCS 7 40Mhz short GI I can get now 55 mbps. It's max for me? 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: > Ok I found it. > https://dev.openwrt.org/browser/trunk/package/hostapd/patches/130-scan_wait.patch?rev=20090 > > 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: >> Look at noscan option in their docs. >> http://wiki.openwrt.org/doc/uci/wireless >> >> 2011/4/15 Damian Lesiuk <lesiuk@gmail.com>: >>> Openwrt have noscan option with mac80211 >>> (https://dev.openwrt.org/browser/branches/backfire/package/mac80211/files/lib/wifi/mac80211.sh?rev=22356) >>> They patched code? >>> >>> Where can I find that patch? >>> >>> 2011/4/15 Helmut Schaa <helmut.schaa@googlemail.com>: >>>> On Fri, Apr 15, 2011 at 8:22 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: >>>>> Is there option to do not scan for overlapping BSSs? >>>> >>>> AFAIK not without patching the code. >>>> >>>> Helmut >>>> >>> >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 9:26 ` Damian Lesiuk @ 2011-04-15 9:41 ` Helmut Schaa 0 siblings, 0 replies; 40+ messages in thread From: Helmut Schaa @ 2011-04-15 9:41 UTC (permalink / raw) To: Damian Lesiuk; +Cc: Christian Lamparter, linux-wireless On Fri, Apr 15, 2011 at 11:26 AM, Damian Lesiuk <lesiuk@gmail.com> wrote: > After aplying this patch: > > Station 74:f0:6d:33:ea:00 (on wlan0) > inactive time: 50 ms > rx bytes: 4501008 > rx packets: 45502 > tx bytes: 123883066 > tx packets: 83649 > signal: -32 dBm > tx bitrate: 150.0 MBit/s MCS 7 40Mhz short GI > > I can get now 55 mbps. > It's max for me? Maybe, depending on the channel conditions, interferences etc. Also, how do you measure the throughput? Is it TCP or UDP? Do you use any higher level protocols like SMB, NFS or FTP? Helmut ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:40 ` Damian Lesiuk 2011-04-14 14:50 ` Damian Lesiuk @ 2011-04-14 14:50 ` Helmut Schaa 2011-04-14 15:07 ` Damian Lesiuk 2011-04-14 18:01 ` Damian Lesiuk 1 sibling, 2 replies; 40+ messages in thread From: Helmut Schaa @ 2011-04-14 14:50 UTC (permalink / raw) To: Damian Lesiuk; +Cc: linux-wireless On Thu, Apr 14, 2011 at 4:40 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: > uniwersytecka-server ~ # iw wlan0 station dump > Station 74:f0:6d:33:ea:00 (on wlan0) > inactive time: 20 ms > rx bytes: 5043668 > rx packets: 9305 > tx bytes: 13762256 > tx packets: 11634 > signal: -31 dBm > tx bitrate: 65.0 MBit/s MCS 7 > > So it helped in some way. > Why that network isn't 300 mbps? 300mbps is only possible in HT40 mode. However, hostapd will disable HT40 if it detects an other HT40 AP on an overlapping channel (in your case anything !=7). This is also in accordance with 802.11n-2009. Hostapd will print "40 MHz pri/sec mismatch with BSS ..." in that case. Furthermore, it seems that the station 74:f0:6d:33:ea:00 isn't capable of using multiple spacial streams and thus is limited to MCS7. What client device is this? Helmut ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:50 ` Helmut Schaa @ 2011-04-14 15:07 ` Damian Lesiuk 2011-04-14 15:10 ` Damian Lesiuk 2011-04-14 18:01 ` Damian Lesiuk 1 sibling, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 15:07 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless I have draft N router next to that device. He is working at 1 channel. I can easily reach 100 mbps with him. I changed channel to 11 and I have MSC 5. I have Azurewave NB290 in my notebook. But I tested it also with Atheros 9280 and connection here was very bad (8 mbps). 2011/4/14 Helmut Schaa <helmut.schaa@googlemail.com>: > On Thu, Apr 14, 2011 at 4:40 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: >> uniwersytecka-server ~ # iw wlan0 station dump >> Station 74:f0:6d:33:ea:00 (on wlan0) >> inactive time: 20 ms >> rx bytes: 5043668 >> rx packets: 9305 >> tx bytes: 13762256 >> tx packets: 11634 >> signal: -31 dBm >> tx bitrate: 65.0 MBit/s MCS 7 >> >> So it helped in some way. >> Why that network isn't 300 mbps? > > 300mbps is only possible in HT40 mode. However, hostapd will disable > HT40 if it detects > an other HT40 AP on an overlapping channel (in your case anything > !=7). This is also > in accordance with 802.11n-2009. > > Hostapd will print "40 MHz pri/sec mismatch with BSS ..." in that case. > > Furthermore, it seems that the station 74:f0:6d:33:ea:00 isn't capable > of using multiple > spacial streams and thus is limited to MCS7. What client device is this? > > Helmut > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 15:07 ` Damian Lesiuk @ 2011-04-14 15:10 ` Damian Lesiuk 2011-04-14 15:47 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 15:10 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless Btw I have that in dmesg. ------------[ cut here ]------------ WARNING: at /home/lesiuk/carl9170/compat-wireless-2011-03-31/drivers/net/wireless/ath/carl9170/tx.c:1301 carl9170_op_tx+0x4b2/0x663 [carl9170]() Hardware name: hp t5000 series Modules linked in: ipv6 iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 ipt_addrtype xt_dscp xt_string xt_multiport xt_hashlimit xt_conntrack xt_DSCP xt_NFQUEUE xt_mark xt_connmark nf_conntrack ip_tables x_tables aes_i586 aes_generic arc4 ecb snd_intel8x0 ar9170usb snd_ac97_codec ac97_bus tpm_tis snd_pcm carl9170 mac80211 ath cfg80211 sis_agp rfkill tpm snd_timer thermal via_rhine tpm_bios ppdev rtc_cmos shpchp i2c_sis96x snd processor fan i2c_core rtc_core thermal_sys parport_pc pcspkr snd_page_alloc serio_raw pci_hotplug mii agpgart rtc_lib button tg3 libphy e1000 fuse xfs exportfs nfs auth_rpcgss nfs_acl lockd sunrpc jfs raid10 dm_snapshot dm_crypt dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sl811_hcd usbhid ohci_hcd ssb mmc_core uhci_hcd usb_storage ehci_hcd usbcore aic94xx libsas lpfc qla2xxx megaraid_sas megaraid_mbox megaraid_mm megaraid aacraid sx8 DAC960 cciss 3w_9xxx 3w_xxxx mptsas scsi_transport_sas mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase atp870u dc395x qla1280 imm parport dmx3191d sym53c8xx qlogicfas408 gdth advansys initio BusLogic arcmsr aic7xxx aic79xx scsi_transport_spi sg pdc_adma sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_pcmcia pcmcia pcmcia_core Pid: 12166, comm: rtorrent Not tainted 2.6.38-gentoo-r1 #1 Call Trace: [<c012ee27>] ? warn_slowpath_common+0x65/0x7a [<cf8e7197>] ? carl9170_op_tx+0x4b2/0x663 [carl9170] [<c012ee4b>] ? warn_slowpath_null+0xf/0x13 [<cf8e7197>] ? carl9170_op_tx+0x4b2/0x663 [carl9170] [<cfb059ff>] ? __ieee80211_tx+0x140/0x184 [mac80211] [<cfb05aa3>] ? ieee80211_tx+0x60/0x6d [mac80211] [<cfb065b0>] ? ieee80211_tx_pending+0xe0/0x1a3 [mac80211] [<c013321f>] ? tasklet_action+0x67/0xcd [<c0133fee>] ? __do_softirq+0x9c/0x146 [<c0133f52>] ? __do_softirq+0x0/0x146 <IRQ> [<c0133c16>] ? irq_exit+0x29/0x2b [<c01037cf>] ? do_IRQ+0x7c/0x90 [<c0102d69>] ? common_interrupt+0x29/0x30 ---[ end trace 44624f1ffb767c43 ]--- ------------[ cut here ]------------ WARNING: at /home/lesiuk/carl9170/compat-wireless-2011-03-31/drivers/net/wireless/ath/carl9170/tx.c:1305 carl9170_op_tx+0x4f2/0x663 [carl9170]() Hardware name: hp t5000 series Modules linked in: ipv6 iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 ipt_addrtype xt_dscp xt_string xt_multiport xt_hashlimit xt_conntrack xt_DSCP xt_NFQUEUE xt_mark xt_connmark nf_conntrack ip_tables x_tables aes_i586 aes_generic arc4 ecb snd_intel8x0 ar9170usb snd_ac97_codec ac97_bus tpm_tis snd_pcm carl9170 mac80211 ath cfg80211 sis_agp rfkill tpm snd_timer thermal via_rhine tpm_bios ppdev rtc_cmos shpchp i2c_sis96x snd processor fan i2c_core rtc_core thermal_sys parport_pc pcspkr snd_page_alloc serio_raw pci_hotplug mii agpgart rtc_lib button tg3 libphy e1000 fuse xfs exportfs nfs auth_rpcgss nfs_acl lockd sunrpc jfs raid10 dm_snapshot dm_crypt dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sl811_hcd usbhid ohci_hcd ssb mmc_core uhci_hcd usb_storage ehci_hcd usbcore aic94xx libsas lpfc qla2xxx megaraid_sas megaraid_mbox megaraid_mm megaraid aacraid sx8 DAC960 cciss 3w_9xxx 3w_xxxx mptsas scsi_transport_sas mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase atp870u dc395x qla1280 imm parport dmx3191d sym53c8xx qlogicfas408 gdth advansys initio BusLogic arcmsr aic7xxx aic79xx scsi_transport_spi sg pdc_adma sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_pcmcia pcmcia pcmcia_core Pid: 12166, comm: rtorrent Tainted: G W 2.6.38-gentoo-r1 #1 Call Trace: [<c012ee27>] ? warn_slowpath_common+0x65/0x7a [<cf8e71d7>] ? carl9170_op_tx+0x4f2/0x663 [carl9170] [<c012ee4b>] ? warn_slowpath_null+0xf/0x13 [<cf8e71d7>] ? carl9170_op_tx+0x4f2/0x663 [carl9170] [<cfb059ff>] ? __ieee80211_tx+0x140/0x184 [mac80211] [<cfb05aa3>] ? ieee80211_tx+0x60/0x6d [mac80211] [<cfb065b0>] ? ieee80211_tx_pending+0xe0/0x1a3 [mac80211] [<c013321f>] ? tasklet_action+0x67/0xcd [<c0133fee>] ? __do_softirq+0x9c/0x146 [<c0133f52>] ? __do_softirq+0x0/0x146 <IRQ> [<c0133c16>] ? irq_exit+0x29/0x2b [<c01037cf>] ? do_IRQ+0x7c/0x90 [<c0102d69>] ? common_interrupt+0x29/0x30 ---[ end trace 44624f1ffb767c44 ]--- 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > I have draft N router next to that device. > He is working at 1 channel. I can easily reach 100 mbps with him. > > I changed channel to 11 and I have MSC 5. > > I have Azurewave NB290 in my notebook. > But I tested it also with Atheros 9280 and connection here was very > bad (8 mbps). > > 2011/4/14 Helmut Schaa <helmut.schaa@googlemail.com>: >> On Thu, Apr 14, 2011 at 4:40 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: >>> uniwersytecka-server ~ # iw wlan0 station dump >>> Station 74:f0:6d:33:ea:00 (on wlan0) >>> inactive time: 20 ms >>> rx bytes: 5043668 >>> rx packets: 9305 >>> tx bytes: 13762256 >>> tx packets: 11634 >>> signal: -31 dBm >>> tx bitrate: 65.0 MBit/s MCS 7 >>> >>> So it helped in some way. >>> Why that network isn't 300 mbps? >> >> 300mbps is only possible in HT40 mode. However, hostapd will disable >> HT40 if it detects >> an other HT40 AP on an overlapping channel (in your case anything >> !=7). This is also >> in accordance with 802.11n-2009. >> >> Hostapd will print "40 MHz pri/sec mismatch with BSS ..." in that case. >> >> Furthermore, it seems that the station 74:f0:6d:33:ea:00 isn't capable >> of using multiple >> spacial streams and thus is limited to MCS7. What client device is this? >> >> Helmut >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 15:10 ` Damian Lesiuk @ 2011-04-14 15:47 ` Damian Lesiuk 2011-04-14 16:54 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 15:47 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless Sorry. My wireless card is on AR9285. (that Azurewave NB290) ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 15:47 ` Damian Lesiuk @ 2011-04-14 16:54 ` Damian Lesiuk 2011-04-14 17:41 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 16:54 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless I checked it with wifi analyzer for android and that other network is on 1-5 channels and that carl9170 network is on 5-9 channels, there is no other networks, so it should work with better speed? 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > Sorry. > My wireless card is on AR9285. (that Azurewave NB290) > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 16:54 ` Damian Lesiuk @ 2011-04-14 17:41 ` Damian Lesiuk 2011-04-14 17:43 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 17:41 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless When I switched to Linux on my laptop it was working with 130.00 mbps speed but was ultra unstable. (was disconnecting every minute and I can't get that bitrate). My friend has that isue with his atheros too. So I think it's no client wireless card related. What can I do? 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > I checked it with wifi analyzer for android and that other network is > on 1-5 channels and that carl9170 network is on 5-9 channels, there is > no other networks, so it should work with better speed? > > 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >> Sorry. >> My wireless card is on AR9285. (that Azurewave NB290) >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 17:41 ` Damian Lesiuk @ 2011-04-14 17:43 ` Damian Lesiuk 2011-04-14 17:51 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 17:43 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless btw, I have also this in log: ieee80211 phy0: invalid plcp cck rate (0). ieee80211 phy0: invalid plcp cck rate (0). 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > When I switched to Linux on my laptop it was working with 130.00 mbps > speed but was ultra unstable. (was disconnecting every minute and I > can't get that bitrate). My friend has that isue with his atheros too. > > So I think it's no client wireless card related. > > What can I do? > > 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >> I checked it with wifi analyzer for android and that other network is >> on 1-5 channels and that carl9170 network is on 5-9 channels, there is >> no other networks, so it should work with better speed? >> >> 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >>> Sorry. >>> My wireless card is on AR9285. (that Azurewave NB290) >>> >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 17:43 ` Damian Lesiuk @ 2011-04-14 17:51 ` Damian Lesiuk 0 siblings, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 17:51 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless I tested i with 3 another N wireless cards and it's always working at 20 MHz channel 400 ns GI. Why? 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: > btw, I have also this in log: > > ieee80211 phy0: invalid plcp cck rate (0). > ieee80211 phy0: invalid plcp cck rate (0). > > 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >> When I switched to Linux on my laptop it was working with 130.00 mbps >> speed but was ultra unstable. (was disconnecting every minute and I >> can't get that bitrate). My friend has that isue with his atheros too. >> >> So I think it's no client wireless card related. >> >> What can I do? >> >> 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >>> I checked it with wifi analyzer for android and that other network is >>> on 1-5 channels and that carl9170 network is on 5-9 channels, there is >>> no other networks, so it should work with better speed? >>> >>> 2011/4/14 Damian Lesiuk <lesiuk@gmail.com>: >>>> Sorry. >>>> My wireless card is on AR9285. (that Azurewave NB290) >>>> >>> >> > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-14 14:50 ` Helmut Schaa 2011-04-14 15:07 ` Damian Lesiuk @ 2011-04-14 18:01 ` Damian Lesiuk 1 sibling, 0 replies; 40+ messages in thread From: Damian Lesiuk @ 2011-04-14 18:01 UTC (permalink / raw) To: Helmut Schaa; +Cc: linux-wireless With hostapd 0.6.9 I have: Station 74:f0:6d:33:ea:00 (on wlan0) inactive time: 10 ms rx bytes: 1563761 rx packets: 18910 tx bytes: 52327665 tx packets: 34780 signal: -34 dBm tx bitrate: 135.0 MBit/s MCS 6 40Mhz short GI But I can only get 16 mbps max. ^ permalink raw reply [flat|nested] 40+ messages in thread
[parent not found: <BANLkTik7Sd0fB94pPjeBNJ-u5zyTVX0oiw@mail.gmail.com>]
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE [not found] <BANLkTik7Sd0fB94pPjeBNJ-u5zyTVX0oiw@mail.gmail.com> @ 2011-04-15 11:49 ` Helmut Schaa 2011-04-15 19:01 ` Damian Lesiuk 0 siblings, 1 reply; 40+ messages in thread From: Helmut Schaa @ 2011-04-15 11:49 UTC (permalink / raw) To: Damian Lesiuk; +Cc: Christian Lamparter, linux-wireless On Fri, Apr 15, 2011 at 1:02 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: > SMB So you should really try a plain TCP or UDP connection (I'd recommend iperf). Helmut ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 11:49 ` Helmut Schaa @ 2011-04-15 19:01 ` Damian Lesiuk 2011-04-15 22:37 ` Christian Lamparter 0 siblings, 1 reply; 40+ messages in thread From: Damian Lesiuk @ 2011-04-15 19:01 UTC (permalink / raw) To: Helmut Schaa; +Cc: Christian Lamparter, linux-wireless It seems that I have a very crowded band. But, 6 MB / s is for me entirely sufficient. Really thank you Christian Lamparter and Helmut Schaa. Without You it wont happen. 2011/4/15 Helmut Schaa <helmut.schaa@googlemail.com>: > On Fri, Apr 15, 2011 at 1:02 PM, Damian Lesiuk <lesiuk@gmail.com> wrote: >> SMB > > So you should really try a plain TCP or UDP connection (I'd recommend iperf). > > Helmut > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE 2011-04-15 19:01 ` Damian Lesiuk @ 2011-04-15 22:37 ` Christian Lamparter 0 siblings, 0 replies; 40+ messages in thread From: Christian Lamparter @ 2011-04-15 22:37 UTC (permalink / raw) To: Damian Lesiuk; +Cc: Helmut Schaa, linux-wireless On Friday 15 April 2011 21:01:43 Damian Lesiuk wrote: > It seems that I have a very crowded band. But, 6 MB / s is for me > entirely sufficient. > come to think of it, there is a way to get a more throughput and stability by disabling the flakey hw crypto engine. This can be done by setting nohwcrypt=1 [module parameter]. Furthermore, you could get a MIMO replacement for your client's cost-reduced SISO ar9285 card. This way, ar9170 [or future devices] are not limited to use only a single stream/chain [MCS0-7]. <http://linuxwireless.org/en/developers/Documentation/ieee80211/802.11n#MCS_Rates> Regards, Chr ^ permalink raw reply [flat|nested] 40+ messages in thread
end of thread, other threads:[~2011-04-15 22:37 UTC | newest]
Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 8:33 carl9170: TP-LINK TL-WN822N slow connection speeds (16 mbps) MASTER MODE Damian Lesiuk
2011-04-13 8:51 ` Damian Lesiuk
2011-04-13 10:14 ` Christian Lamparter
[not found] ` <BANLkTikKvO6EvMrGtOCdYCO9_pdgUzPxyQ@mail.gmail.com>
2011-04-13 11:32 ` Christian Lamparter
2011-04-13 14:23 ` Damian Lesiuk
2011-04-13 16:11 ` Damian Lesiuk
2011-04-13 16:19 ` Damian Lesiuk
2011-04-13 16:43 ` Christian Lamparter
2011-04-14 11:53 ` Damian Lesiuk
2011-04-14 11:57 ` Damian Lesiuk
2011-04-14 12:47 ` Damian Lesiuk
2011-04-14 13:24 ` Damian Lesiuk
2011-04-14 14:11 ` Christian Lamparter
2011-04-14 14:26 ` Damian Lesiuk
2011-04-14 14:40 ` Damian Lesiuk
2011-04-14 14:50 ` Damian Lesiuk
2011-04-14 19:06 ` Christian Lamparter
2011-04-14 19:26 ` Damian Lesiuk
2011-04-14 19:31 ` Christian Lamparter
2011-04-14 19:36 ` Damian Lesiuk
2011-04-14 20:51 ` Christian Lamparter
2011-04-15 6:22 ` Damian Lesiuk
2011-04-15 6:30 ` Helmut Schaa
2011-04-15 6:36 ` Damian Lesiuk
2011-04-15 6:38 ` Damian Lesiuk
2011-04-15 6:47 ` Damian Lesiuk
2011-04-15 9:26 ` Damian Lesiuk
2011-04-15 9:41 ` Helmut Schaa
2011-04-14 14:50 ` Helmut Schaa
2011-04-14 15:07 ` Damian Lesiuk
2011-04-14 15:10 ` Damian Lesiuk
2011-04-14 15:47 ` Damian Lesiuk
2011-04-14 16:54 ` Damian Lesiuk
2011-04-14 17:41 ` Damian Lesiuk
2011-04-14 17:43 ` Damian Lesiuk
2011-04-14 17:51 ` Damian Lesiuk
2011-04-14 18:01 ` Damian Lesiuk
[not found] <BANLkTik7Sd0fB94pPjeBNJ-u5zyTVX0oiw@mail.gmail.com>
2011-04-15 11:49 ` Helmut Schaa
2011-04-15 19:01 ` Damian Lesiuk
2011-04-15 22:37 ` Christian Lamparter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).