Hi all,
I'm currently running latest CM10.2.0, and when I connect to any WiFi network, the initial negotiation speed is very fast.
From the moment I push the WiFi button, to the moment the WiFi is "connected", the duration goes from 2s to 4-5s max.
This duration includes internal WiFI activation and DHCP lease negotiation.
With all KK based ROMs I've tested (CM11, Carbon, LS, etc ...), or with F4K kernel (KK or JB, I've tested JB version on CM10), I'm having terrible negatiation times, generally next to 30s, but sometimes as high as 60s.
Having to wait up to 60s before being able to perform a mail check or a calendar sync that takes only 3s is very annoying.
What can I do to obtain a descent activation speed with KK or F4K JB ?
Is there a build.prop tweak or an init.d script that can speed the thing up ?
Tks
10.2.0 is not the latest!
There is already 10.2.1
ladislav.heller said:
10.2.0 is not the latest!
There is already 10.2.1
Click to expand...
Click to collapse
Sorry, my S4m runs CM10.2.1 indeed.
WiFi negotiation speeds has always been the same under all CM10 flavors (i.e. very fast), and always been the same under all CM11 flavors (i.e. very slow).
I'm on Carbon KK and negotiating time is close to zero. I actually don't even see it switch on. For instance, I use Llama and have it set up that in the night hours WiFi is turned off, unless the screen is turned on. I never had to wait at all during such an occurence until I had the internet connection.
jake3317 said:
I'm on Carbon KK and negotiating time is close to zero. I actually don't even see it switch on. For instance, I use Llama and have it set up that in the night hours WiFi is turned off, unless the screen is turned on. I never had to wait at all during such an occurence until I had the internet connection.
Click to expand...
Click to collapse
Tks for your reply Jake.
Thanks to your testimony, I guess my WiFi issue is due to some parameters that are specific to networks I'm connecting to.
All my tests are done on 2 different WiFi HotSpots, with different hardware, but both :
- Are running OpenWRT
- Have WPA2 PSK (CCMP) encryption
I will do some tests to see if encryption type or hotspot software has an influence on negotiation speed.
Vilo76 said:
Tks for your reply Jake.
Thanks to your testimony, I guess my WiFi issue is due to some parameters that are specific to networks I'm connecting to.
All my tests are done on 2 different WiFi HotSpots, with different hardware, but both :
- Are running OpenWRT
- Have WPA2 PSK (CCMP) encryption
I will do some tests to see if encryption type or hotspot software has an influence on negotiation speed.
Click to expand...
Click to collapse
The network I connect to most of the time has WPA2 PSK encryption. No clue about the OpenWRT
Related
Hello,
My Desire runs CM7 (latest nightly) and is connected to the internet via a Linksys WNR160N Wifi Router with DD-WRT firmware on it. But this combination gives me massive battery drain, up to 8% per hour. I've changed the DD-WRT version a couple of times, but that doesn't solve the problem. I've used a lot of CM7 versions, but the problem is with all of them, so it has nothing to do with the nightly I run. The problem exits for a few months now.
When I flash a Sense rom on my phone, I have no problem. When I use a different Wifi router, there's also no problem. A fresh install of CM7 doesn't help. So it is just the combination CM7 and DD-WRT, but that's the combination I prefer to use.
Anybody an idea or solution to fix this?
CM7 use wifi N hack ? Maybe that is the cause. At least from what i've read activating wifi N can cause higher battery drain - and as you said you have wrt160N router which obviously has wireless N implemented.
You can try use other channel, Try OpenWRT instead of DD-WRT, Chech if you have enabled "best wireless performance" (Or similar) - In advanced settings of wifi.
Go into wireless and network then wireless settings. Press menu then advanced and change it to never, the wifi policy sleep thing.
Swyped...
Meaple said:
Go into wireless and network then wireless settings. Press menu then advanced and change it to never, the wifi policy sleep thing.
Swyped...
Click to expand...
Click to collapse
Also try to disable "Best wi-fi performance".
Thanks for the replies. But it has nothing to do with wifi sleep policy, which was already on never. Also changing wifi channels doesn't help. The wifi n hack also isn't the problem, i've used a vast range of roms over time, OpenDesire, Oxygen, Leedroid, RCMix and they had wifi n and there was no problem. Also changing wireless settings doesn't help (and this still doesn't explain why only CM has this problem and why there's no problem on other N routers) So I really have tried my fair share of solutions. I will try OpenWrt, I thought there was no build for my router, but there is. So I will try that.
Did you solve this issue?
Thor
Yes I did. I flashed the latest build of DD-Wrt standard and that solved it. Previously I had used a lot of different builds, but mostly mini and micro builds. So I don't know exactly what does and what doesn't work.
Materials:
I have Shadow Kernel v0.5 patched to my clean install of CM9 (wiped data/cache/dalvik); overclocked to 1200Mhz using the built-in CM9 performance settings with InteractiveX governor.
Issue:
Every time I try to enable the built-in CM9 wifi hotspot, it seems to just automatically deactivate.
Procedure:
While having wifi on and successfully connected to the internet via my home router/work router, I tap the check-mark to activate the hot-spot, it displays that it is attempting to activate wifi (even though it is already on) and then displays the small icon indicating that wifi hotspot is active; after a few hundred milliseconds it proceeds to display that it is deactivating wifi and we are back at square one (but now the wifi is off).
Results:
This issue is repeatable. I can duplicate this problem consistently even after doing reboots. I have also tried to activate the hotspot with the wifi preemptively off or combined with 4G on/off and it seems to hang and occasionally crash to an automatic reboot when attempting to activate wifi when hotspot is toggled on.
Question:
Is anyone else having similar issues? Or is it simply my phone acting retarded?
Edit:
- I have tried down-clocking the CPU from 1200Mhz to 1100Mhz and it seems to be spotty with reliability regarding staying an active hot-spot.
- I have tried down-clocking the CPU from 1100Mhz to stock 1000Mhz and the hotspot is still unreliable.
- I have kept the clock-rate at stock 1000Mhz and switched the governor from InteractiveX to stock Conservative, the hotspot stays on, but it fails to assign IP addresses to anything. :'(
1. Don't flash a custom kernel. To me, OC is a joke. It may speed up the device, but it just drains battery and the phone is already fast enough. They bring up issues that can easily be avoided.
2. Wifi will never work as a hotspot. 4G will work eventually, however the whole idea of tethering is using your signal to create what is basically just wifi for other people, or your computer. Why would you or anyone else need a hotspot if wifi is already available? That's just redundant.
3. If you use 4G frequently, there is an app on the Android Market (or should I say Play Store? lol) that will allow you to create a wireless hotspot based on your 4G connection, however it is not yet built in to the system.
Hope this helps.
Hello Acer, thanks for the reply!
|| Acer || said:
1. Don't flash a custom kernel. To me, OC is a joke. It may speed up the device, but it just drains battery and the phone is already fast enough. They bring up issues that can easily be avoided.
Click to expand...
Click to collapse
Noted. I will stay at stock clock-rate then, but that custom kernel offers some improvements that I feel are important.
|| Acer || said:
2. Wifi will never work as a hotspot. 4G will work eventually, however the whole idea of tethering is using your signal to create what is basically just wifi for other people, or your computer. Why would you or anyone else need a hotspot if wifi is already available? That's just redundant.
Click to expand...
Click to collapse
I believe I have caused a misunderstanding, I wish to utilize my phone as a wifi hotspot to access my phones 3G/4G Wimax. I have done this successfully with stock Samsung roms. My goal is to cancel my Comcast cable internet because they are raping me without a condom right now.
|| Acer || said:
3. If you use 4G frequently, there is an app on the Android Market (or should I say Play Store? lol) that will allow you to create a wireless hotspot based on your 4G connection, however it is not yet built in to the system.
Click to expand...
Click to collapse
CM9 allows you to do this without an app.
|| Acer || said:
Hope this helps.
Click to expand...
Click to collapse
You were very helpful! :-D
I too had trouble initializing the hotspot built in to CM9. It would activate then deactivate. I left it on, rebooted, then went to try again, it activated, deactivated then reactivated and stayed on. Then it worked fine after that.
cameljock said:
Procedure:
While having wifi on and successfully connected to the internet via my home router/work router, I tap the check-mark to activate the hot-spot, it displays that it is attempting to activate wifi (even though it is already on) and then displays the small icon indicating that wifi hotspot is active; after a few hundred milliseconds it proceeds to display that it is deactivating wifi and we are back at square one (but now the wifi is off).
Click to expand...
Click to collapse
You are supposed to be connected to data, not wifi, since that's what you're trying to tether other devices to. When you press the Portable Wifi hotspot button, it says "turning on wifi...", think of that as saying "turning on wifi hotspot", not wifi as in your router.
Turn OFF wifi, turn ON 4g/3g, make sure it's connected to data, then turn on portable hotspot. However, you did mention that you've tried several combinations. I have the same setup as you and this never fails for me. I think I got a reboot once awhile ago but that's it.
the OC is not the problem, I'm also at 1200mhz on shadow.
I am having this exact same problem after flashing cm9 beta 0
Kindly poll whether you can use wifi properly or with any fixing methods such as copying folders from 4.1.1 roms, or Disabling Wifi Power Save Mode.
If you use any other method apart from the two mentioned above,kindly comment about the method.
Lastly, if you are able to use wifi Without Any Fix, do post your firmware and rom.
I am currently on DMC3, wifi worked properly for a day without doing anything and then it just broke. Network disabled due to poor connection. And then i had to use the copying wifi folder from 4.1.1 trick. And it works fine now.
Kindly download https://play.google.com/store/apps/details?id=de.android.telnet&hl=en
Go to wifi tab and post the frequency you see.
I never experienced issues with Wi-Fi on my Note 2 on 4.1.1 or 4.1.2 stock.Whenever I reach home a message appears:Connected to .....
No issue.
Used all types of roms and kernels like wanam arhd omega phoenix pacman jelly bear pa and many other roms.
I have tried every single kernel. No problems on any of the combinations. Currently on wanam and redpill
Sent from my GT-N7100 using xda premium
I think the problem lies in the band of the wifi router. 5G seems to work fine while 2.4G(mine) need some tweaking to do.
Do you have a wifi router at home and what band is it?
I don't know the speed exactly but it says 54m adsl 2+ router.
Sent from my GT-N7100 using xda premium
Since the recent DMC3 upgrade, wifi connects fine every time. But the bug of decreasing speed over time, is still present.
This NEVER occurred with the 4.1.1 FW, so it's NOT router related. My router: Netgear CG3100 b/g/n 20Mhz bandwidth.
I was initially very happy, finding that the connection bug was gone in this FW, 'til I realised the speed problem wasn't.
Televinken said:
Since the recent DMC3 upgrade, wifi connects fine every time. But the bug of decreasing speed over time, is still present.
This NEVER occurred with the 4.1.1 FW, so it's NOT router related. My router: Netgear CG3100 b/g/n 20Mhz bandwidth.
I was initially very happy, finding that the connection bug was gone in this FW, 'til I realised the speed problem wasn't.
Click to expand...
Click to collapse
Can you explain this "decreasing of speed over time" problem?
I mean that when I connect to the wifi network, the speed is 20-24Mbit/s down,
& 9-10Mbit up, as it's supposed to be. If I then leave the phone on the table for,
say 15-30 minutes, & after that pick it up and do a speed test, it has dropped
to between 2 & 3Mbit/s down, and around 3Mbit/s up. I disconnect from the
wifi network, reconnect immediately, and speeds are back to normal again.
Same every time. This bug, Sammy somehow failed to wipe out....
Wifi troubleshooting can be sort of a black arts. Regardless of where the fault lies, what you should do first is log into the router's control panel, and disable as many functions as possible, including setting it to b only, disabling qos, wmm and such, security to none, perhaps assign a static ip etc.
If it works, enable features one by one by process of elimination.
Sent from my GT-N7100 using Tapatalk 2
adytum said:
Wifi troubleshooting can be sort of a black arts. Regardless of where the fault lies, what you should do first is log into the router's control panel, and disable as many functions as possible, including setting it to b only, disabling qos, wmm and such, security to none, perhaps assign a static ip etc, enable features one by one by process of elimination.
Click to expand...
Click to collapse
Not applicable, since the bug is not router related. (at least in my case)
not a single problem
I had no problems with wifi on my note 2 ...
I have tested many roms (wanam, alliance, omega, etc.) and kernels (neak,perseus,adam,stock)...
Everything works great
UtkarshGupta said:
I don't know the speed exactly but it says 54m adsl 2+ router.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Televinken said:
Since the recent DMC3 upgrade, wifi connects fine every time. But the bug of decreasing speed over time, is still present.
This NEVER occurred with the 4.1.1 FW, so it's NOT router related. My router: Netgear CG3100 b/g/n 20Mhz bandwidth.
I was initially very happy, finding that the connection bug was gone in this FW, 'til I realised the speed problem wasn't.
Click to expand...
Click to collapse
Televinken said:
Not applicable, since the bug is not router related. (at least in my case)
Click to expand...
Click to collapse
Download https://play.google.com/store/apps/details?id=de.android.telnet&hl=en
Go to wifi tab and plz post what is the frquency youre on.
Frequency 2432MHz on channel 5....
Televinken said:
Frequency 2432MHz on channel 5....
Click to expand...
Click to collapse
So you're on 2.4 G and you have a problem.
Lets see if theres someone with a 5G frequency and whether he has a problem./
Dears,
I noticed that when I'm connected to a 5GHz network WiFi disconnects after several minutes idle.
Anybody else noticed this?
Any fix?
Thanks and best regards
Sounds like Energy Savings management ... "Turn WLAN off if not needed".
Unfortunately I can't remember if there's any "Keep WLAN connection alive" setting in Android 4.2.x and, if yes, where it is. I remember earlier versions of my SGS1 (Android 2.3.x) had such an option.
There's, but it doesn't affect 5GHz, it should but it doesn't...
If you have a N7100 and 4.1.2 rom, then it is actually a bug. You will need to either disable PSM or use 4.1.1 drivers.
Sorry, what is PSM?
Power Save Mode. Check this out http://galaxynote2root.com/galaxy-n...o-fix-wifi-hanging-problems-on-galaxy-note-2/
Now it is stable, but what about performance?
I have an average of 2.20Mbps. 2.4GHz is still superior close and far from ap...
Tks!
Hi, I have the nexus 5x since Oct 2016.
With wifi, BT or poor coverage, y consumption is high. Minimum of 1,5%/hour. With mobile data 0,2%/hour. Perhaps with poor coverage is normal, but I don't understand why it happens with Wifi (At home (2.4Ghz and 5 Ghz) and at work (5Ghz)). I have tested multiples cases.
I have had 7.0 (stock), 7.1(stock), 7.1.2 (Dev), without root and with root + (Franco kernel or ElementalX kernel) + naptime. I have desactivate Wifi scaning on location. I never see the flat line in battery graph with Wifi.
I use the app "gsam battery" to see the battery graph.The kernel and Android system are the first app suckers, I think it's normal. I don't see anthing unusual in battery graph. The mobile go to sleep mode correctly.
What would be the problem? What new tests I can do?
Thanks
Question: Are you using Project Fi, or any other carrier that allows for WiFi calling/texting?
To clarify: I don't think Project Fi is the culprit, but I may have a solution that I've been testing.
A common complaint that goes back to my N5 running Kit Kat. The fix was to force the device to only use 2.4Ghz Wifi, however since 7.0 Google has removed that option.
Changing router's or updating the router firmware has helped some in the past but not for me.
Does your device Doze properly on a mobile data connection also? And does wifi occasionally idle properly, say when switching back and forth between wifi and cell data? That's the case for me currently, and you know something's wrong when a 3G connection idles better than Wifi.
I'm not using Project Fi, or any other carrier that allows for WiFi calling. My carrier is vodafone, a normal carrier.
I have tested a router with 2.4Ghz only, but the problem persists.
Doze works correctly with mobile data connection and Wifi. I can see the mobile go to sleep mode correctly in both cases.
But in idle mode, wifi use a 1.5%/hour and mobile data 0.2%/hour, but I don't see nothings strange in the graphs or stadistics.
What I can I try?
NaxoForum said:
But in idle mode, wifi use a 1.5%/hour and mobile data 0.2%/hour, but I don't see nothings strange in the graphs or stadistics.
What I can I try?
Click to expand...
Click to collapse
Ya sounds exactly like the issue I was describing. The fix used to be to force the device to only pick up 2.4Ghz connections but Google took the option away ever since 7.0. Being on a network they only transmits 2.4Ghz doesn't help as the device is still listening to and picking up 5Ghz signals.
There is no known fix that I'm aware of. I don't think Google considers it their problem, they would likely say it's a router compatibility issue and tell us to upgrade our router firmware.