Reply
Thread Tools
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#21
In some cases it is possible if your router can only run on one band of wifi, you could be running on a,b or g thinking its n just because a lower speced wifi device is on the network. Apart from that I have noticed that internet on my n9 is quite slow compared to the likes of my macboook.
 
Posts: 362 | Thanked: 182 times | Joined on Sep 2010
#22
Originally Posted by qspb View Post
Thank you for supposing some handy links, but I haven't solved my problem yet.
I went to the terminal, then I connected to my wireless N network, and after that I executed 'develsh', 'iwconfig wlan0 power off' commands and of course I verified power saving mode status by viewing 'iwconfig' command's output. It said power saving mode was disabled. Then I tried to download a large file from the home network again. Disabling power saving mode made no difference.
Okay, I also blacklisted ipv6, rebooted my phone and redone all measurments - it gave no result.
So I conclude there's no need in using some kind of 'tweak' to make the power saving mode prohibition permanent, cause such a measure doesn't take effect at all.
Moreover, I've read articles which had been suggested, and I can say I have no problems with authentification/deauthentification. My connection is stable, I haven't noticed any kind of interruptions or ping loss. My problem is that enabling Wi-Fi N mode on my router reduces connection speed half instead of boosting it twice.

In one of the suggested articles the author said the problem was in the driver and suggested reloading the driver with N mode support disabled. But you see - it's not a desired solution. The aim is to get N mode work perfectly. So.. maybe somebody can suggest using another driver?


I can say that I'm disappointed in Wi-Fi hotspot/tethering N9 function too, because it doesn't create normal AP (Master Mode), it just uses Ad-Hoc mode. And also there it's impossible to use WPA/WPA2 encryption with 'WiFi Hotspot' app.
Why the hell does not iwconfig work for me?
Output:

~ $ devel-su
Password:


BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # iwconfig wlan0 power off
sh: iwconfig: not found
~ #
 
qspb's Avatar
Posts: 44 | Thanked: 80 times | Joined on Oct 2012 @ Saint Petersburg
#23
Originally Posted by Sniper_swe View Post
Why the hell does not iwconfig work for me?
Output:

~ $ devel-su
Password:


BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # iwconfig wlan0 power off
sh: iwconfig: not found
~ #
The full path is /sbin/iwconfig . But /sbin isn't included in the PATH variable. To solve this problem for me I added
Code:
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
to .config file in /home/user directory and re-entered the terminal.
 

The Following User Says Thank You to qspb For This Useful Post:
qspb's Avatar
Posts: 44 | Thanked: 80 times | Joined on Oct 2012 @ Saint Petersburg
#24
Yesterday I tested my N9's 802.11n perfomance in public wi-fi network which is based on expensive and reliable "Cisco" hotspot. Nothing improved. I was unable to measure real file transfer speed, I only got access to the Internet, but iwconfig said the bit rate was 18 Mb/s ... The average speed for the Internet wasn't encouraging too.
So... I think the problem doesn't depend on my particular usb-dongle hotspot. 802.11n perfomance isn't good even when using professional 802.11n hotspot.

Does anybody know the solution for the problem? May I use some other driver/module for N9's wireless card? If N9's wifi-card works good with andoid, is it possible to borrow wireless driver from that OS? (of course, if the license agreement allows doing that).
 
qspb's Avatar
Posts: 44 | Thanked: 80 times | Joined on Oct 2012 @ Saint Petersburg
#25
Some news in this topic. I downloaded iw package for armel architecture from Ubuntu Launchpad and then installed it on my N9 device.
Here is an output of iw list command:
Code:
/home/user # iw list
Wiphy phy0
	Band 1:
		Capabilities: 0x30
			HT20
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-7
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	Band 2:
		Capabilities: 0x30
			HT20
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 8191 bytes (exponent: 0x000)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-7
		Frequencies:
			* 5035 MHz [7] (disabled)
			* 5040 MHz [8] (disabled)
			* 5045 MHz [9] (disabled)
			* 5055 MHz [11] (disabled)
			* 5060 MHz [12] (disabled)
			* 5080 MHz [16] (disabled)
			* 5170 MHz [34] (disabled)
			* 5180 MHz [36] (disabled)
			* 5190 MHz [38] (disabled)
			* 5200 MHz [40] (disabled)
			* 5210 MHz [42] (disabled)
			* 5220 MHz [44] (disabled)
			* 5230 MHz [46] (disabled)
			* 5240 MHz [48] (disabled)
			* 5260 MHz [52] (disabled)
			* 5280 MHz [56] (disabled)
			* 5300 MHz [60] (disabled)
			* 5320 MHz [64] (disabled)
			* 5500 MHz [100] (disabled)
			* 5520 MHz [104] (disabled)
			* 5540 MHz [108] (disabled)
			* 5560 MHz [112] (disabled)
			* 5580 MHz [116] (disabled)
			* 5600 MHz [120] (disabled)
			* 5620 MHz [124] (disabled)
			* 5640 MHz [128] (disabled)
			* 5660 MHz [132] (disabled)
			* 5680 MHz [136] (disabled)
			* 5700 MHz [140] (disabled)
			* 5745 MHz [149] (disabled)
			* 5765 MHz [153] (disabled)
			* 5785 MHz [157] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	max # scan SSIDs: 1
	Supported interface modes:
		 * IBSS
		 * managed
		 * monitor
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * new_beacon
		 * new_station
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * Unknown command (55)
		 * Unknown command (57)
		 * Unknown command (59)
		 * set_wiphy_netns
		 * Unknown command (65)
		 * connect
		 * disconnect

In other words I managed to answer one of my initial questions in this topic - about HT capabilities supported by N9's wifi-card/driver.
As I can see, HT40 and spatial multiplexing aren't available on N9 - what a pity. Also 5GHz frequences are blocked (seems to be strange, but it may be due to local wi-fi rules in Russia).
So, next I'm going to use a new ht_capab configuration for hostapd on my AP, something like
Code:
[HT20+][SMPS-STATIC][GF][SHORT-GI-20][MAX-AMSDU-7935]
and I'll test download speed again. Hope something will improve.
 

The Following 3 Users Say Thank You to qspb For This Useful Post:
qspb's Avatar
Posts: 44 | Thanked: 80 times | Joined on Oct 2012 @ Saint Petersburg
#26
Okay, I tested it again. Unfortunately my AP card didn't want to run options
Code:
[SMPS-STATIC][GF][MAX-AMSDU-7935]
SMPS-STATIC isn't available at all, and other options couldn't be used with [HT20+].
So my ht_capab config was:
Code:
ieee80211n=1
#wmm_enabled=1
ht_capab=[HT20+][SHORT-GI-20]
Executing iwconfig command on my N9 showed the bit rate was 18Mbit/s, but the average download speed was ~2.55 MB/s - it behaved just like in "clear" 802.11g mode. So at least the speed isn't reduced half when using 802.11 N. But no all so simple. As you can see, wmm_enabled=1 string is commented. "wmm" is an option, which provides some kind of QoS, and it worked perfectly for me when I connected to my Wi-Fi network using a laptop. It is essential to use both HT capabilities and QoS in order to boost Wi-Fi speed as much as possible. But I found out that N9 doesn't like this option. I tried to enable it, and the speed dropped to 1MB/s. So finally I conclude, that it is possibly something wrong in QoS + Wi-Fi mechanism in Harmattan. Maybe I'm wrong, but the effect of enabling/disabling QoS on Wi-Fi AP is too evident.
 

The Following User Says Thank You to qspb For This Useful Post:
Posts: 362 | Thanked: 182 times | Joined on Sep 2010
#27
My router don't even support disableing n mode!
I can see it on but cant turn it to only b/g mode. Strange but true.

Edit: Ran speed test and had 11.63 Mbit/sec

have 13mbit/sec on pc so I'm happy with that. Seems my biggest problem right now is wireless range so i ordered a Range extender.

Will get back to you later

Last edited by Sniper_swe; 2012-10-13 at 10:40.
 

The Following User Says Thank You to Sniper_swe For This Useful Post:
qspb's Avatar
Posts: 44 | Thanked: 80 times | Joined on Oct 2012 @ Saint Petersburg
#28
Sniper_swe
I suppose your router is running in "legacy N mode", so that 80211g-only clients are able to connect.

And as for my situation (enabling/disabling QoS), it seems to be usual, because 1 year ago I tried to connect to my 802.11n network (QoS enabled) via old laptop, with 802.11g-only card on board. It was easy to connect, but no data was transfered/recieved. The internet connection was unavailable. Without QoS it worked fine.

Okay, the situation becomes even more suspicious if we remember, that there is no bluetooth 3.0 support in N9. It is usual, that bluetooth 3.0. uses Wi-Fi antenna and N standard to enhance file transfer speed. In N9 we have wireless module with 802.11abgn support, but we don't have bluetooth 3.0, only 2.0. I think this is because it's pretty strange to add bluetooth 3.0 support to the device that couldn't handle hi-speed wi-fi N connections with QoS enabled. For things such as bluetooth car-kit, headphones, etc it's essential to use QoS.

But Wi-Fi N + Bluetooth 3.0 support are available for N8 users. So if there's a N8 user among of my friends, I'll ask him to test wireless speed using my 802.11 N hostpot with QoS enabled.

Recently, I read this post http://talk.maemo.org/showpost.php?p...3&postcount=18, and I find it quite handy. I've managed to install gcc, g++ and gfortran to my N9 device and I've already compiled "helloworld" programs for C and fortran-90.
Maybe some time later I'll be able to find wl1271 wireless driver sources and compile them precisely right on my N9 device and test them. I really think it's a driver problem, which affects 802.11n on this device.
 

The Following 5 Users Say Thank You to qspb For This Useful Post:
Posts: 66 | Thanked: 20 times | Joined on Mar 2012
#29
thanks to keep investigating this, I'm all for a better wifi browsing experience on my N9
 

The Following User Says Thank You to Ynohtna For This Useful Post:
Posts: 181 | Thanked: 64 times | Joined on Feb 2012
#30
I had the same "feeling" comparing N9 with Nitdroid...
Thanks for digging into this bug !
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:00.