JODY-W2 UAP0 HOSTAPD FAIL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JODY-W2 UAP0 HOSTAPD FAIL

1,196件の閲覧回数
elton
Contributor III

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

 

 

タグ(1)
0 件の賞賛
返信
1 返信

1,147件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Dear @elton ,

 

Could you please provide me the following information?

1. linux boot logs

# dmesg

2. The command of loading wifi driver & logs

3. wlan interfaces

# ifconfig -a

4. About hostapd

(1) command to start hostapd & corresponding logs

(2) Configurations in hostapd.conf

5. board device tree 

 

Thanks!

Regards,

weidong

 

0 件の賞賛
返信