Hi JH, On Tue, Feb 04, 2020 at 04:00:54PM +1100, JH wrote: > [23703.958751] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : > Invalid Sched_scan parameters > > Where is the WiFi driver? Please let me know if you need more debug information. linux/drivers/net/wireless/marvell/mwifiex > > I am running kernel 4.19.75 on iMX6, the WiFi was working most of > > time, but from time to time, the connman could not get WiFi be > > connected due to following error: > > > > [23703.958751] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : > > Invalid Sched_scan parameters > > > > What does that error means, in which circumstance it occurred? How can > > we prevent it? The 'Invalid Sched_scan parameters' indicates, wpa_supplicant is providing the wrong parameters. Best thing is to monitor between wpa_supplicant and kernel the netlink messages. iwmon is an excellent tool for this. Thanks, Daniel