On my colibri imx8x module I am using the DBUS api to communicate to the connman service to control the api. I have noticed that when ever I initiate a scan for wireless networks I see a error from wpa_supplicant.
wpa_supplicant: wlp1s0: Failed to initiate sched scan
I did follow this page. I am able to connect to the wireless network via connman and everything works fine. I am just curious about the error I am seeing in the journal ? Is there something additional I need to do?
I believe this message is coming from connman and has to do with scans for new APs while connected to an AP. Recently we disabled this background scan by default but I’m not sure if that has made it to a released build yet. I am fairly certain you can just ignore this message. Are you seeing any adverse affects on your wifi connection?
I don’t have an answer but I have some comments. I looked through the code and this is where this error is handled (drivers/net/wireless/marvell/mwifiex/join.c):
The specific error code that’s being returned is not handled by the driver. This brings some questions:
Are you using one of Toradex’s standard builds? This could be caused by a mismatch between the firmware and the driver.
Does the problem “fix itself” after a while? Do you see a later attempt to connect that goes successfully? Is it automatic or do you need to trigger the connection again?
If I understood the code correctly, the error could also indicate the IEEE status code for this operation. As the code shown (0xfffa) is -6 in decimal, it could mean “Unacceptable lifetime” according to this.
Unfortunately, I also don´t know what “Unacceptable lifetime” means, it’s probably described in one of the IEEE 802.11 standards which I don’t have access at the moment.