Good day!
I am currently developing with below configuration.
SOM: Toradex Colibri i.MX6ULL 512MB IT
OS: Yocto (kirkstone)
Kernel: 6.1.22
WiFi Module: JODY-W2 88W8987
Driver: lf-6.1.22_2.0.0
We experience some problems during boot-up where uap0 is not configured properly - IP address is not set. When comparing the journal logs of successful/failed boot-up, we found out that during a failed boot, below debug messages are shown.
uap0: Skip change virtual intf type on uap: from 3 to 2
uap0: Skip change virtual intf type on uap: from 2 to 3
We already checked the driver's source code and it is executed when changing virtual interface types. Below is a snippet of moal_cfg80211.c.
if ((priv->bss_type == MLAN_BSS_TYPE_UAP) && (priv->bss_index > 0)) {
PRINTM(MMSG,
"%s: Skip change virtual intf type on uap: from %d to %d\n",
dev->name, priv->wdev->iftype, type);
priv->wdev->iftype = type;
goto done;
}
Can anyone explain why and what triggers the function call?
Regards,
Elton