[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] realmenvvs:
Luk ,Again sometimes wifi reconected and not deepsleep, if wifi turn off and turn on, all normal

Freezing user space processes ... (elapsed 0.029 seconds) done.

[15674.484347] Freezing remaining freezable tasks ... (elapsed 0.013 seconds) done.

[15674.497574] Suspending console(s) (use no_console_suspend to debug)

[15674.513849] synaptics_dsi_force 12-0020: Enable touch irq wake

[15675.100903] __hif_pci_suspend: tx frames are pending

[15675.104312] TXRX: Total tx credits 2080 free_credits 2079

[15675.104315] pci_pm_suspend(): cnss_wlan_pci_suspend+0x0/0x8c returns -16

[15675.104348] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16

[15675.104372] PM: Device 0000:01:00.0 failed to suspend: error -16

[15675.104395] PM: Some devices failed to suspend, or early wake event detected

[15675.106049] synaptics_dsi_force 12-0020: Disable touch irq wake

[15675.111124] R0: [system_server][18:42:43.019459] wlan: [1069:E :HDD] __wlan_hdd_cfg80211_resume_wlan: 29974: Driver not suspended

[15675.111191] PM: resume of devices complete after 6.768 msecs

[15675.117900] Restarting tasks ... done.

[15675.143434] Abort: Some devices failed to suspend, or early wake event detected

[15675.143509] PM: suspend exit 2018-03-26 13:42:43.051853020 UTC

[15687.137852] FG: soc_work_fn: adjust_soc: s 76 r 142333 i 24261 v 4064154 t 277

[15707.190678] FG: soc_work_fn: adjust_soc: s 76 r 142333 i 24261 v 4064154 t 277

[15727.242427] FG: soc_work_fn: adjust_soc: s 76 r 144042 i 107421 v 4047675 t 277

[15735.145983] PM: suspend entry 2018-03-26 13:43:43.054311705 UTC

[15735.146027] PM: Syncing filesystems ... done.

[15735.162650] Freezing user space processes ... (elapsed 0.029 seconds) done.

[15735.191874] Freezing remaining freezable tasks ... (elapsed 0.014 seconds) done.

[15735.206184] Suspending console(s) (use no_console_suspend to debug)

[15735.221027] synaptics_dsi_force 12-0020: Enable touch irq wake

[15735.805869] __hif_pci_suspend: tx frames are pending

[15735.808324] TXRX: Total tx credits 2080 free_credits 2079

[15735.808326] pci_pm_suspend(): cnss_wlan_pci_suspend+0x0/0x8c returns -16

[15735.808359] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16

[15735.808383] PM: Device 0000:01:00.0 failed to suspend: error -16

[15735.808407] PM: Some devices failed to suspend, or early wake event detected

[15735.809793] synaptics_dsi_force 12-0020: Disable touch irq wake

[15735.812477] R0: [system_server][18:43:43.720823] wlan: [1069:E :HDD] __wlan_hdd_cfg80211_resume_wlan: 29974: Driver not suspended

[15735.812540] PM: resume of devices complete after 4.107 msecs

[15735.820278] Restarting tasks ... done.

[15735.851975] Abort: Some devices failed to suspend, or early wake event detected

[15735.852294] PM: suspend exit 2018-03-26 13:43:43.760630682 UTC

[15747.297510] FG: soc_work_fn: adjust_soc: s 76 r 144042 i 98266 v 4046454 t 277

[15767.350845] FG: soc_work_fn: adjust_soc: s 76 r 144042 i 98266 v 4046454 t 277

[15787.404161] FG: soc_work_fn: adjust_soc: s 76 r 144042 i 97960 v 4046454 t 280

[15795.853491] PM: suspend entry 2018-03-26 13:44:43.761824211 UTC

[15795.853537] PM: Syncing filesystems ... done.

[15795.891401] Freezing user space processes ... (elapsed 0.028 seconds) done.

[15795.919804] Freezing remaining freezable tasks ... (elapsed 0.013 seconds) done.

[15795.932911] Suspending console(s) (use no_console_suspend to debug)

[15795.948373] synaptics_dsi_force 12-0020: Enable touch irq wake

[15796.537551] __hif_pci_suspend: tx frames are pending

[15796.540138] TXRX: Total tx credits 2080 free_credits 2079

[15796.540140] pci_pm_suspend(): cnss_wlan_pci_suspend+0x0/0x8c returns -16

[15796.540173] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16

[15796.540196] PM: Device 0000:01:00.0 failed to suspend: error -16

[15796.540220] PM: Some devices failed to suspend, or early wake event detected