[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] fawzy ahmed:
hi my wifi disconnects after the phone going to sleep I face this problem with all pie rom here is apart from the log

can anyone help me??

02-03 14:59:28.183 I/wpa_supplicant(1810): wlan0: CTRL-EVENT-DISCONNECTED bssid="my router mac address" reason=3 locally_generated=1
02-03 14:59:28.578 W/system_server(1272): Long monitor contention with owner WifiStateMachine (1681) at boolean com.android.server.wifi.SupplicantStaIfaceHal.teardownIface(java.lang.String)(SupplicantStaIfaceHal.java:404) waiters=0 in void com.android.server.wifi.SupplicantStaIfaceHal$SupplicantStaIfaceHalCallback.onDisconnected(byte[], boolean, int) for 375ms
02-03 14:59:28.935 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 100] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
02-03 14:59:28.935 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 100] got DISCONNECTED, was satisfying 16
02-03 14:59:28.982 D/ConnectivityService(1272): Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 100] isDefaultNetwork=true
02-03 14:59:31.230 D/wpa_supplicant(10841): wlan0: State: DISCONNECTED -> INACTIVE
02-03 14:59:31.311 D/wpa_supplicant(10841): EAPOL: SUPP_PAE entering state DISCONNECTED
02-03 14:59:31.312 D/wpa_supplicant(10841): wlan0: State: INACTIVE -> DISCONNECTED
02-03 14:59:31.648 I/WifiStateMachine(1272): disconnectedstate enter
02-03 14:59:32.392 D/WifiStateMachine(1272): CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid=0 roam=false
02-03 15:00:27.444 I/wpa_supplicant(10841): wlan0: CTRL-EVENT-DISCONNECTED bssid="my router mac address" reason=3 locally_generated=1
02-03 15:00:27.661 W/system_server(1272): Long monitor contention with owner WifiStateMachine (1681) at boolean com.android.server.wifi.SupplicantStaIfaceHal.teardownIface(java.lang.String)(SupplicantStaIfaceHal.java:404) waiters=0 in void com.android.server.wifi.SupplicantStaIfaceHal$SupplicantStaIfaceHalCallback.onDisconnected(byte[], boolean, int) for 217ms
02-03 15:00:27.984 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 101] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
02-03 15:00:27.984 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 101] got DISCONNECTED, was satisfying 16
02-03 15:00:28.032 D/ConnectivityService(1272): Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 101] isDefaultNetwork=true
02-03 15:00:31.041 D/wpa_supplicant(11279): wlan0: State: DISCONNECTED -> INACTIVE
02-03 15:00:31.120 D/wpa_supplicant(11279): EAPOL: SUPP_PAE entering state DISCONNECTED
02-03 15:00:31.121 D/wpa_supplicant(11279): wlan0: State: INACTIVE -> DISCONNECTED
02-03 15:00:31.152 I/WifiStateMachine(1272): disconnectedstate enter
02-03 15:00:31.860 D/WifiStateMachine(1272): CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid=0 roam=false
02-03 15:00:58.452 I/vendor.rmt_storage(571): rmt_storage_disconnect_cb: clnt_h=0xf conn_h=0x737482c020
02-03 15:01:25.544 I/wpa_supplicant(11279): wlan0: CTRL-EVENT-DISCONNECTED bssid=b0:ac:d2:40:67:30 reason=3 locally_generated=1
02-03 15:01:26.085 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 102] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
02-03 15:01:26.085 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 102] got DISCONNECTED, was satisfying 16
02-03 15:01:26.121 D/ConnectivityService(1272): Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 102] isDefaultNetwork=true
02-03 15:01:29.550 D/wpa_supplicant(11629): wlan0: State: DISCONNECTED -> INACTIVE
02-03 15:01:29.630 D/wpa_supplicant(11629): EAPOL: SUPP_PAE entering state DISCONNECTED
02-03 15:01:29.631 D/wpa_supplicant(11629): wlan0: State: INACTIVE -> DISCONNECTED
02-03 15:01:29.657 I/WifiStateMachine(1272): disconnectedstate enter
02-03 15:01:30.448 D/WifiStateMachine(1272): CMD_START_CONNECT sup state UninitializedState my state DisconnectedState nid=0 roam=false
02-03 15:02:32.138 I/vendor.rmt_storage(571): rmt_storage_disconnect_cb: clnt_h=0x10 conn_h=0x737482c020
02-03 15:06:10.036 I/vendor.rmt_storage(571): rmt_storage_disconnect_cb: clnt_h=0x11 conn_h=0x737482c020
02-03 15:07:18.504 I/wpa_supplicant(11629): wlan0: CTRL-EVENT-DISCONNECTED bssid="my router mac address" reason=14
02-03 15:07:18.581 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 103] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
02-03 15:07:18.581 D/ConnectivityService(1272): NetworkAgentInfo [WIFI () - 103] got DISCONNECTED, was satisfying 16
02-03 15:07:18.584 I/WifiStateMachine(1272): disconnectedstate enter
02-03 15:07:18.617 D/ConnectivityService(1272): Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 103] isDefaultNetwork=true
02-03 15:10:46.027 D/WifiStateMachine(1272): CMD_START_CONNECT sup state DisconnectedState my state DisconnectedState nid=0 roam=false
02-03 15:10:46.027 D/WifiStateMachine(1272): CMD_START_CONNECT sup state DisconnectedState my state DisconnectedState nid=0 roam=false