View Single Post
Old January 10th, 2013, 10:23 PM   #97 (permalink)
ww227
New Member
 
Join Date: Jan 2013
Location: 33n 79w
Posts: 12
 
Device(s): alcatel/PCD/tct venture adr2045
Carrier: virgin mobile

Thanks: 0
Thanked 7 Times in 2 Posts
Default

Quote:
Originally Posted by varenHjames View Post
how did you manage to turn down the power to .5 watts? id like to do this myself. but id rather not start with a new rom. the one i have currently is working just great.


1st adb remount -- to set /system/ to rewritable
2nd adb push iwconfig /system/xbin/iwconfig
[also push iwlist, iwgetid, iwpriv, iwgetevent and iw{if you can find an 'iw' for android, let me know}{also there is now iwmulticall available for android, it's like busybox, one ap in /system/bin that you create softlinks to (ln -s /system/bin/iwmulticall >iwconfig)}]
3rd adb shell, then;
su, then;
iwconfig eth0 txpower 500mW

if you just run 'iwconfig eth0' then you get something like this;
eth0 IEEE 802.11-DS ESSID:"TI87GE69" Nickname:""
Mode:Managed Frequency:2.457 GHz Access Point: 5C9:98:59:5D:FE
Bit Rate=5.5 Mb/s Tx-Power:27 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=1/5 Signal level=-84 dBm Noise level=-89 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


and running 'iwconfig eth0 power off' gives this
eth0 IEEE 802.11-DS ESSID:"TI87GE69" Nickname:""
Mode:Managed Frequency:2.457 GHz Access Point: 5C9:98:59:5D:FE
Bit Rate=5.5 Mb/s Tx-Power:27 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=1/5 Signal level=-84 dBm Noise level=-89 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

now wifi wont sleep

and 'iwconfig eth0 bit 2M' gives you
eth0 IEEE 802.11-DS ESSID:"TI87GE69" Nickname:""
Mode:Managed Frequency:2.457 GHz Access Point: 5C9:98:59:5D:FE
Bit Rate=2 Mb/s Tx-Power:27 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=1/5 Signal level=-90 dBm Noise level=-92 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

now wifi link is stuck at 2megs/sec, plenty fast for me, but it wont auto adjust faster then slower and will hold the signal longer

and iwconfig eth0 ap 5C9:98:59:5D:FE
nothing changed in view, but wifi is now locked to my ap, won't switch even if i lose the signal, it will just keep looking for my ap.
iwconfig eth0 essid TI87GE69 would do the samething.

I'm still fiddling with retry and rts.
O, and nothing sticks after reboot, or even turning wifi off then on again...


I got iwconfig from;

http://dl.xda-developers.com/attachdl/bda3c1b1d9306b8121e15ee991513692/50e82eb8/7/3/8/7/6/8/iwconfig.tar

i think you have to create an account to dl files from xda, but try it without first.

can't remember where i got the other iw commands, from an apk i think
ww227 is offline  
Last edited by ww227; January 10th, 2013 at 10:25 PM.
Reply With Quote