This is a cm patch in review:
http://review.cyanogenmod.org/#/c/55805/. We will have it when it passes the review, though I don't know when that will happen as it has been there since dec 14. So I just pick it up in advance. Quarx doesn't use a forked repo of system/netd so I couldn't make a pull request.
Regarding the reboot issue, would you try disabling zRAM in Settings/Performance and see if it helps? zRAM is enabled by default in CM11 but from my experience in previous versions, it is not so stable and do cause ramdom reboots sometimes. Since this part of code in kernel hasn't been touched when we move on to 4.4, I guess the problem is still there.
+1 for this.
But 4.3 also use this command:
https://android.googlesource.com/pl...r1/wifi/java/android/net/wifi/WifiNative.java
Code:
public boolean setSuspendOptimizations(boolean enabled) {
if (mSuspendOptEnabled == enabled) return true;
mSuspendOptEnabled = enabled;
if (enabled) {
return doBooleanCommand("DRIVER SETSUSPENDMODE 1");
} else {
return doBooleanCommand("DRIVER SETSUSPENDMODE 0");
}
}
Maybe somewhere else is broken?