[CYW43438]After executing ifconfig wlan0 up, show wl_host_event: Invalid ifidx 0 for wl0, will it have any impact?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
erylb
Level 1
Level 1
Distributor - Yuban(GC)
5 sign-ins First like given First reply posted

Hi,

After executing "ifconfig wlan0 up",  it show: "wl_host_event: Invalid ifidx 0 for wl0", but we can connect to the net normally, is it a mistake? will it have any other impact?

The log is as follow:

[root@Zeratul:~]# insmod /lib/modules/cywdhd.ko firmware_path=/lib/firmware/fw_b
cm43438a1.bin nvram_path=/lib/firmware/nvram.txt iface_name=wlan0
[ 152.614016] dhd_module_init in
[ 152.617226] ======== bcm_wlan_set_plat_data ========
[ 152.622470] host_oob_irq: 82
[ 152.625667] host_oob_irq_flags=0x414
[ 152.629429] Power-up adapter 'DHD generic adapter'
[ 152.634544] wifi_platform_set_power = 1
[ 152.638544] ======== PULL WL_REG_ON HIGH! ========
[ 152.643615] wifi_platform_bus_enumerate device present 1
[ 152.649177] ======== Card detection to detect SDIO card! ========
[ 152.655585] ingenic,sdhci 13070000.msc: card insert manually
[ 152.718193] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 152.724792] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 152.731328] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 152.738451] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 152.744754] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 152.796544] mmc1: new high speed SDIO card at address 0001
[ 152.822324] F1 signature read @0x18000000=0x1541a9a6
[ 152.830890] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[ 152.838808] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[ 152.845835] wifi_platform_prealloc: failed to alloc static mem section 7
[ 152.853793] wl_create_event_handler(): thread:wl_event_handler:27e started
[ 152.861030] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x856214c0
[ 152.868605] dhd_attach(): thread:dhd_watchdog_thread:280 started
[ 152.875102] dhd_attach(): thread:dhd_dpc:281 started
[ 152.880314] dhd_deferred_work_init: work queue initialized
[ 152.992286] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 153.062242] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 153.070928] Disable tdls_auto_op failed. -1
[ 153.079163] Firmware up: op_mode=0x0005, MAC=90:e8:68:85:f0:5d
[ 153.099337] Firmware version = wl0: Jun 12 2019 21:30:19 version 7.46.58.28 (r717266 CY) FWID 01-d43eaba6 es4.c3.n4
[ 153.111152] Dongle Host Driver, version 1.363.125.7 (r)
[ 153.111152] Compiled in /home/user/cypress-close-src/cypress/cywdhd on Dec 1 2022 at 12:15:25
[ 153.126598] Register interface [wlan0] MAC: 90:e8:68:85:f0:5d
[ 153.126598]
[ 153.134520] dhd_module_init out
[root@Zeratul:~]# ifconfig wlan0 up
[ 165.759624] wl_host_event: Invalid ifidx 0 for wl0
[ 165.764676] MACEVENT: WLC_E_IF 54, MAC 90:e8:68:85:f0:5d, status 0, reason 0, auth 0
[ 165.773301] wl_host_event: Invalid ifidx 0 for wl0
[ 165.778322] MACEVENT: WLC_E_IF 54, MAC 90:e8:68:85:f0:5d, status 0, reason 0, auth 0
[ 165.789409] CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
[ 165.807662] wl_create_event_handler(): thread:wl_event_handler:287 started
[ 165.807681] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x856214c0

Regards,

Beryl.

0 Likes
1 Solution
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @erylb :

Below is the source code related to this log:

#if !defined(PROP_TXSTATUS) && !defined(PCIE_FULL_DONGLE) && defined(WL_CFG80211)
DHD_INFO(("%s: Invalid ifidx %d for %s\n",
__FUNCTION__, ifevent->ifidx, event->ifname));
#endif /* !PROP_TXSTATUS && !PCIE_FULL_DONGLE && WL_CFG80211 */

 According to above, it's just like a warning, no impact to your functions.

Best Regards,

Colin

 

View solution in original post

3 Replies
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @erylb :

Let me check the DHD log information and then feedback to you.

Best Regards,

Colin

0 Likes
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @erylb :

Below is the source code related to this log:

#if !defined(PROP_TXSTATUS) && !defined(PCIE_FULL_DONGLE) && defined(WL_CFG80211)
DHD_INFO(("%s: Invalid ifidx %d for %s\n",
__FUNCTION__, ifevent->ifidx, event->ifname));
#endif /* !PROP_TXSTATUS && !PCIE_FULL_DONGLE && WL_CFG80211 */

 According to above, it's just like a warning, no impact to your functions.

Best Regards,

Colin

 

erylb
Level 1
Level 1
Distributor - Yuban(GC)
5 sign-ins First like given First reply posted

Hi Colin,

Got it, thank you very much for your answer.

Best Regards,

Beryl.

0 Likes