[Q] Any way to change WiFi transmit power on Nexus 4? - Nexus 4 Q&A, Help & Troubleshooting

I've downloaded apps that claim to be able to change the WiFi transmit power, but they all required the iwconfig command to be available on the phone. Is there any way to change the WiFi transmit power on my Nexus 4?
I would like to lower the transmit power to the absolute minimum so I can have the WiFi hotspot on more often without it draining battery so much.

up

WCNSS_qcom_cfg.ini in system/etc/wifi,
maximum tx power
gtxpowercap=30
tried editing the config file?, i dont know if it will work, maybe have powercap=10

I find a way to verify if it works:
Turn on virtual router in windows, use Microsoft Network Monitor to capture wifi traffic, after it have connected, click an Association Request frame in a capture of Network Monitor, in the Frame Details window, expand nodes and note the value next to the node labeled MaximumTransmitPowerCapability:
Frame: Number = 9, Captured Frame Length = 193, MediaType = WiFi
- WiFi: [ ManagementAssociation request] ....... RSSI = -26 dBm, Rate = 6.0 Mbps, SSID = Router14
+ MetaData: RSSI = -26 dBm, Rate = 6.0 Mbps
...
- AssociationRequest:
+ Capability: 0x3105
ListenInterval: 1 BeaconInterval(s)
- InformationElements:
...
- PowerCapability:
ElementID: Power Capability
Length: 2 (0x2)
MinimumTransmitPowerCapability: 13 dBm
MaximumTransmitPowerCapability: 17 dBm
...

Related

Slow T-mobile USA / Changing MTU and RWIN Values?

Hello everyone,
My T-Mobile USA seems very slow. About 800kbit/sec
Is there a way to increase the MTU and RWIN Values?
Try Yours Too !!
TCP/IP Analyzer Suggested:
MTU = 1460
MTU is not fully optimized for broadband. Consider increasing your MTU to 1500 for better throughput.
MSS = 1420
Maximum useful data in each packet = 1420, which equals MSS.
Default TCP Receive Window (RWIN) = 5840
RWIN Scaling (RFC1323) = 2 bits (scale factor: 2^2=4)
Unscaled TCP Receive Window = 1460
RWIN seems to be set to a very small number. If you're on a broadband connection, consider using a larger value.
For optimum performance, consider changing RWIN to a multiple of MSS.
Other RWIN values that might work well with your current MTU/MSS:
65320 (up to 2 Mbit lines, depending on latency. MSS * 46)
130640 (1-5 Mbit lines, depending on latency. MSS * 46 * 2)
261280 (2-14 Mbit lines, depending on latency. MSS * 46 * 2^2)
522560 (8-30 Mbit lines, depending on latency. MSS * 46 * 2^3)
1045120 (25-60 Mbit lines depending on latency. MSS * 46 * 2^4)
bandwidth * delay product (Note this is not a speed test):
Your TCP Window limits you to: 234 kbps (29 KBytes/s) @ 200ms
Your TCP Window limits you to: 93 kbps (12 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.
MTU Discovery (RFC1191) = ON
Time to live left = 162 hops
TTL value is ok.
Timestamps (RFC1323) = OFF
Selective Acknowledgements (RFC2018) = ON
IP type of service field (RFC1349) = 00000000 (0)
Thank you,
Monnie
UPDATE:
On WiFi
« SpeedGuide.net TCP Analyzer Results »
Tested on: 04.10.2010 14:53
IP address: 68.16.xxx.xxx
Client OS: Windows XP
TCP options string: 020405ac0103030101010402
MSS: 1452
MTU: 1492
TCP Window: 66792 (multiple of MSS)
RWIN Scaling: 1 bits (2^1=2)
Unscaled RWIN : 33396
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2672kbps (334KBytes/s)
BDP limit (500ms): 1069kbps (134KBytes/s)
MTU Discovery: ON
TTL: 108
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
EDIt
crap i read it as slow charging but yeah if anyone can help with that issue haha
my charging is soooo slow.
i got it friday.
i thought it was cause im not using the htc charger im using the usb cable it came with but another wall adaptor.
any help would be great
I barely hit 780kbps on H and GSM. Myold Tilt on AT&T on 3G was hitting 1500+...
I am also getting edge in an area marked as 3G.
~CYD
MonnieRock said:
Is there a way to increase the MTU and RWIN Values?
<snip>
Click to expand...
Click to collapse
1420 is a perfectly normal MTU value for GPRS-based internet, no need to muck about with that.
Your RWIN, however, is very low. For comparison, in my registry (HKLM/Comm/TCPIP/Parms), my TCP windows size is listed as 65536
However, when I run your analyzer, I have RWIN=66640, w/ TCP1323 (window scaling) enabled. So take a look at your settings.
lbhocky19 said:
my charging is soooo slow.
i got it friday.
i thought it was cause im not using the htc charger im using the usb cable it came with but another wall adaptor.
any help would be great
Click to expand...
Click to collapse
It is because you aren't using the HTC charger. Most 'normal' chargers only deliver 500-700mA. Your computer will only deliver 500mA. The HTC charger delivers the full 1A.
Hello Everyone,
Has anyone run the test?
Thank you,
Monnie
MonnieRock said:
Hello Everyone,
Has anyone run the test?
Thank you,
Monnie
Click to expand...
Click to collapse
I am quite curious about this...
I'll probably dive into this once I'm home later this evening, it seems pretty interesting.
As for the charging speed (discussed above) -- in my apartment, all of my room electrical outputs have variations in voltage. Each is also conveniently labeled for optimal results. For instance, in my bedroom... its "converted" output is 5V = 1.5A per hour. It will charge my handset from 20% to 80% in less than an hour.
Code:
Tested on; 04.15.2010 08:26
IP address: 208:54.xx.xx
TCP options string:
0204058c0101040201030302
MSS: 1420
MTU: 1460
TCP Window: 5840 (NOT multiple of MSS)
RWIN Scaling; 2 bits (2^2=4)
Unscaled RWIN: 1460
Recommended RWINS: 65320, 130640, 261280, 522560, 1045120
BDP limit (200ms): 234kbps (29KBytes/s)
BDP limit (500ms): 93kbps (12KBytes/s)
MTU Discovery: ON
TTL: 164
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
CYDVicious said:
I barely hit 780kbps on H and GSM. Myold Tilt on AT&T on 3G was hitting 1500+...
I am also getting edge in an area marked as 3G.
~CYD
Click to expand...
Click to collapse
I am on the same boat. I haven't tested the connection yet, but the moment I put a foot in my home my 3G vanishes and it starts showing Edge, to which it only connects properly about 50% of the time (I get network connection errors anytime I want to update weather, stocks, check internet... you see the picture here). FYI, I am in the middle of a 3G area
mazzarin said:
Your RWIN, however, is very low. For comparison, in my registry (HKLM/Comm/TCPIP/Parms), my TCP windows size is listed as 65536
.
Click to expand...
Click to collapse
My Window Size is set to 131072, is that the way is supposed to be?
MonnieRock said:
Hello everyone,
My T-Mobile USA seems very slow. About 800kbit/sec
Is there a way to increase the MTU and RWIN Values?
Try Yours Too !!
TCP/IP Analyzer Suggested:
MTU = 1460
MTU is not fully optimized for broadband. Consider increasing your MTU to 1500 for better throughput.
MSS = 1420
Maximum useful data in each packet = 1420, which equals MSS.
Default TCP Receive Window (RWIN) = 5840
RWIN Scaling (RFC1323) = 2 bits (scale factor: 2^2=4)
Unscaled TCP Receive Window = 1460
RWIN seems to be set to a very small number. If you're on a broadband connection, consider using a larger value.
For optimum performance, consider changing RWIN to a multiple of MSS.
Other RWIN values that might work well with your current MTU/MSS:
65320 (up to 2 Mbit lines, depending on latency. MSS * 46)
130640 (1-5 Mbit lines, depending on latency. MSS * 46 * 2)
261280 (2-14 Mbit lines, depending on latency. MSS * 46 * 2^2)
522560 (8-30 Mbit lines, depending on latency. MSS * 46 * 2^3)
1045120 (25-60 Mbit lines depending on latency. MSS * 46 * 2^4)
bandwidth * delay product (Note this is not a speed test):
Your TCP Window limits you to: 234 kbps (29 KBytes/s) @ 200ms
Your TCP Window limits you to: 93 kbps (12 KBytes/s) @ 500ms
Consider increasing your RWIN value to optimize TCP/IP for broadband.
MTU Discovery (RFC1191) = ON
Time to live left = 162 hops
TTL value is ok.
Timestamps (RFC1323) = OFF
Selective Acknowledgements (RFC2018) = ON
IP type of service field (RFC1349) = 00000000 (0)
Thank you,
Monnie
Click to expand...
Click to collapse
I got the same thing (same exact numbers)... this freakin' blows!
My Whole Point
egzthunder1 said:
My Window Size is set to 131072, is that the way is supposed to be?
Click to expand...
Click to collapse
The RWIN is scalable. Notice how it changes for WiFi. The whole point of my thread and trying to gain data is, T-Mobile is not allowing the RWIN to scale when using their data/internet connection. No matter what your RWIN is set to in the registry.
Thank you,
Monnie
My connection is dreadfully slow even on 3G. I've had that same problem since I had my previous android phone, so it might be network related, but, on a good day, I'll hit 600kbps, most of the time I hover between 100 and 300 kbps.
Back when T-mo first opened up 3g on my area, there were not many of us in our city with G1s, so I'd hit 1800 kbps usually, but now it's gotten bad.
I guess I'll call t-mo. It feels as if my connections has been throttled all the way down (I am a pretty heavy data user, but my phone spends A LOT of time in slow connections).

Rooted NST and multiple MAC addresses?

I have a NST firmware 1.2.1 which I rooted with NookManager. While everything is working fine, I was upgrading the security of my home WIFI network yesterday and noticed some strange devices and MAC addressed being reported as connected to my router (NetGear WNR2000v2) when my Nook is connected.
With only my cell phone connected, the "Attached devices" are reported as follows:
Wireless Devices (Wireless intruders also show up here)
# IP Address Device Name MAC Address
1 10.0.0.31 ANDROID-93530DA17D819FCD XX:XX:XX:XX:XX:XX
After I connect my Nook, I get the following:
Wireless Devices (Wireless intruders also show up here)
# IP Address Device Name MAC Address
1 10.0.0.30 ff(a, b, c, d, x[i+ 0], 7 , -68087693?y??X? d = ff(d, a, b, c, x[i+ 1], YY:YY:YY:YY:YY:YY <-- This is really the Nook.
2 -- -- XX:XX:XX:XX:XX:XX <-- This is the cell phone.
3 32.49.55.44 0742520); b = hh(b, c, d, a, x[i+ 2], 23, -995338651); 2C:20:61:2C:20:62
4 91.105.43.32 a, x[i+ 2], 23, -995338651); a = ii(a, b, c, d, x[i+ 0], 6 , -1986 69:69:28:63:2C:20
5 98.44.32.120 a = ii(a, b, c, d, x[i+ 0], 6 , -198630844); d = ii 64:20:61:6C:69:67
6 116.101.114.34 ], 6 , -198630844); d = ii(d, a, b, c, x[i+ 7], 10, 1126891415); 31:3A:35:42:3A:35
7 56.60.47.115 (d, a, b, c, x[i+ 7], 10, 1126891415); c = ii(c, d, a, b, x[i+14], 70:61:6E:3E:3C:2F
Any ideas what is causing this and is it something I should be worried about? When I disconnect the Nook, these "other" devices/MAC addresses go away also.
Weird. All those IP's are from outside your local network. Perhaps your Nook is opening connections with keep-alive and your router is reporting the external sites you're connected to. The sites are ATT, lattelecom.lv, Comcast Boston, an unregistered IP address and usps.com.
The real bizarre thing is not the IP addresses, but that multiple MAC addresses.
FYI: I can have multiple firefox browser windows open on any wire connection, or my phone and the IP and MAC addresses of the remote computers don't show up in this list. So, my only conclusion is that the NOOK is broadcasting those MAC addresses.

[Q] Poor wifi / bad ping

My Note 3 wifi latency seems much worse than my Note 2:
Note 3: average about 80ms
rtt min/avg/max/mdev = 24.399/78.360/146.363/33.336 ms
Note 2: average about 33ms
rtt min/avg/max/mdev = 2.798/33.371/106.814/30.055 ms
(Both tested at 5ghz/150MB on an Asus RT-N66U running Tomato firmware)
Does that look normal?
I have really poor performance on wifi either, as have many that reported here on xda. I haven't come around to check if it's router / firmware dependent so I would suggest searching for earlier topics on the matter.
Poor Wi-Fi signal strength.

Slow WIFI Transfer

Hi,
I would like to ask if it's normal to have <1MBps wifi transfer rate on my Galaxy S4. I'm trying to transfer a movie file from my phone to my PC (gigabit-lan) via my TP-LINK N750 router.
I checked my phone and it's currently connected using 2.4Ghz spec with 72Mbps linkspeed. Theoretically.. the wifi transfer speed should be around 8MBps not <1MBps.
Any clues why my transfer speed is slow? My forte is more on network stuffs so I'm not really sure if my phone is causing the bottleneck here or not. See attached for reference.
Thanks guys!
Sent from my GT-I9505 using XDA Premium 4 mobile app
I have the same issue across several different ROMs and modems. Laptop with external HD is connected to router with gigabit LAN, phone connected to router via wireless-N and I get roughly 1mbyte/s. However download speeds with my phone via WiFi is roughly 8 megabyte/s (fiber optic) so I know higher speeds are possible.
My other desktop PC achieves around 11-12megabytes through WiFi but my phone just gets nowhere near it.
Odd thing is when I stream videos to my phone though my WiFi from a hard drive the phone buffers at well over 5megabytes/s but file transfers are somehow limited... I could never figure this one out
Swizzy88 said:
I have the same issue across several different ROMs and modems. Laptop with external HD is connected to router with gigabit LAN, phone connected to router via wireless-N and I get roughly 1mbyte/s. However download speeds with my phone via WiFi is roughly 8 megabyte/s (fiber optic) so I know higher speeds are possible.
My other desktop PC achieves around 11-12megabytes through WiFi but my phone just gets nowhere near it.
Odd thing is when I stream videos to my phone though my WiFi from a hard drive the phone buffers at well over 5megabytes/s but file transfers are somehow limited... I could never figure this one out
Click to expand...
Click to collapse
Thanks Swizzy!
I also noticed this.. somehow I thought it was because of my router. So I decided to buy 450Mbps Dual Band router to test it. Unfortunately, it is still capped @ ~1MBps transfer rate even I used the 5Ghz spectrum
Complain to google
I have done some testing with a fast windows 7 system as the target and a Nexus 5 and an xperia neo v. I have also tested with XP and Linux smb clients. Basically the maximum I get get with stock 4.4.2 or 4.0.4 is about 4.5 Mbps (550KBps) pull down and 9Mbps push up. Wifi is 11g and XP gets 15 down and 19 up. openSUSE linux gets more or less the same as XP. The problem exists with ES Explorer and File Manager. I tried SFTP into linux with ES Explorer and that was a little slower. The standard USB transfer from windows explorer is really fast to the N5. This looks like a design or configuration problem in android 4. Complain to GOOGLE.
I am glad I found this just before I spent a lot of money on an ac router to speed up large wifi file transfers
So a device running pre version 4 should not have the limitation?
I have a Galaxy S4 with the newest firmware from samsung I9505XXUGNF1 (Kitkat 4.4.2). My router is a Asus RT-AC66U to which My S4 connects to with max speed of 433 Mbps. My internet connection is 120 Mbps.
When I do a speedtest on the S4 I get results of over 110 Mbps, but when I'm downloading a file over LAN from the disk connected directly to the router I get download speed only of ~20Mbps (2.4 MB/s) which is very sucky!
My Laptop have only a N network card, and connects to the router with max 300 Mbps and when I download the same file I get over 7.5 MB/s!! (~65 Mbps).
Speedtest also shows results of over 110 Mbps...
I remember when the phone was new, and it had Android 4.3, I had LAN download speed of over 9-10 MB/s...
I tried with different file managers like X-Plore and others, but it looks like it is not the app problem. Maby is a KitKat problem??
In short blame Broadcom or Samsung for using Broadcom BCM4335's BCM4335 wifi chipset. You need to understand how 802.11n works. To achieve 300mbps speed, you will need 2-3 spatial antennas which can be found on modern laptops with Intel Wifi chipset (such as 6300). Our galaxy note has only one antenna (should be 1 for each radio band (a/n, b/g/n), but it is "N" compatible. Unfortunately this is a case of the manufacturer misleading it's customers ( I would say out right lying to us). Its is compatible with N, however it can not support N speeds, as far as I have seen all phones that claim 802.11n are actually limited to 65mbps. So really are not 802.11n at all, rather just a little faster than 802.11g.
part of the problem is the maximum number of data spatial streams the radio can use. Also assuming equal operating parameters to an 802.11g network achieving 54 megabits per second (on a single 20 MHz channel with one antenna), an 802.11n network can achieve 72 megabits per second (on a single 20 MHz channel with one antenna and 400 ns guard interval); 802.11n's speed may go up to 150 megabits per second if there aren't other Bluetooth, microwave or WiFi emissions in the neighborhood by using two 20 MHz channels in 40 MHz mode. If more antennas are used, then 802.11n can go up to 288 megabits per second in 20 MHz mode with four antennas, or 600 megabits per second in 40 MHz mode with four antennas and 400 ns guard interval. Because the 2.4 GHz band is seriously congested in most urban areas, 802.11n networks usually have more success in increasing data rate by utilizing more antennas in 20 MHz mode rather than by operating in the 40 MHz mode, as the 40 MHz mode requires a relatively free radio spectrum which is only available in rural areas away from cities. Thus, network engineers installing an 802.11n network should strive to select routers and wireless clients with the most antennas possible (one, two, three or four as specified by the 802.11n standard) and try to make sure that the network's bandwidth will be satisfactory even on the 20 MHz mode.
Data rates up to 600 Mbit/s are achieved only with the maximum of four spatial streams using one 40 MHz-wide channel. Various modulation schemes and coding rates are defined by the standard and are represented by a Modulation and Coding Scheme (MCS) index value. The table below shows the relationships between the variables that allow for the maximum data rate. GI (Guard Interval) : Timing between symbols.[6]
Refrence: http://blogs.intel.com/technology/2010/02/the_black_and_white_worlds/
reference: http://en.wikipedia.org/wiki/IEEE_802.11n-2009#Data_rates
I see similar speeds on my S4 when doing wifi transwer. varies depending on which network i am on and what I am transferring to.
still faster than crappy USB connection..
@XeoNoX thank you for educational lesson.
WiFi Powersave mode
You may check if the WiFi power save mode is on. If it is on, you may turn it off and check if the speed improves.
To enter Service Menu, open dialer and press *#0011#
In the service menu, select menu > wifi
check if the WiFi power save mode is on or off. Turn it off.
If it was off, then you've wasted your time trying this

[Q] Nexus 4 does see 5GHz WIFI channel above 60??

Hello, All:
I was surprised that the WiFi 5GHz band has very limited channel availability on Nexus 4. Roughly the channels above 60 cannot be seen by N4. Is there a way to unlock higher channels or that is limitation of N4? It has stock firmware 4.4.2
Here is my solution to solve the problem. Need rooted phone. Go to /system/etc/wifi/ and edit the file WCNSS_qcom_cfg.ini. Find the line below in the file:
#If set to 0, will not scan DFS channels
gEnableDFSChnlScan=0
Change this value to "1", and then reboot the phone, you will see all wifi channels.

Categories

Resources