<div dir="ltr"><div>Hello,</div><div><br></div><div>I use wpa_supplicant with NetworkManager on linux to connect to wifi. A few months ago after a platform update (I&#39;m not sure exactly what was updated, whether it included wpa_supplicant and/or other things), wifi stopped working after pm-suspend/resume.</div><div><br></div><div>I found a workaround is to kill and restart wpa_supplicant after resume, so I left it with that workaround until now, but am now trying to find what actually broke.</div><div><br></div><div>So I am wondering: should wpa_supplicant work after pm-suspend/resume, or is it normal that it needs to be restarted? Because I was using it with NetworkManager, I don&#39;t know, maybe NetworkManager was restarting it before, and isn&#39;t now and that&#39;s what broke.</div><div><br></div><div>I can reproduce the issue without NetworkManager, with wpa_cli (though I don&#39;t know for sure that this would have worked in the past), and from the logs I capture there, it seems like it&#39;s at least trying to work, but maybe the kernel isn&#39;t letting it - I see this in syslog on resume:</div><div><br></div><div>Dec 16 11:40:21 beta kernel: [19624.201689] wlan0: authenticate with 00:24:01:6f:15:3f</div><div>Dec 16 11:40:21 beta kernel: [19624.217532] wlan0: send auth to 00:24:01:6f:15:3f (try 1/3)</div><div>Dec 16 11:40:21 beta kernel: [19624.219438] wlan0: authenticated</div><div>Dec 16 11:40:26 beta kernel: [19629.223804] wlan0: deauthenticating from 00:24:01:6f:15:3f by local choice (reason=3)</div><div><br></div><div>and this in wpa_supplicant&#39;s log on resume:</div><div><div>wlan0: SME: Trying to authenticate with 00:24:01:6f:15:3f (SSID=&#39;oakmore&#39; freq=2437 MHz)<br></div><div>CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_9783-21\x00</div><div>wlan0: State: SCANNING -&gt; AUTHENTICATING</div><div>EAPOL: External notification - EAP success=0</div><div>EAPOL: External notification - EAP fail=0</div><div>EAPOL: External notification - portControl=Auto</div><div>wlan0: Determining shared radio frequencies (max len 1)</div><div>wlan0: Shared frequencies (len=0): completed iteration</div><div>nl80211: Authenticate (ifindex=14)</div><div>  * bssid=00:24:01:6f:15:3f</div><div>  * freq=2437</div><div>  * SSID - hexdump_ascii(len=7):</div><div>     6f 61 6b 6d 6f 72 65                              oakmore</div><div>  * IEs - hexdump(len=0): [NULL]</div><div>  * Auth Type 0</div><div>nl80211: Authentication request send successfully</div><div>wlan0: SME: Authentication timeout</div><div>wpa_driver_nl80211_deauthenticate(addr=00:24:01:6f:15:3f reason_code=3)</div></div><div><br></div><div>which seems to me like wpa_supplicant is trying to connect and linux is not allowing it? But if something is wrong in the kernel, then I&#39;m not sure why restarting wpa_supplicant would fix it.</div><div><br></div><div>I&#39;d rather not look into the kernel if I don&#39;t have to, but based on these logs, would that be the next place to look?</div><div><br></div><div>Thanks,</div><div>Aaron</div></div>