[Galaxy S 4 Mini Original Android Development] redjamesg:
I have the same WIFI bug, after some time WIFI won't connect.

This happens on 2.4GHz and 2.4/5GHz routers, clean flash, as clean as they get (format system, format data, format cache, format dalwic, format sdcard, adb push cm12-28, flash, reboot system, reboot to recovery, adb push gapps, flash, reboot system, restore apps from gapps profile.)

This has been persistent since 21/1

I have made a log of what is happening on a 2.4GHz AP.

setHardwareParams: buffer_size 2048, period_size 1024, period_cnt 2
02-01 01:07:12.188 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:13.189 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:14.189 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:14.353 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED*
02-01 01:07:14.362 579 911 I WifiHAL : Poll result = 1
02-01 01:07:14.362 579 911 I WifiHAL : Found some events!!!
02-01 01:07:14.362 579 911 D WifiHAL : no_seq_check received
02-01 01:07:14.363 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN
02-01 01:07:14.363 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
02-01 01:07:14.363 579 911 I WifiHAL : event ignored!!
02-01 01:07:15.188 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:15.316 227 667 D ALSADevice: standby: handle 0xb8fc5288 h 0x0
02-01 01:07:15.371 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _verb value Inactive
02-01 01:07:15.371 227 667 D alsa_ucm: Set mixer controls for HiFi Lowlatency enable 0
02-01 01:07:15.371 227 667 D alsa_ucm: Setting mixer control: PRI_RX Audio Mixer MultiMedia5, value: 0
02-01 01:07:15.378 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value BT SCO Tx
02-01 01:07:15.378 227 667 D alsa_ucm: disdev: device BT SCO Tx not enabled, no need to disable
02-01 01:07:15.378 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value Speaker
02-01 01:07:15.378 227 667 D alsa_ucm: Set mixer controls for Speaker enable 0
02-01 01:07:15.378 227 667 D alsa_ucm: Setting mixer control: RX4 MIX1 INP1, value: ZERO
02-01 01:07:15.381 227 667 D alsa_ucm: Setting mixer control: SLIM RX1 MUX, value: ZERO
02-01 01:07:15.383 227 667 D alsa_ucm: Setting mixer control: SPK DAC Switch, value: 0
02-01 01:07:15.386 227 667 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 0
02-01 01:07:15.387 227 667 D alsa_ucm: Setting mixer control: SPK DRV Volume, value: 0
02-01 01:07:15.388 227 667 D AudioUsbALSA: exitPlaybackThread, mproxypfdPlayback: -1
02-01 01:07:15.388 227 667 D AudioUsbALSA: closeDevice handle 0x0
02-01 01:07:15.388 227 667 D AudioUsbALSA: closeDevice handle 0x0
02-01 01:07:15.850 579 911 I WifiHAL : Poll result = 1
02-01 01:07:15.850 579 911 I WifiHAL : Found some events!!!
02-01 01:07:15.850 579 911 D WifiHAL : no_seq_check received
02-01 01:07:15.850 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS
02-01 01:07:15.850 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
02-01 01:07:15.850 579 911 I WifiHAL : event ignored!!
02-01 01:07:15.871 579 676 E WifiStateMachine: WifiStateMachine shouldSwitchNetwork txSuccessRate=0,00 rxSuccessRate=0,00 delta 1000 -> 1000
02-01 01:07:15.886 579 676 E WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=3
02-01 01:07:15.891 579 676 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Yggdrasil"WPA_PSK to any
02-01 01:07:15.897 579 676 E WifiStateMachine: CMD_AUTO_CONNECT will save config -> "Yggdrasil" nid=0
02-01 01:07:15.941 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:15.951 579 676 E WifiStateMachine: CMD_AUTO_CONNECT did save config -> nid=0
02-01 01:07:15.955 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:15.965 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Yggdrasil"
02-01 01:07:15.970 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED*
02-01 01:07:15.972 579 911 I WifiHAL : Poll result = 1
02-01 01:07:15.972 579 911 I WifiHAL : Found some events!!!
02-01 01:07:15.973 579 911 D WifiHAL : no_seq_check received
02-01 01:07:15.973 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN
02-01 01:07:15.973 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
02-01 01:07:15.973 579 911 I WifiHAL : event ignored!!
02-01 01:07:15.977 579 676 E WifiConfigStore: setLastSelectedConfiguration -1
02-01 01:07:15.991 579 676 E WifiStateMachine: ConnectModeState SSID state=re-enabled nid=0 [id=0 ssid="Yggdrasil"]
02-01 01:07:15.991 579 676 E WifiConfigStore: SSID re-enabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:16.189 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:17.190 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:17.508 579 911 I WifiHAL : Poll result = 1
02-01 01:07:17.508 579 911 I WifiHAL : Found some events!!!
02-01 01:07:17.508 579 911 D WifiHAL : no_seq_check received
02-01 01:07:17.508 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS
02-01 01:07:17.509 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
02-01 01:07:17.509 579 911 I WifiHAL : event ignored!!
02-01 01:07:17.521 26729 26729 I wpa_supplicant: wlan0: Trying to associate with SSID 'Yggdrasil'
02-01 01:07:17.544 579 676 E WifiStateMachine: Error! unhandled message{ when=-18ms what=131220 arg1=7994 obj=Yggdrasil target=com.android.internal.util.StateMachine$SmHandler }
02-01 01:07:18.201 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:18.669 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:18:f8:e5:f1:4c status_code=1
02-01 01:07:18.669 579 911 I WifiHAL : Poll result = 1
02-01 01:07:18.669 579 911 I WifiHAL : Found some events!!!
02-01 01:07:18.669 579 911 D WifiHAL : no_seq_check received
02-01 01:07:18.669 579 911 I WifiHAL : event received NL80211_CMD_CONNECT
02-01 01:07:18.669 579 911 I WifiHAL : event received NL80211_CMD_CONNECT, vendor_id = 0x0
02-01 01:07:18.669 579 911 I WifiHAL : event ignored!!
02-01 01:07:18.671 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:18.677 579 676 E WifiStateMachine: ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED]
02-01 01:07:18.677 579 676 E WifiConfigStore: SSID temp disabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:18.677 579 676 E WifiConfigStore: message=id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:19.202 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:20.212 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:21.211 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:22.210 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:23.210 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:24.211 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:25.211 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:26.206 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED*
02-01 01:07:26.216 579 911 I WifiHAL : Poll result = 1
02-01 01:07:26.216 579 911 I WifiHAL : Found some events!!!
02-01 01:07:26.216 579 911 D WifiHAL : no_seq_check received
02-01 01:07:26.216 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN
02-01 01:07:26.216 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
02-01 01:07:26.216 579 911 I WifiHAL : event ignored!!
02-01 01:07:26.229 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:27.220 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:27.789 579 911 I WifiHAL : Poll result = 1
02-01 01:07:27.789 579 911 I WifiHAL : Found some events!!!
02-01 01:07:27.789 579 911 D WifiHAL : no_seq_check received
02-01 01:07:27.789 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS
02-01 01:07:27.789 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
02-01 01:07:27.790 579 911 I WifiHAL : event ignored!!
02-01 01:07:27.812 579 676 E WifiStateMachine: WifiStateMachine shouldSwitchNetwork txSuccessRate=0,00 rxSuccessRate=0,00 delta 1000 -> 1000
02-01 01:07:27.826 579 676 E WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=3
02-01 01:07:27.826 579 676 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Yggdrasil"WPA_PSK to any
02-01 01:07:27.832 579 676 E WifiStateMachine: CMD_AUTO_CONNECT will save config -> "Yggdrasil" nid=0
02-01 01:07:27.879 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:27.889 579 676 E WifiStateMachine: CMD_AUTO_CONNECT did save config -> nid=0
02-01 01:07:27.893 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:27.902 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Yggdrasil"
02-01 01:07:27.903 26729 26729 I wpa_supplicant: wlan0: Trying to associate with SSID 'Yggdrasil'
02-01 01:07:27.909 579 676 E WifiConfigStore: setLastSelectedConfiguration -1
02-01 01:07:27.922 579 676 E WifiStateMachine: ConnectModeState SSID state=re-enabled nid=0 [id=0 ssid="Yggdrasil"]
02-01 01:07:27.922 579 676 E WifiConfigStore: SSID re-enabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:27.923 579 676 E WifiStateMachine: Error! unhandled message{ when=-15ms what=131220 arg1=8006 obj=Yggdrasil target=com.android.internal.util.StateMachine$SmHandler }
02-01 01:07:28.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:29.018 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:18:f8:e5:f1:4c status_code=1
02-01 01:07:29.018 579 911 I WifiHAL : Poll result = 1
02-01 01:07:29.018 579 911 I WifiHAL : Found some events!!!
02-01 01:07:29.018 579 911 D WifiHAL : no_seq_check received
02-01 01:07:29.018 579 911 I WifiHAL : event received NL80211_CMD_CONNECT
02-01 01:07:29.018 579 911 I WifiHAL : event received NL80211_CMD_CONNECT, vendor_id = 0x0
02-01 01:07:29.018 579 911 I WifiHAL : event ignored!!
02-01 01:07:29.022 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:29.033 579 676 E WifiStateMachine: ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED]
02-01 01:07:29.033 579 676 E WifiConfigStore: SSID temp disabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:29.034 579 676 E WifiConfigStore: message=id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:29.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:30.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:31.229 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:32.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:33.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:34.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:35.231 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:36.230 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:37.102 579 683 E AudioTrack: AudioTrack::set : Exit
02-01 01:07:37.108 1274 1274 I Timeline: Timeline: Activity_launch_request id:com.android.vending time:62135541
02-01 01:07:37.114 579 1002 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.vending/.AssetBrowserActivity bnds=[270,480][270,480]} from uid 10047 on display 0
02-01 01:07:37.114 227 666 D ALSADevice: route: devices 0x2 in mode 0
02-01 01:07:37.114 227 666 D ALSADevice: No valid input device: 0
02-01 01:07:37.114 227 666 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _enadev value Speaker
02-01 01:07:37.114 227 666 D ALSADevice: switchDevice: mCurTxUCMDevivce BT SCO Tx mCurRxDevDevice Speaker
02-01 01:07:37.114 227 666 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _verb value HiFi Lowlatency
02-01 01:07:37.114 227 666 D alsa_ucm: Set mixer controls for Speaker enable 1
02-01 01:07:37.114 227 666 D alsa_ucm: acdb_id 15 cap 1 enable 1
02-01 01:07:37.114 227 666 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0
02-01 01:07:37.114 227 666 D ACDB-LOADER: ACDB -> send_adm_topology
02-01 01:07:37.114 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> send_audtable
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> send_audvoltable
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
02-01 01:07:37.115 227 666 E ACDB-LOADER: Error: ACDB AudProc vol returned = -8
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> send_afe_cal
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
02-01 01:07:37.115 227 666 E ACDB-LOADER: Error: ACDB AFE returned = -8
02-01 01:07:37.115 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
02-01 01:07:37.115 227 666 D alsa_ucm: Setting mixer control: PRI_RX Channels, value: One
02-01 01:07:37.115 227 666 D alsa_ucm: Setting mixer control: RX4 MIX1 INP1, value: RX1
02-01 01:07:37.118 227 666 D alsa_ucm: Setting mixer control: SLIM RX1 MUX, value: AIF1_PB
02-01 01:07:37.119 227 666 D alsa_ucm: Setting mixer control: SPK DAC Switch, value: 1
02-01 01:07:37.120 227 666 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 68
02-01 01:07:37.121 227 666 D alsa_ucm: Setting multi value: SPK DRV Volume
02-01 01:07:37.122 227 666 D alsa_ucm: Set mixer controls for HiFi Lowlatency enable 1
02-01 01:07:37.122 227 666 D alsa_ucm: Setting mixer control: PRI_RX Audio Mixer MultiMedia5, value: 1
02-01 01:07:37.125 227 666 D ALSADevice: close: handle 0xb8fc5288 h 0x0
02-01 01:07:37.125 227 666 D ALSADevice: open: handle 0xb8fc5288, format 0x2
02-01 01:07:37.125 227 666 D ALSADevice: Device value returned is hw:0,14
02-01 01:07:37.133 227 666 D ALSADevice: handle->format: 0x2
02-01 01:07:37.133 227 666 D ALSADevice: setHardwareParams: reqBuffSize 1024 channels 2 sampleRate 48000
02-01 01:07:37.136 227 666 D ALSADevice: setHardwareParams: buffer_size 2048, period_size 1024, period_cnt 2
02-01 01:07:37.214 26757 26757 D Finsky : [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [101019 ms] (hasDetailsDataLoaded? false)
02-01 01:07:37.237 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:37.309 26757 26757 D Finsky : [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping DFE self-update. Local Version [80310011] >= Server Version [-1]
02-01 01:07:37.366 26757 26757 D Finsky : [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [101172 ms] (hasDetailsDataLoaded? true)
02-01 01:07:37.551 26757 26757 I Timeline: Timeline: Activity_idle id: android.os.BinderProxy@16b33517 time:62135984
02-01 01:07:37.594 579 604 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{315015a4 u0 com.android.vending/.AssetBrowserActivity t1889} time:62136027
02-01 01:07:38.132 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SCAN-STARTED*
02-01 01:07:38.137 579 911 I WifiHAL : Poll result = 1
02-01 01:07:38.138 579 911 I WifiHAL : Found some events!!!
02-01 01:07:38.138 579 911 D WifiHAL : no_seq_check received
02-01 01:07:38.138 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN
02-01 01:07:38.138 579 911 I WifiHAL : event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
02-01 01:07:38.138 579 911 I WifiHAL : event ignored!!
02-01 01:07:38.228 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:39.229 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:39.585 579 911 I WifiHAL : Poll result = 1
02-01 01:07:39.585 579 911 I WifiHAL : Found some events!!!
02-01 01:07:39.585 579 911 D WifiHAL : no_seq_check received
02-01 01:07:39.585 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS
02-01 01:07:39.585 579 911 I WifiHAL : event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
02-01 01:07:39.585 579 911 I WifiHAL : event ignored!!
02-01 01:07:39.593 579 676 E WifiStateMachine: WifiStateMachine shouldSwitchNetwork txSuccessRate=0,00 rxSuccessRate=0,00 delta 1000 -> 1000
02-01 01:07:39.597 579 676 E WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=3
02-01 01:07:39.597 579 676 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Yggdrasil"WPA_PSK to any
02-01 01:07:39.606 579 676 E WifiStateMachine: CMD_AUTO_CONNECT will save config -> "Yggdrasil" nid=0
02-01 01:07:39.650 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:39.660 579 676 E WifiStateMachine: CMD_AUTO_CONNECT did save config -> nid=0
02-01 01:07:39.664 579 676 E WifiConfigStore: will read network variables netId=0
02-01 01:07:39.673 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="Yggdrasil"
02-01 01:07:39.678 26729 26729 I wpa_supplicant: wlan0: Trying to associate with SSID 'Yggdrasil'
02-01 01:07:39.682 579 676 E WifiConfigStore: setLastSelectedConfiguration -1
02-01 01:07:39.693 579 676 E WifiStateMachine: ConnectModeState SSID state=re-enabled nid=0 [id=0 ssid="Yggdrasil"]
02-01 01:07:39.693 579 676 E WifiConfigStore: SSID re-enabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:39.694 579 676 E WifiStateMachine: Error! unhandled message{ when=-16ms what=131220 arg1=8016 obj=Yggdrasil target=com.android.internal.util.StateMachine$SmHandler }
02-01 01:07:40.228 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:40.326 227 667 D ALSADevice: standby: handle 0xb8fc5288 h 0x0
02-01 01:07:40.381 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _verb value Inactive
02-01 01:07:40.381 227 667 D alsa_ucm: Set mixer controls for HiFi Lowlatency enable 0
02-01 01:07:40.381 227 667 D alsa_ucm: Setting mixer control: PRI_RX Audio Mixer MultiMedia5, value: 0
02-01 01:07:40.389 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value BT SCO Tx
02-01 01:07:40.389 227 667 D alsa_ucm: disdev: device BT SCO Tx not enabled, no need to disable
02-01 01:07:40.389 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value Speaker
02-01 01:07:40.389 227 667 D alsa_ucm: Set mixer controls for Speaker enable 0
02-01 01:07:40.389 227 667 D alsa_ucm: Setting mixer control: RX4 MIX1 INP1, value: ZERO
02-01 01:07:40.393 227 667 D alsa_ucm: Setting mixer control: SLIM RX1 MUX, value: ZERO
02-01 01:07:40.395 227 667 D alsa_ucm: Setting mixer control: SPK DAC Switch, value: 0
02-01 01:07:40.398 227 667 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 0
02-01 01:07:40.399 227 667 D alsa_ucm: Setting mixer control: SPK DRV Volume, value: 0
02-01 01:07:40.400 227 667 D AudioUsbALSA: exitPlaybackThread, mproxypfdPlayback: -1
02-01 01:07:40.400 227 667 D AudioUsbALSA: closeDevice handle 0x0
02-01 01:07:40.400 227 667 D AudioUsbALSA: closeDevice handle 0x0
02-01 01:07:40.788 579 911 I WifiHAL : Poll result = 1
02-01 01:07:40.788 579 911 I WifiHAL : Found some events!!!
02-01 01:07:40.788 579 911 D WifiHAL : no_seq_check received
02-01 01:07:40.788 579 911 I WifiHAL : event received NL80211_CMD_CONNECT
02-01 01:07:40.789 579 911 I WifiHAL : event received NL80211_CMD_CONNECT, vendor_id = 0x0
02-01 01:07:40.789 579 911 I WifiHAL : event ignored!!
02-01 01:07:40.789 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:18:f8:e5:f1:4c status_code=1
02-01 01:07:40.792 26729 26729 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:40.794 579 676 E WifiStateMachine: ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED]
02-01 01:07:40.794 579 676 E WifiConfigStore: SSID temp disabled for "Yggdrasil"WPA_PSK had autoJoinStatus=0 self added false ephemeral false
02-01 01:07:40.795 579 676 E WifiConfigStore: message=id=0 ssid="Yggdrasil" auth_failures=1 duration=10 reason=CONN_FAILED
02-01 01:07:40.800 579 676 E WifiConfigStore: Connection failure, blacklist "Yggdrasil"WPA_PSK 0 num failures 5
02-01 01:07:41.228 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:41.274 579 683 E AudioTrack: AudioTrack::set : Exit
02-01 01:07:41.283 227 666 D ALSADevice: route: devices 0x2 in mode 0
02-01 01:07:41.283 227 666 D ALSADevice: No valid input device: 0
02-01 01:07:41.283 227 666 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _enadev value Speaker
02-01 01:07:41.283 227 666 D ALSADevice: switchDevice: mCurTxUCMDevivce BT SCO Tx mCurRxDevDevice Speaker
02-01 01:07:41.283 227 666 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _verb value HiFi Lowlatency
02-01 01:07:41.283 227 666 D alsa_ucm: Set mixer controls for Speaker enable 1
02-01 01:07:41.283 227 666 D alsa_ucm: acdb_id 15 cap 1 enable 1
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> send_adm_topology
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> send_audtable
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
02-01 01:07:41.283 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> send_audvoltable
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
02-01 01:07:41.284 227 666 E ACDB-LOADER: Error: ACDB AudProc vol returned = -8
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> send_afe_cal
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
02-01 01:07:41.284 227 666 E ACDB-LOADER: Error: ACDB AFE returned = -8
02-01 01:07:41.284 227 666 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
02-01 01:07:41.284 227 666 D alsa_ucm: Setting mixer control: PRI_RX Channels, value: One
02-01 01:07:41.284 227 666 D alsa_ucm: Setting mixer control: RX4 MIX1 INP1, value: RX1
02-01 01:07:41.287 227 666 D alsa_ucm: Setting mixer control: SLIM RX1 MUX, value: AIF1_PB
02-01 01:07:41.288 227 666 D alsa_ucm: Setting mixer control: SPK DAC Switch, value: 1
02-01 01:07:41.289 227 666 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 68
02-01 01:07:41.290 227 666 D alsa_ucm: Setting multi value: SPK DRV Volume
02-01 01:07:41.291 227 666 D alsa_ucm: Set mixer controls for HiFi Lowlatency enable 1
02-01 01:07:41.291 227 666 D alsa_ucm: Setting mixer control: PRI_RX Audio Mixer MultiMedia5, value: 1
02-01 01:07:41.292 227 666 D ALSADevice: close: handle 0xb8fc5288 h 0x0
02-01 01:07:41.292 227 666 D ALSADevice: open: handle 0xb8fc5288, format 0x2
02-01 01:07:41.292 227 666 D ALSADevice: Device value returned is hw:0,14
02-01 01:07:41.297 227 666 D ALSADevice: handle->format: 0x2
02-01 01:07:41.297 227 666 D ALSADevice: setHardwareParams: reqBuffSize 1024 channels 2 sampleRate 48000
02-01 01:07:41.300 227 666 D ALSADevice: setHardwareParams: buffer_size 2048, period_size 1024, period_cnt 2
02-01 01:07:42.139 579 599 W ProcessCpuTracker: Skipping unknown process pid 27718
02-01 01:07:42.140 579 599 W ProcessCpuTracker: Skipping unknown process pid 27721
02-01 01:07:42.141 579 599 W ProcessCpuTracker: Skipping unknown process pid 27722
02-01 01:07:42.229 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:43.228 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:44.229 579 596 D Sensors : LightSensor readEvents x = 0.000000, raw = 0
02-01 01:07:44.475 227 667 D ALSADevice: standby: handle 0xb8fc5288 h 0x0
02-01 01:07:44.552 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _verb value Inactive
02-01 01:07:44.552 227 667 D alsa_ucm: Set mixer controls for HiFi Lowlatency enable 0
02-01 01:07:44.552 227 667 D alsa_ucm: Setting mixer control: PRI_RX Audio Mixer MultiMedia5, value: 0
02-01 01:07:44.563 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value BT SCO Tx
02-01 01:07:44.563 227 667 D alsa_ucm: disdev: device BT SCO Tx not enabled, no need to disable
02-01 01:07:44.563 227 667 D alsa_ucm: snd_use_case_set(): uc_mgr 0xb8fa3d30 identifier _disdev value Speaker
02-01 01:07:44.564 227 667 D alsa_ucm: Set mixer controls for Speaker enable 0
02-01 01:07:44.564 227 667 D alsa_ucm: Setting mixer control: RX4 MIX1 INP1, value: ZERO
02-01 01:07:44.568 227 667 D alsa_ucm: Setting mixer control: SLIM RX1 MUX, value: ZERO
02-01 01:07:44.570 227 667 D alsa_ucm: Setting mixer control: SPK DAC Switch, value: 0
02-01 01:07:44.573 227 667 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 0
02-01 01:07:44.574 227 667 D alsa_ucm: Setting mixer control: SPK DRV Volume, value: 0
02-01 01:07:44.575 227 667 D AudioUsbALSA: exitPlaybackThread, mproxypfdPlayback: -1
02-01 01:07:44.575 227 667 D AudioUsbALSA: closeDevice handle 0x0
02-01 01:07:44.575 227 667 D AudioUsbALSA: closeDevice handle 0x0

I do hope some one can weed out the cause of this, since it's beginning to be quite annoying.

/edit

I'm on CM-12 28/1 using TWRP 2.8.1.0