[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] erosco:
WiFi Fails to Reconnect automatically

Howdy,

Just wondered if anyone else is seeing this..

If I take my phone outside (out of wifi range) then back in it doesn't reconnect automatically.. I need to go into wifi settings, pick the network and then click cancel, then connect to reestablish the connection.

It's happened for the past 4-5 releases and happens on 2.4G and 5G networks. I've tried a clean boot as well as forgetting/relearning networks.

Sorry if this has been asked/answered.. I can't seem to find anyone describing the same issues. - I'll try and get some logcat logs.

01-31 15:37:18.984 E/wifi (3153): wifi_get_supported_feature_set returned error = 0xffffffa1
01-31 15:37:18.989 E/BatteryStatsService(3153): no controller energy info supplied
01-31 15:37:18.989 E/BatteryStatsService(3153): no controller energy info supplied
01-31 15:37:19.920 I/ActivityManager(3153): START u0 {flg=0x8000 cmp=com.android.settings/.Settings$WifiSettingsActivity (has extras)} from uid 1000 on display 0
01-31 15:37:20.248 I/ActivityManager(3153): Displayed com.android.settings/.Settings$WifiSettingsActivity: +317ms
01-31 15:37:20.439 D/OpenGLRenderer(4622): endAllActiveAnimators on 0x4d62f880 (RippleDrawable) with handle 0x49b71680
01-31 15:37:20.989 W/BatteryStatsService(3153): Timeout reading modem stats
01-31 15:37:21.075 W/TileUtils(4622): Found org.cyanogenmod.cmparts.input.ButtonSettings for intent Intent { act=com.android.settings.action.EXTRA_SETTINGS } missing metadata com.android.settings.category
01-31 15:37:21.075 W/TileUtils(4622): Found org.cyanogenmod.cmparts.statusbar.StatusBarSettings for intent Intent { act=com.android.settings.action.EXTRA_SETTINGS } missing metadata com.android.settings.category
01-31 15:37:21.076 W/TileUtils(4622): Found com.android.systemui.tuner.TunerActivity for intent Intent { act=com.android.settings.action.EXTRA_SETTINGS } missing metadata
01-31 15:37:21.089 D/Index (4622): Indexing locale 'en_AU' took 8 millis
01-31 15:37:21.125 D/Index (4622): Indexing locale 'en_AU' took 7 millis
01-31 15:37:21.154 D/Index (4622): Deleting data for locale 'en_AU' took 4 millis
01-31 15:37:21.162 D/Index (4622): Indexing locale 'en_AU' took 8 millis
01-31 15:37:21.488 D/Index (4622): Deleting data for locale 'en_AU' took 4 millis
01-31 15:37:21.496 D/Index (4622): Indexing locale 'en_AU' took 8 millis
01-31 15:37:24.041 W/SettingsLib.AccessPoint(4622): NetworkInfo is null, cannot return detailed state
01-31 15:37:28.183 W/SettingsLib.AccessPoint(4622): NetworkInfo is null, cannot return detailed state
01-31 15:37:30.657 D/WifiService(3153): New client listening to asynchronous messages
01-31 15:37:30.657 D/WiFiServiceImpl (3153): CONNECT nid=-1 uid=1000 name=android.uid.system:1000
01-31 15:37:30.658 D/WifiService(3153): Connect with config- DSBLE ID: 0 SSID: "x3" PROVIDER-NAME: null BSSID: null FQDN: null PRIO: 16 HIDDEN: false
01-31 15:37:30.658 D/WifiService(3153): NetworkSelectionStatus NETWORK_SELECTION_ENABLED
01-31 15:37:30.658 D/WifiService(3153): hasEverConnected: true
01-31 15:37:30.658 D/WifiService(3153): numAssociation 1
01-31 15:37:30.658 D/WifiService(3153): validatedInternetAccess
01-31 15:37:30.658 D/WifiService(3153): KeyMgmt: WPA_PSK Protocols: WPA RSN
01-31 15:37:30.658 D/WifiService(3153): AuthAlgorithms:
01-31 15:37:30.658 D/WifiService(3153): PairwiseCiphers: TKIP CCMP
01-31 15:37:30.658 D/WifiService(3153): GroupCiphers: TKIP CCMP
01-31 15:37:30.658 D/WifiService(3153): PSK: *
01-31 15:37:30.658 D/WifiService(3153): sim_num *
01-31 15:37:30.658 D/WifiService(3153): Enterprise config:
01-31 15:37:30.658 D/WifiService(3153): altsubject_match NULL
01-31 15:37:30.658 D/WifiService(3153): password <removed>
01-31 15:37:30.658 D/WifiService(3153): ca_path NULL
01-31 15:37:30.658 D/WifiService(3153): subject_match NULL
01-31 15:37:30.658 D/WifiService(3153): engine 0
01-31 15:37:30.658 D/WifiService(3153): client_cert NULL
01-31 15:37:30.658 D/WifiService(3153): ca_cert NULL
01-31 15:37:30.658 D/WifiService(3153): anonymous_identity NULL
01-31 15:37:30.658 D/WifiService(3153): identity NULL
01-31 15:37:30.658 D/WifiService(3153): key_id NULL
01-31 15:37:30.658 D/WifiService(3153): domain_suffix_match NULL
01-31 15:37:30.658 D/WifiService(3153): engine_id NULL
01-31 15:37:30.658 D/WifiService(3153): IP config:
01-31 15:37:30.658 D/WifiService(3153): IP assignment: DHCP
01-31 15:37:30.658 D/WifiService(3153): Proxy settings: NONE
01-31 15:37:30.658 D/WifiService(3153): cuid=1000 cname=android.uid.system:1000 luid=1000 lname=android.uid.system:1000 lcuid=1000 userApproved=USER_APPROVED noInternetAccessExpected=false roamingFailureBlackListTimeMilli: 1000
01-31 15:37:30.658 D/WifiService(3153): triggeredLow: 0 triggeredBad: 0 triggeredNotHigh: 0
01-31 15:37:30.658 D/WifiService(3153): ticksLow: 0 ticksBad: 0 ticksNotHigh: 0
01-31 15:37:30.658 D/WifiService(3153): triggeredJoin: 0
01-31 15:37:30.661 D/WifiStateMachine(3153): CONNECT_NETWORK updating existing config with id=0 configKey="x3"WPA_PSK
01-31 15:37:30.699 D/WifiNetworkHistory(3153): saving network history: "x3"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:1 nid:0 hasEverConnected: true
01-31 15:37:30.699 V/WifiNetworkHistory(3153): writeKnownNetworkHistory write config "x3"WPA_PSK
01-31 15:37:30.712 I/WifiConnectivityManager(3153): connectToUserSelectNetwork: netId=0 persist=true
01-31 15:37:30.724 D/WifiNetworkHistory(3153): saving network history: "x3"WPA_PSK gw: null Network Selection-status: NETWORK_SELECTION_ENABLED ephemeral=false choice:null link:0 status:1 nid:0 hasEverConnected: true
01-31 15:37:30.724 V/WifiNetworkHistory(3153): writeKnownNetworkHistory write config "x3"WPA_PSK
01-31 15:37:30.726 I/WifiConnectivityManager(3153): scheduleWatchdogTimer
01-31 15:37:35.224 I/wpa_supplicant(6753): wlan0: Trying to associate with 74:44:01:81:4b:42 (SSID='x3' freq=5765 MHz)
01-31 15:37:35.228 W/AlarmManager(3153): Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$3@2e504da
01-31 15:37:35.337 I/wpa_supplicant(6753): wlan0: Associated with 74:44:01:81:4b:42
01-31 15:37:35.341 I/wpa_supplicant(6753): wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
01-31 15:37:35.372 I/wpa_supplicant(6753): wlan0: WPA: Key negotiation completed with 74:44:01:81:4b:42 [PTK=CCMP GTK=TKIP]
01-31 15:37:35.379 I/wpa_supplicant(6753): wlan0: CTRL-EVENT-CONNECTED - Connection to 74:44:01:81:4b:42 completed [id=0 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22x3%5C%22WPA_PSK%22%7D]
01-31 15:37:35.394 D/ConnectivityService(3153): registerNetworkAgent NetworkAgentInfo{ ni{[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: "x3", failover: false, available: true, roaming: false, metered: false]} network{111} nethandle{476757805790} lp{{LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null MTU: 0}} nc{[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]} Score{20} everValidated{false} lastValidated{false} created{false} lingering{false} explicitlySelected{false} acceptUnvalidated{false} everCaptivePortalDetected{false} lastCaptivePortalDetected{false} }
01-31 15:37:35.395 D/ConnectivityService(3153): NetworkAgentInfo [WIFI () - 111] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING
01-31 15:37:35.404 D/WifiHAL (3153): Getting APF capabilities, halHandle = 0x68fc1480
01-31 15:37:35.404 I/WifiHAL (3153):
01-31 15:37:35.404 I/WifiHAL (3153): createRequest: APF get capabilities request
01-31 15:37:35.405 I/WifiHAL (3153): Request Response failed for APF, result = -95
01-31 15:37:35.407 D/WifiStateMachine(3153): Start Dhcp Watchdog 8
01-31 15:37:35.427 D/WifiNative-wlan0(3153): configureNeighborDiscoveryOffload(true)
01-31 15:37:35.427 D/WifiNative-wlan0(3153): configureNeighborDiscoveryOffload(true) returned: -95
01-31 15:37:35.452 D/DhcpClient(3153): Receive thread started
01-31 15:37:35.539 D/DhcpClient(3153): Broadcasting DHCPDISCOVER
01-31 15:37:35.543 D/DhcpClient(3153): Received packet: 90:18:7c:e0:3c:5e OFFER, ip /192.168.100.84, mask /255.255.255.0, DNS servers: /192.168.100.1 , gateways [/192.168.100.1] lease time 43200, domain lan
01-31 15:37:35.544 D/DhcpClient(3153): Got pending lease: IP address 192.168.100.84/24 Gateway 192.168.100.1 DNS servers: [ 192.168.100.1 ] Domains lan DHCP server /192.168.100.1 Vendor info null lease 43200 seconds
01-31 15:37:35.546 D/DhcpClient(3153): Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=192.168.100.84 serverid=192.168.100.1
01-31 15:37:35.549 D/DhcpClient(3153): Received packet: 90:18:7c:e0:3c:5e ACK: your new IP /192.168.100.84, netmask /255.255.255.0, gateways [/192.168.100.1] DNS servers: /192.168.100.1 , lease time 43200
01-31 15:37:35.550 D/DhcpClient(3153): Confirmed lease: IP address 192.168.100.84/24 Gateway 192.168.100.1 DNS servers: [ 192.168.100.1 ] Domains lan DHCP server /192.168.100.1 Vendor info null lease 43200 seconds
01-31 15:37:35.556 D/CommandListener(2185): Setting iface cfg
01-31 15:37:35.560 D/lights (3153): set_light_buttons: 2
01-31 15:37:35.565 D/DhcpClient(3153): Scheduling renewal in 21599s
01-31 15:37:35.565 D/DhcpClient(3153): Scheduling rebind in 37799s
01-31 15:37:35.565 D/DhcpClient(3153): Scheduling expiry in 43199s
01-31 15:37:35.566 D/WifiStateMachine(3153): WifiStateMachine: handleSuccessfulIpConfiguration and no scan results"x3"WPA_PSK
01-31 15:37:35.567 D/ConnectivityService(3153): NetworkAgentInfo [WIFI () - 111] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED

Turned Wifi Off in Setting at 15:35

Turned Wifi On in Settings at 15:37:18

Failed to connect.

Clicked X3 (wifi network) 'cancel' to cancel connection attempt at 15:37:30

Clicked X3 (wifi network) 'connect' to reattempt connection at 15:37:30

Connected at 15:37:35