wireless N + Android + Screen off

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Sun Jul 22, 2012 21:18    Post subject: wireless N + Android + Screen off Reply with quote
Guys,

This is a strange one..

Can some one with a N router + N capable android phone do the bellow test ?


Open any command line and start pinging your android phone with screen on !


1 - Set android phone to never turn wifi off when screen goes off.

2 - Confirm your using wireless N (65mbps) connection

3 - turn screen off

My ping stops reacting a few seconds later.. hmm what ?

Goto dd-wrt wireless settings and force wireless G and now ping keeps working with screen off..


It can't be ( I said to myself ) so I re-flashed tp-link 1043 original firmware did the same experience and ping works as supposed to with wireless N..


I can't use dd-wrt with wireless N. My phone looses communication.

Any fix for this one ?
Sponsor
adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Sun Jul 22, 2012 21:39    Post subject: Reply with quote
MaKCuMyC wrote:
it's just your phone.


really ? that's very helpful lol

I have with me more than one N android phone.. It can't possible be all my phones! Original tp-link 1043ND firmware does not show this behavior
Detection
DD-WRT User


Joined: 19 Jan 2012
Posts: 403
Location: UK

PostPosted: Mon Jul 23, 2012 0:13    Post subject: Reply with quote
Maybe Android drops to either a lower power state for wifi or to wireless G when screen is off (low power state)

Install "Wake Lock" for Android, that app keeps the CPU at its lowest frequency instead of deep sleep, then try the tests again, if it works, then its something Android is doing to the wifi in a low power state

_________________
TPLINK TL-WR2543ND (5GHz)
WRT160NL (2.4GHz)
adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Mon Jul 23, 2012 0:18    Post subject: Reply with quote
I don't need to do nothing on the phone. By using tp-link 1043nd original firmware all is ok. It has something to do with dd-wrt wireless N driver.

Don't know what more to say. Original router firmware works with N. Dd-wrt only works with G and probably B
adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Mon Jul 23, 2012 14:12    Post subject: Reply with quote
Some screen shots of it happening. I must add that sometimes it works ok but there will be a time that it will stop working.

Any log from dd-wrt that I can post ?

I should add that if I select wireless network mode "N-only" the phones I have here (g nexus and g note) do not connect to wireless.

Also, this time I'm using a TP-Link TL-WR841ND v5 intead of the 1043ND.



Wireless_G_screen_off.JPG
 Description:
Wireless G, screen off
 Filesize:  122.88 KB
 Viewed:  87 Time(s)

Wireless_G_screen_off.JPG



Wireless_N_screen_off.JPG
 Description:
Wireless N, screen off
 Filesize:  116.06 KB
 Viewed:  87 Time(s)

Wireless_N_screen_off.JPG



Wireless_N_screen_on.JPG
 Description:
Wireless N, instant I press on button
 Filesize:  103.48 KB
 Viewed:  87 Time(s)

Wireless_N_screen_on.JPG


checho
DD-WRT Guru


Joined: 27 Feb 2007
Posts: 527
Location: Bulgaria

PostPosted: Mon Jul 23, 2012 16:07    Post subject: Reply with quote
DD-WRT does never distinguish what device is connected and does not know when you switch the phone screen on or off. It can't be from the router. Period.
adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Mon Jul 23, 2012 16:12    Post subject: Reply with quote
checho wrote:
DD-WRT does never distinguish what device is connected and does not know when you switch the phone screen on or off. It can't be from the router. Period.


ok..explain why with original tp-link firmwares the phenomenon does not happen then??

like I said, is there any log I can post ? look for ? anything ?

Edit: Or when I stop using wireless N..
Detection
DD-WRT User


Joined: 19 Jan 2012
Posts: 403
Location: UK

PostPosted: Mon Jul 23, 2012 17:00    Post subject: Reply with quote
adolfotregosa wrote:
checho wrote:
DD-WRT does never distinguish what device is connected and does not know when you switch the phone screen on or off. It can't be from the router. Period.


ok..explain why with original tp-link firmwares the phenomenon does not happen then??

like I said, is there any log I can post ? look for ? anything ?

Edit: Or when I stop using wireless N..


Theres something wrong anyway, look at your ping times, they should be next to nothing on local network, I get 10ms ping to online servers for speedtests

_________________
TPLINK TL-WR2543ND (5GHz)
WRT160NL (2.4GHz)
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7576
Location: YWG, Canada

PostPosted: Mon Jul 23, 2012 17:13    Post subject: Reply with quote
I tried some of this out while I had the Galaxy Nexus.. no mater what I did I could not get this problem to replicate on WNDR3700 v1 or DIR-825 B1, but it was running 4.0.4 ICS.. I would suspect its true when its rumored that newer Android OS fixes it but I don't have a Gingerbread(why is most Android users on this still?) device to confirm..
_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/MT7915 -------> r58609 std
[QUALCOMM] DIR-862L --------------------------------> r58609 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r56972 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

adolfotregosa
DD-WRT Novice


Joined: 20 May 2011
Posts: 8

PostPosted: Mon Jul 23, 2012 17:19    Post subject: Reply with quote
Detection wrote:
adolfotregosa wrote:
checho wrote:
DD-WRT does never distinguish what device is connected and does not know when you switch the phone screen on or off. It can't be from the router. Period.


ok..explain why with original tp-link firmwares the phenomenon does not happen then??

like I said, is there any log I can post ? look for ? anything ?

Edit: Or when I stop using wireless N..


Theres something wrong anyway, look at your ping times, they should be next to nothing on local network, I get 10ms ping to online servers for speedtests



my ping times are the correct ones for screen off mode !!

because of this

http://forum.xda-developers.com/showpost.php?p=25452279&postcount=1

and this

http://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_MODE_FULL_HIGH_PERF


but have a look at this:

http://code.google.com/p/android/issues/detail?id=34786
(server error atm... what luck..)

It seams jelly bean "problem" but my tp-links with original firmware work.



Screenshot_2012-07-23-17-59-27.png
 Description:
connection confirmation
 Filesize:  82.83 KB
 Viewed:  70 Time(s)

Screenshot_2012-07-23-17-59-27.png



tp_link_841_v5.JPG
 Description:
N only !
 Filesize:  250.5 KB
 Viewed:  70 Time(s)

tp_link_841_v5.JPG


UhQ
DD-WRT Novice


Joined: 27 Jul 2012
Posts: 1

PostPosted: Wed Aug 01, 2012 19:21    Post subject: Reply with quote
I want to revive this thread since I have the same problem with my EVO LTE, only when it's screen turns off it loses connection. Pretty odd problem, worked fine when I had stock firmware too.
ptruman
DD-WRT User


Joined: 14 May 2008
Posts: 155

PostPosted: Mon Aug 06, 2012 10:43    Post subject: Reply with quote
I think you have stumbled on "something"

I've just flashed my Xoom tablet to JB 4.1.1 and lo, I cannot connect when using EAP (the tablet just won't even bother trying to connect) - but it WILL connect to my HTC phone hotspot using WPA2 (no EAP).

I'm going to try the NG mixed mode you alluded to in your bug thread and see....
ptruman
DD-WRT User


Joined: 14 May 2008
Posts: 155

PostPosted: Mon Aug 06, 2012 10:47    Post subject: Reply with quote
...and you've done it.
NG Mixed mode works with 4.1.1 JB.

N Only, with DD-WRT does not, the tablet won't even try connecting.

Most, most odd.

Look here though :

http://code.google.com/p/android/issues/detail?id=34786#c23

"We are aware of DD-WRT based 11n only routers having trouble. it will be fixed as part of an update."
Racer Jon
DD-WRT Novice


Joined: 15 Jun 2012
Posts: 3

PostPosted: Thu Sep 27, 2012 10:22    Post subject: Reply with quote
I have a similar issue (Evo 4G LTE running CM10 on Android 4.1.1) and I can also confirm that setting the router mode to NG Mixed works. N only does not.

Also I tried Mixed and it worked okay but I find that with NG mixed I have a bit better connection when the screen is off. I still can't find a fix for that. Phone going into deep sleep has nothing to do with it as long as the wi-fi is still enabled and not killed when the screen is off -- which mine isn't.

Oh well the search continues, at least now it's better though.
fyi
DD-WRT User


Joined: 01 May 2009
Posts: 114

PostPosted: Fri Sep 28, 2012 12:34    Post subject: Reply with quote
I had a similar issue with Buffalo WZR-HP-G300NH2 and Android phones (running GB and ICS) described here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=149236

I think this is a problem with handshaking between dd-wrt and android phones for some versions of dd-wrt firmware.

If you don't want to waste time hunting down the right version of dd-wrt to use, just spend $47 ($67 with $20 rebate ending this month) for the Buffalo (http://www.newegg.com/Product/Product.aspx?Item=N82E16833162031&Tpk=wzr-hp-g300nh).

I can confirm their latest dd-wrt firmware (19154) fixed this problem.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum