[Nexus 7 (2013) Android Development] Sgt.7Eleven:
WiFi takes 30 seconds to switch on?

Hey DJL and XDA

Err I'm running tthr latest build, and whenever I switch off my WiFi, and turn it back on again, it takes 30 seconds to switch on. I tried reverting to build 7, but still same problem. I'm using the stock kernel BTW

I grabbeddd a logcat if it helps:

build.board: flo
build.bootloader: FLO-03.14
build.brand: Android
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: flo
build.display: custom_flo-userdebug 4.4 KRT16S eng.david.20131120.214148 test-keys
build.fingerprint: Android/custom_flo/flo:4.4/KRT16S/eng.david.20131120.214148:userdebug/test-keys
build.hardware: flo
build.host: DJLaMontagneIII-Lubuntu
build.id: KRT16S
build.manufacturer: ASUS
build.model: Nexus 7 2013
build.product: custom_flo
build.radio: unknown
build.serial: 05999f7a
build.tags: test-keys
build.time: 1385001792000
build.type: userdebug
build.user: david
version.codename: REL
version.incremental: eng.david.20131120.214148
version.release: 4.4
version.sdk_int: 19

11-23 13:39:36.331 D/dalvikvm(591): GC_FOR_ALLOC freed 1252K, 18% free 20495K/24708K, paused 51ms, total 51ms
11-23 13:39:36.341 W/InputMethodManagerService(591): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4264b6d0 attribute=null, token = android.os.BinderProxy@42629a40
11-23 13:39:36.381 V/PhoneStatusBar(661): setLightsOn(true)
11-23 13:39:36.531 D/dalvikvm(2454): GC_CONCURRENT freed 10780K, 42% free 15010K/25800K, paused 3ms+8ms, total 61ms
11-23 13:39:39.835 D/PhoneStatusBar(661): disable: < expand icons alerts TICKER* SYSTEM_INFO* back home recent clock search >
11-23 13:39:39.975 V/PanelView(661): animationTick called with dtms=0; nothing to do (h=611.14294 v=4487.084)
11-23 13:39:41.076 D/WifiService(591): setWifiEnabled: false pid=661, uid=10006
11-23 13:39:41.106 D/CommandListener(179): Clearing all IP addresses on wlan0
11-23 13:39:41.116 D/CommandListener(179): Clearing all IP addresses on wlan0
11-23 13:39:41.126 D/ConnectivityService(591): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
11-23 13:39:41.126 D/ConnectivityService(591): tryFailover: set mActiveDefaultNetwork=-1, prevNetType=1
11-23 13:39:41.126 D/ConnectivityService(591): Attempting to switch to BLUETOOTH_TETHER
11-23 13:39:41.126 D/ConnectivityService(591): Attempting to switch to ETHERNET
11-23 13:39:41.166 D/BluetoothAdapter(2731): 1106548384: getState() : mService = null. Returning STATE_OFF
11-23 13:39:41.186 I/ActivityManager(591): Start proc com.dv.adm for broadcast com.dv.adm/.Widg: pid=3933 uid=10151 gids={50151, 3003, 1028, 1015}
11-23 13:39:41.206 I/ErrorAgent(3933): Registering custom exceptions handler
11-23 13:39:41.236 I/Process (3933): Sending signal. PID: 3933 SIG: 9
11-23 13:39:41.236 I/ActivityManager(591): Process com.dv.adm (pid 3933) has died.
11-23 13:39:41.626 I/wpa_supplicant(3682): wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:be:19:36:81:f2 reason=3 locally_generated=1
11-23 13:39:41.626 D/Tethering(591): InitialState.processMessage what=4
11-23 13:39:41.626 D/Tethering(591): sendTetherStateChangedBroadcast 0, 0, 0
11-23 13:39:41.636 D/NetUtils(591): android_net_utils_resetConnections in env=0x75bc0228 clazz=0xc3000001 iface=wlan0 mask=0x3
11-23 13:39:41.636 D/ConnectivityService(591): resetConnections(wlan0, 3)
11-23 13:39:41.706 I/wpa_supplicant(3682): wlan0: CTRL-EVENT-TERMINATING
11-23 13:39:41.746 D/Nat464Xlat(591): requiresClat: netType=1, hasIPv4Address=false
11-23 13:39:41.746 D/ConnectivityService(591): handleInetConditionChange: no active default network - ignore
11-23 13:39:41.807 W/Settings(848): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
11-23 13:39:41.817 D/BluetoothAdapter(2731): 1106548384: getState() : mService = null. Returning STATE_OFF
11-23 13:39:41.837 I/ActivityManager(591): Start proc com.dv.adm for broadcast com.dv.adm/.Widg: pid=3973 uid=10151 gids={50151, 3003, 1028, 1015}
11-23 13:39:41.857 I/ErrorAgent(3973): Registering custom exceptions handler
11-23 13:39:41.877 I/Process (3973): Sending signal. PID: 3973 SIG: 9
11-23 13:39:41.877 I/ActivityManager(591): Process com.dv.adm (pid 3973) has died.
11-23 13:39:44.679 D/WifiService(591): setWifiEnabled: true pid=661, uid=10006
11-23 13:39:44.759 D/Tethering(591): MasterInitialState.processMessage what=3
11-23 13:39:44.759 D/CaptivePortalTracker(591): Disconnected from active network NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: <unknown ssid>, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
11-23 13:39:44.759 D/ConnectivityService(591): setProvNotificationVisible: E visible=false networkType=1 extraInfo=null url=null
11-23 13:39:44.769 D/Z7ContentProvider(1217): add notifyChange uri:content://com.outlook.Z7.provider.email/dbprefs/0/Global/last_disconnect?client_id=1
11-23 13:39:44.850 D/MobileConnectivityChangeReceiver(2798): onReceive Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.google.android.setupwizard/.MobileConnectivityChangeReceiver (has extras) }
11-23 13:39:44.850 D/MobileConnectivityChangeReceiver(2798): onReceive CONNECTIVITY_CHANGE networkType=1
11-23 13:39:44.850 D/Z7ContentProvider(1217): add notifyChange uri:content://com.outlook.Z7.provider.email/dbprefs/0/Global/last_disconnect?client_id=1
11-23 13:39:44.870 D/GCM (910): GcmService start Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.google.android.gms/.gcm.GcmService (has extras) } android.net.conn.CONNECTIVITY_CHANGE
11-23 13:39:44.870 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:39:44.870 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:39:44.880 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:39:44.880 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:39:44.890 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:39:44.890 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:39:53.768 D/ConnectivityService(591): handleInetConditionChange: no active default network - ignore
11-23 13:40:10.384 D/battery_widget_monitor(1796): bmw_watcher got intent: android.intent.action.BATTERY_CHANGED
11-23 13:40:10.434 D/battery_widget_monitor(1796): Event handling took 27ms
11-23 13:40:11.596 D/ConnectivityService(591): handleInetConditionChange: no active default network - ignore
11-23 13:40:14.839 W/Netd (179): No subsystem found in netlink event
11-23 13:40:14.839 D/NetlinkEvent(179): Unexpected netlink message. type=0x11
11-23 13:40:14.899 W/Netd (179): No subsystem found in netlink event
11-23 13:40:14.899 D/NetlinkEvent(179): Unexpected netlink message. type=0x11
11-23 13:40:14.979 D/dalvikvm(2454): GC_CONCURRENT freed 2504K, 46% free 14176K/25796K, paused 3ms+4ms, total 94ms
11-23 13:40:15.449 D/Tethering(591): sendTetherStateChangedBroadcast 1, 0, 0
11-23 13:40:15.459 D/SoftapController(179): Softap fwReload - Ok
11-23 13:40:15.459 D/Tethering(591): InitialState.processMessage what=4
11-23 13:40:15.459 D/Tethering(591): sendTetherStateChangedBroadcast 0, 0, 0
11-23 13:40:15.459 E/NetdConnector(591): NDC Command {134 softap fwreload wlan0 STA} took too long (30754ms)
11-23 13:40:15.469 D/CommandListener(179): Setting iface cfg
11-23 13:40:15.469 D/CommandListener(179): Trying to bring down wlan0
11-23 13:40:15.479 D/WifiMonitor(591): startMonitoring(wlan0) with mConnected = false
11-23 13:40:15.489 I/wpa_supplicant(4039): Successfully initialized wpa_supplicant
11-23 13:40:15.489 I/wpa_supplicant(4039): rfkill: Cannot open RFKILL control device
11-23 13:40:15.489 D/BluetoothAdapter(2731): 1106548384: getState() : mService = null. Returning STATE_OFF
11-23 13:40:15.519 I/ActivityManager(591): Start proc com.dv.adm for broadcast com.dv.adm/.Widg: pid=4046 uid=10151 gids={50151, 3003, 1028, 1015}
11-23 13:40:15.539 I/ErrorAgent(4046): Registering custom exceptions handler
11-23 13:40:15.559 I/Process (4046): Sending signal. PID: 4046 SIG: 9
11-23 13:40:15.569 I/ActivityManager(591): Process com.dv.adm (pid 4046) has died.
11-23 13:40:15.600 I/wpa_supplicant(4039): rfkill: Cannot open RFKILL control device
11-23 13:40:15.770 D/WifiConfigStore(591): Loading config and enabling all networks
11-23 13:40:15.770 E/WifiConfigStore(591): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
11-23 13:40:15.780 D/BluetoothAdapter(2731): 1106548384: getState() : mService = null. Returning STATE_OFF
11-23 13:40:15.780 D/CommandListener(179): Setting iface cfg
11-23 13:40:15.780 D/CommandListener(179): Trying to bring up p2p0
11-23 13:40:15.780 D/WifiMonitor(591): startMonitoring(p2p0) with mConnected = true
11-23 13:40:15.790 I/ActivityManager(591): Start proc com.dv.adm for broadcast com.dv.adm/.Widg: pid=4065 uid=10151 gids={50151, 3003, 1028, 1015}
11-23 13:40:15.810 D/dalvikvm(182): GC_EXPLICIT freed 40K, 1% free 9722K/9796K, paused 2ms+2ms, total 21ms
11-23 13:40:15.820 I/ErrorAgent(4065): Registering custom exceptions handler
11-23 13:40:15.820 D/dalvikvm(182): GC_EXPLICIT freed <1K, 1% free 9722K/9796K, paused 1ms+2ms, total 16ms
11-23 13:40:15.840 D/dalvikvm(182): GC_EXPLICIT freed <1K, 1% free 9722K/9796K, paused 1ms+2ms, total 16ms
11-23 13:40:15.850 I/Process (4065): Sending signal. PID: 4065 SIG: 9
11-23 13:40:15.850 I/ActivityManager(591): Process com.dv.adm (pid 4065) has died.
11-23 13:40:16.450 I/wpa_supplicant(4039): wlan0: Trying to associate with SSID 'SARK-FIBREOPTIC-HOME'
11-23 13:40:16.530 I/wpa_supplicant(4039): wlan0: Associated with c8:be:19:36:81:f2
11-23 13:40:16.530 I/wpa_supplicant(4039): wlan0: CTRL-EVENT-CONNECTED - Connection to c8:be:19:36:81:f2 completed (auth) [id=0 id_str=]
11-23 13:40:16.580 D/Tethering(591): sendTetherStateChangedBroadcast 1, 0, 0
11-23 13:40:16.641 D/dalvikvm(848): GC_CONCURRENT freed 410K, 7% free 10574K/11316K, paused 2ms+2ms, total 18ms
11-23 13:40:16.681 I/GCoreUlr(848): Successfully inserted location
11-23 13:40:16.681 I/GCoreUlr(848): Not calling LocationReportingService, hasMoved: false, elapsed millis: 507967, request: Tablet
11-23 13:40:17.201 D/WifiStateMachine(591): VerifyingLinkState enter
11-23 13:40:17.211 D/WifiStateMachine(591): VerifyingLinkState GOOD_LINK_DETECTED: transition to captive portal check
11-23 13:40:17.211 D/WifiStateMachine(591): CaptivePortalCheckState enter
11-23 13:40:17.211 D/WifiStateMachine(591): CaptivePortalCheckState CMD_CAPTIVE_CHECK_COMPLETE
11-23 13:40:17.211 D/ConnectivityService(591): Captive portal check NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "SARK-FIBREOPTIC-HOME", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
11-23 13:40:17.211 D/ConnectivityService(591): handleCaptivePortalTrackerCheck: call captivePortalCheckComplete ni=NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "SARK-FIBREOPTIC-HOME", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
11-23 13:40:17.221 D/ConnectivityService(591): ConnectivityChange for WIFI: CONNECTED/CONNECTED
11-23 13:40:17.221 E/ConnectivityService(591): Unexpected mtu value: android.net.wifi.WifiStateTracker@423e1a60
11-23 13:40:17.241 D/Nat464Xlat(591): requiresClat: netType=1, hasIPv4Address=true
11-23 13:40:17.321 I/CheckinService(910): Preparing to send checkin request
11-23 13:40:17.321 I/EventLogService(910): Accumulating logs since 1385185115844
11-23 13:40:17.371 D/dalvikvm(910): GC_CONCURRENT freed 419K, 6% free 10324K/10980K, paused 3ms+2ms, total 19ms
11-23 13:40:17.381 I/CheckinTask(910): Sending checkin request (2324 bytes)
11-23 13:40:18.132 D/dalvikvm(910): GC_CONCURRENT freed 395K, 6% free 10338K/10980K, paused 3ms+2ms, total 37ms
11-23 13:40:18.142 I/CheckinTask(910): Checkin success: https://android.clients.google.com/checkin (1 requests sent)
11-23 13:40:18.222 D/ConnectivityService(591): NetTransition Wakelock for ConnectedState released by timeout
11-23 13:40:18.582 D/ConnectivityService(591): handleConnectivityChange: addresses changed linkProperty[1]: resetMask=0
11-23 13:40:18.582 D/ConnectivityService(591): car=removed=[] added=[fe80::ae22:bff:fe43:c80f/64,]
11-23 13:40:18.582 D/Nat464Xlat(591): requiresClat: netType=1, hasIPv4Address=true
11-23 13:40:20.264 D/Tethering(591): MasterInitialState.processMessage what=3
11-23 13:40:20.264 D/CaptivePortalTracker(591): NoActiveNetworkState{ what=1 when=-2ms obj=NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "SARK-FIBREOPTIC-HOME", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false }
11-23 13:40:20.384 D/MobileConnectivityChangeReceiver(2798): onReceive Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.google.android.setupwizard/.MobileConnectivityChangeReceiver (has extras) }
11-23 13:40:20.384 D/MobileConnectivityChangeReceiver(2798): onReceive CONNECTIVITY_CHANGE networkType=1
11-23 13:40:20.414 D/GCM (910): GcmService start Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.google.android.gms/.gcm.GcmService (has extras) } android.net.conn.CONNECTIVITY_CHANGE
11-23 13:40:20.414 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:40:20.424 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:40:20.424 D/dalvikvm(865): GC_CONCURRENT freed 321K, 4% free 10046K/10396K, paused 1ms+2ms, total 14ms
11-23 13:40:20.434 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:40:20.434 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:40:20.514 D/dalvikvm(591): GC_EXPLICIT freed 1883K, 17% free 20575K/24708K, paused 2ms+6ms, total 79ms
11-23 13:40:20.514 E/Vold (177): Failed to find volume for /storage/usbdisk0/Android/data/com.google.android.youtube/files/
11-23 13:40:20.524 W/ContextImpl(2821): Failed to ensure directory: /storage/usbdisk0/Android/data/com.google.android.youtube/files
11-23 13:40:20.725 D/GCM (910): Connected
11-23 13:40:20.755 I/GCM (910): GCM message com.google.android.gsf.gtalkservice
11-23 13:40:20.785 D/GCM (910): Message class fon
11-23 13:40:20.785 D/dalvikvm(2454): GC_CONCURRENT freed 1689K, 46% free 13859K/25524K, paused 3ms+6ms, total 34ms
11-23 13:40:20.875 D/dalvikvm(1217): GC_CONCURRENT freed 432K, 5% free 10553K/11016K, paused 2ms+2ms, total 19ms
11-23 13:40:21.235 D/ConnectivityService(591): handleInetConditionHoldEnd: net=1, condition=100, published condition=0
11-23 13:40:24.428 V/PanelView(661): animationTick called with dtms=0; nothing to do (h=670.42865 v=-1496.0881)
11-23 13:40:24.738 D/PhoneStatusBar(661): disable: < expand icons alerts ticker* system_info* back home recent clock search >
11-23 13:40:24.829 V/PhoneStatusBar(661): setLightsOn(true)
11-23 13:40:24.919 W/InputMethodManagerService(591): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@424b2770 attribute=null, token = android.os.BinderProxy@425e2bd8

Thanks in advance!! And thanks so so much for the ROM!