SiliconLabs / wfx-linux-driver

Silicon Laboratories WFx Wi-Fi linux driver source code
25 stars 11 forks source link

WF200 crashes on Linux debian #3

Closed UtsavBalar1231 closed 3 months ago

UtsavBalar1231 commented 5 months ago

After successfully loading the wfx wf200 sdio module, I am able to properly connect to a Network. But, when I try to access the internet or initiate any packet transfer the module split out weird errors and crashes.

Using the latest wfx-linux-driver on [Rockchip Linux version 5.10.198] (https://github.com/UtsavBalar1231/android_kernel_rockchip_toybrick_prod/commits/rk3399pro-5.10/)

Initial logs from sdio and wfx

[    2.674559] dwmmc_rockchip fe310000.mmc: No normal pinctrl state
[    2.674574] dwmmc_rockchip fe310000.mmc: No idle pinctrl state
[    2.675045] dwmmc_rockchip fe320000.mmc: No normal pinctrl state
[    2.675054] dwmmc_rockchip fe320000.mmc: No idle pinctrl state
[    2.675120] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    2.675149] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    2.675161] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    2.675171] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    2.675189] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    2.675200] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    2.675220] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 35,32 bit host data width,256 deep fifo
[    2.675234] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 36,32 bit host data width,256 deep fifo
[    2.675265] cryptodev: driver 1.12 loaded.
[    2.675301] hid: raw HID events driver (C) Jiri Kosina
[    2.675498] usbcore: registered new interface driver usbhid
[    2.675502] usbhid: USB HID core driver
[    2.675528] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    2.675542] mmc_host mmc2: card is non-removable.
[    2.678964] usbcore: registered new interface driver snd-usb-audio
[    2.679936] rk817-codec rk817-codec: DMA mask not set
[    2.682316] rk-multicodecs rk809-sound: Failed to get ADC channel
[    2.682380] rk-multicodecs rk809-sound: ASoC: Property 'rockchip,audio-routing' does not exist or its length is not even
[    2.683068] rk817-codec rk817-codec: rk817_probe: chip_name:0x80, chip_ver:0x94
[    2.686314] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.687719] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.688271] input: rockchip,rk809-codec Headset as /devices/platform/rk809-sound/sound/card0/input1
[    2.688990] Initializing XFRM netlink socket
[  = 1 port count = 2
[    6.599120] dwhdmi-rockchip ff940000.hdmi: failed to get edid
[    6.683104] iep: iep dpi mode inactivity
[    7.281121] wlan0: authenticate with 90:9a:4a:05:d8:31
[    7.288126] wlan0: send auth to 90:9a:4a:05:d8:31 (try 1/3)
[    7.304727] wlan0: authenticated
[    7.307858] wlan0: associate with 90:9a:4a:05:d8:31 (try 1/3)
[    7.313251] wlan0: RX AssocResp from 90:9a:4a:05:d8:31 (capab=0x1c11 status=0 aid=1)
[    7.316909] wlan0: associated
[    7.456087] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    7.456977] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[    7.458225] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[    7.645599] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[    7.792439] rockchip-vop ff900000.vop: [drm:vop_crtc_atomic_enable] Update mode to 1280x720p60, type: 11
[    9.720431] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[   10.456271] wfx-sdio mmc2:0001:1: AP tx queue status mismatches the TIM. Power saving is suboptimal
[   76.637769] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[   83.638367] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  140.642098] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  141.130542] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  141.641701] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  143.640412] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  150.643477] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  155.640575] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  159.640366] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  209.640399] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  220.640521] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  275.645618] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  276.645515] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000

After running apt update

[  346.085120] wfx-sdio mmc2:0001:1: wfx_data_read: bus communication error: -110

After Reseting the module

[  396.852609] wlan0: deauthenticating from 90:9a:4a:05:d8:31 by local choice (Reason: 3=DEAUTH_LEAVING)
[  397.872362] wfx-sdio mmc2:0001:1: chip is abnormally long to answer
[  400.939202] wfx-sdio mmc2:0001:1: chip did not answer
[  400.939287] wfx-sdio mmc2:0001:1: frames stuck in firmware since 3000ms or more:
[  400.939311] wfx-sdio mmc2:0001:1:    id 204d00e3 sent 55216ms ago
[  400.939331] wfx-sdio mmc2:0001:1:    id 204e00e4 sent 55215ms ago
[  400.939352] wfx-sdio mmc2:0001:1:    id 204f00e5 sent 55215ms ago
[  400.939372] wfx-sdio mmc2:0001:1:    id 205000e6 sent 55214ms ago
[  400.939392] wfx-sdio mmc2:0001:1:    id 205100e7 sent 55214ms ago
[  400.939411] wfx-sdio mmc2:0001:1:    id 205200e8 sent 54853ms ago
[  400.939431] wfx-sdio mmc2:0001:1:    id 205300e9 sent 54425ms ago
[  400.939451] wfx-sdio mmc2:0001:1:    id 205400ea sent 54425ms ago
[  400.939471] wfx-sdio mmc2:0001:1:    id 205500eb sent 50265ms ago
[  400.939491] wfx-sdio mmc2:0001:1:    id 108500ec sent 46288ms ago
[  400.939510] wfx-sdio mmc2:0001:1:    id 108600ed sent 44288ms ago
[  400.939529] wfx-sdio mmc2:0001:1:    id 108700ee sent 12288ms ago
[  400.939548] wfx-sdio mmc2:0001:1:    id 205600ef sent 7253ms ago
[  400.939568] wfx-sdio mmc2:0001:1:    id 205700f0 sent 6240ms ago
[  400.939587] wfx-sdio mmc2:0001:1:    id 205800f1 sent 5226ms ago
[  400.939614] wfx-sdio mmc2:0001:1: hardware request SET_PM_MODE (0x10) on vif 0 returned error -110
[  400.940434] wlan0: failed to remove key (0, 90:9a:4a:05:d8:31) from hardware (-110)
[  400.941121] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-110)
[  401.326387] mmc2: card 0001 removed
[  402.341760] dwmmc_rockchip fe310000.mmc: No normal pinctrl state
[  402.341862] dwmmc_rockchip fe310000.mmc: No idle pinctrl state
[  402.342108] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[  402.342167] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[  402.342376] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[  402.342457] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 35,32 bit host data width,256 deep fifo
[  402.343194] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[  402.343229] mmc_host mmc2: card is non-removable.
[  402.355815] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  402.386249] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[  402.388392] mmc2: new high speed SDIO card at address 0001
[  402.454188] wfx-sdio mmc2:0001:1: started firmware 3.14.0 "WF200_ASIC_WFM_(Jenkins)_FW3.14.0" (API: 3.9, keyset: C0, caps: 0x00000000)
[  402.473628] wfx-sdio mmc2:0001:1: MAC address 0: 98:0c:33:29:2b:0f
[  402.473687] wfx-sdio mmc2:0001:1: MAC address 1: 98:0c:33:29:2b:10
[  402.473734] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[  402.523811] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  402.524075] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  402.524933] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  403.687115] wlan0: authenticate with 90:9a:4a:05:d8:31
[  403.694491] wlan0: send auth to 90:9a:4a:05:d8:31 (try 1/3)
[  403.713268] wlan0: authenticated
[  403.715800] wlan0: associate with 90:9a:4a:05:d8:31 (try 1/3)
[  403.720480] wlan0: RX AssocResp from 90:9a:4a:05:d8:31 (capab=0x1c11 status=0 aid=1)
[  403.723970] wlan0: associated
[  403.866202] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  403.868792] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  405.367378] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  406.256155] wfx-sdio mmc2:0001:1: AP tx queue status mismatches the TIM. Power saving is suboptimal
[  406.354257] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  411.777356] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  412.259427] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  412.260179] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000

Again running apt update

[  403.868792] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  405.367378] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  406.256155] wfx-sdio mmc2:0001:1: AP tx queue status mismatches the TIM. Power saving is suboptimal
[  406.354257] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  411.777356] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  412.259427] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  412.260179] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  444.676115] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  464.836543] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  464.840619] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  464.907494] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.430639] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.756637] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.840794] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.841685] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  465.861049] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.864697] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  465.869270] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  465.872102] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.875070] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  465.882888] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.886229] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.888179] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.891988] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.893750] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.897576] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.902489] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.908770] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.913553] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.915622] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 0000
[  465.919675] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.921526] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.924019] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.926687] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.928355] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.931292] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  465.933068] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  466.004978] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  466.008670] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  466.013529] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  466.015087] wfx-sdio mmc2:0001:1: unexpected control register value: length field is 0: 2000
[  466.020368] wfx-sdio mmc2:0001:1: inconsistent message length: 48 != 1546
[  466.020418] hif: 00000000: 30 00 1e 08 02 00 00 00 00 00 00 00 5a 01 29 21  0...........Z.)!
[  466.020427] hif: 00000010: 15 00 21 00 05 04 00 00 88 03 00 00 00 00 00 00  ..!.............
[  466.020435] hif: 00000020: 5b 01 2a 21 15 00 00 00 ce 03 00 00 52 03 00 00  [.*!........R...
[  466.020442] hif: 00000030: 90 12 00 00 56 01 00 20 00 00 00 00 ab 04 6f 32  ....V.. ......o2
[  466.020449] hif: 00000040: 4f 0c 62 3f 3d b5 c4 81 3f 11 03 5a 8b 92 f1 92  O.b?=...?..Z....
[  466.020456] hif: 00000050: 62 ba dc 36 eb e5 5a d0 58 6a 3d 8f 77 1e 6a a3  b..6..Z.Xj=.w.j.
[  466.020463] hif: 00000060: 57 a6 50 da 57 94 81 2b e1 3f c6 81 e3 5d 24 c8  W.P.W..+.?...]$.
[  466.020470] hif: 00000070: 26 0c 44 10 71 0e 25 26 ef 15 22 d7 a5 7e c4 91  &.D.q.%&.."..~..
[  466.020477] hif: 00000080: d2 f1 da 47 7f 2b 90 49 94 ab a5 be 4c 49 7a a7  ...G.+.I....LIz.
[  466.020485] hif: 00000090: f6 90 00 00 03 00 b7 00 01 00 00 00 f8 76 00 00  .............v..
[  466.020492] hif: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  466.020499] hif: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[  466.020506] hif: 000000c0: 3f 09 de 0c 17 50 fb 2f be da 7f ba d6 e8 f0 32  ?....P./.......2
[  466.020513] hif: 000000d0: 06 4a 85 92 74 1c 14 21 c6 90 81 b4 5b d7 13 56  .J..t..!....[..V
[  466.020520] hif: 000000e0: c8 46 e5 78 38 ae 03 5f bf 8d de e3 6c f3 93 44  .F.x8.._....l..D
[  466.020527] hif: 000000f0: bc 4d 27 58 89 c1 89 40 19 14 49 e9 15 96 db 25  .M'X...@..I....%
[  466.020535] hif: 00000100: 4a ed 11 bc c0 16 d2 85 38 1a e5 90 25 f6 27 b1  J.......8...%.'.
[  466.020542] hif: 00000110: 2f 72 d9 c6 5b 9e ff ee 7b 4f df 8e 0d e4 14 12  /r..[...{O......
[  466.020549] hif: 00000120: 59 48 2e e5 5e 34 72 9f c6 b6 fd bf 4a 26 c9 7b  YH..^4r.....J&.{
[  466.020556] hif: 00000130: b8 af 76 ba af 24 a3 9e 2b 2b 0f f9 82 6a 9e 67  ..v..$..++...j.g
[  466.020563] hif: 00000140: 62 d5 1a 02 6a 0e c3 e6 fe af ab 70 37 f5 c1 6a  b...j......p7..j
[  466.020569] hif: 00000150: 78 16 ed 94 02 ea 57 6f 88 cf b8 65 c2 67 e7 a3  x.....Wo...e.g..
[  466.020576] hif: 00000160: 83 37 22 5f 6a 73 11 6e bb f7 44 29 e1 a4 27 a4  .7"_js.n..D)..'.
[  466.020583] hif: 00000170: fe b0 5f 90 42 79 49 20 e5 0e c0 8d 31 bf fc c2  .._.ByI ....1...
[  466.020590] hif: 00000180: 2c f1 0f 63 d2 b5 2d 19 f4 dc 0a 0c 80 d6 f9 a5  ,..c..-.........
[  466.020597] hif: 00000190: a0 d0 fe e9 39 d1 22 2c 1c 64 75 e3 00 d3 4c 3e  ....9.",.du...L>
[  466.020604] hif: 000001a0: d7 b9 4a e0 30 4a de 7a 20 12 85 d4 ad c4 f5 ab  ..J.0J.z .......
[  466.020611] hif: 000001b0: 78 2c 44 82 27 8f 1d 9e a9 3b 13 03 37 1d da 1c  x,D.'....;..7...
[  466.020618] hif: 000001c0: 1d e3 5f f1 e3 54 7f 0c 84 87 1a 13 4e db de e1  .._..T......N...
[  466.020625] hif: 000001d0: 24 b6 56 a2 c8 74 09 2d 09 57 98 8e 47 6c 34 dc  $.V..t.-.W..Gl4.
[  466.020632] hif: 000001e0: 53 95 62 39 46 15 b2 5b 79 ee d0 c2 fa 00 8d ed  S.b9F..[y.......
[  466.020638] hif: 000001f0: 58 e4 a0 63 6a e6 ff 0e 0f f4 65 08 ae b3 78 42  X..cj.....e...xB
[  466.020645] hif: 00000200: 62 eb c4 ab 1c 44 6c 93 01 2c f6 40 96 94 98 3c  b....Dl..,.@...<
[  466.020652] hif: 00000210: 4f 56 e8 67 3c 81 be 4e e5 74 7f bd 22 02 94 6e  OV.g<..N.t.."..n
[  466.020659] hif: 00000220: 0d 10 55 cb dc b3 e8 43 12 cc e6 6f 9d 6f 61 42  ..U....C...o.oaB
[  466.020666] hif: 00000230: e2 27 ea eb 82 90 13 65 28 ce 9c b6 56 69 91 12  .'.....e(...Vi..
[  466.020673] hif: 00000240: ff 88 8d 29 70 58 5d b6 18 05 f4 17 6c a5 95 b0  ...)pX].....l...
[  466.020680] hif: 00000250: 94 6b 18 23 dc 75 a8 63 d3 fa b4 0b 70 56 ca 07  .k.#.u.c....pV..
[  466.020687] hif: 00000260: 29 f4 33 d9 e5 7d 1e d5 1d d1 c3 2b ea 43 96 12  ).3..}.....+.C..
[  466.020694] hif: 00000270: cd c9 fc 39 f0 a2 ac 16 14 d7 f4 9b e7 86 1a 05  ...9............
[  466.020701] hif: 00000280: 8b c6 ac d9 9d 31 a9 e2 b0 02 32 77 ef 28 04 08  .....1....2w.(..
[  466.020708] hif: 00000290: 04 a8 09 fa 58 68 c9 b7 82 6c 3a 6f f3 47 e5 4b  ....Xh...l:o.G.K
[  466.020715] hif: 000002a0: 77 c4 f9 3d 27 22 3f 3e 49 e3 83 49 ce 82 6c 7e  w..='"?>I..I..l~
[  466.020721] hif: 000002b0: e3 1c 71 a7 85 68 b7 e6 e9 1e c9 1b 77 42 a6 b6  ..q..h......wB..
[  466.020728] hif: 000002c0: 7c 6a 87 50 8d b2 ef 6c f8 6b 56 c4 59 a0 bf 21  |j.P...l.kV.Y..!
[  466.020735] hif: 000002d0: 25 34 6b 48 95 29 32 33 48 e1 b0 96 21 23 0a a2  %4kH.)23H...!#..
[  466.020742] hif: 000002e0: cf da d6 12 9e e5 74 70 22 81 df 30 6b f8 f9 04  ......tp"..0k...
[  466.020749] hif: 000002f0: bb 15 39 6e 44 f8 ba 32 ed 93 03 e9 4a 1c d7 e2  ..9nD..2....J...
[  466.020756] hif: 00000300: 8e 93 27 eb 61 d1 0a 13 7d 1a ae 89 77 0a 1b 6f  ..'.a...}...w..o
[  466.020763] hif: 00000310: b2 53 8b 32 23 17 ad 3b 27 aa fc be c2 58 d8 56  .S.2#..;'....X.V
[  466.020770] hif: 00000320: 5d 2b c7 06 84 f4 6c 80 7e 79 af 9d 45 22 f2 e5  ]+....l.~y..E"..
[  466.020777] hif: 00000330: f0 40 ec f3 25 bc 1a ce 36 68 bf ec e0 85 27 6a  .@..%...6h....'j
[  466.020783] hif: 00000340: 54 fb 37 1f 1c 10 c3 2d e3 e5 6c b4 4f 75 e7 ee  T.7....-..l.Ou..
[  466.020790] hif: 00000350: 2a d2 90 42 bc 0a d9 c5 87 13 98 0d 71 18 af 59  *..B........q..Y
[  466.020797] hif: 00000360: 50 00 d8 70 a0 71 6e a9 e2 fa b4 6c f6 d2 55 e7  P..p.qn....l..U.
[  466.020804] hif: 00000370: e8 02 7d 6b ab 57 fc 68 a4 b7 54 c5 77 22 a5 02  ..}k.W.h..T.w"..
[  466.020811] hif: 00000380: 15 aa 53 92 81 88 be c0 b9 83 5d 94 c3 13 7f 87  ..S.......].....
[  466.020818] hif: 00000390: f3 b0 7e 5d 68 cc af 40 eb 3a 8f 2e 84 98 59 c5  ..~]h..@.:....Y.
[  466.020825] hif: 000003a0: e5 6b a7 5c 55 c1 98 62 22 d4 c9 34 6a 52 9c 42  .k.\U..b"..4jR.B
[  466.020832] hif: 000003b0: f8 08 c2 3d 70 48 b6 13 23 0d fd b5 bb f3 24 a2  ...=pH..#.....$.
[  466.020838] hif: 000003c0: 1f e6 dd 12 ca 13 07 d1 4a 7a db 25 05 f6 8c 48  ........Jz.%...H
[  466.020845] hif: 000003d0: d9 35 26 4c d8 ed e8 5a b2 8c 8a 99 57 10 23 0f  .5&L...Z....W.#.
[  466.020852] hif: 000003e0: 29 4e 41 6c 6e 53 c1 ad 89 d6 87 0f 3b b4 ba 8b  )NAlnS......;...
[  466.020859] hif: 000003f0: a2 67 9a b0 16 61 2e cc 59 3c ab 36 a5 6b 21 91  .g...a..Y<.6.k!.
[  466.020866] hif: 00000400: 3e 4a 88 a3 84 cc 58 54 24 92 c3 52 98 88 fa ee  >J....XT$..R....
[  466.020873] hif: 00000410: b8 49 db 41 a2 79 7e 91 0f 78 da 6d fb a8 8c ed  .I.A.y~..x.m....
[  466.020880] hif: 00000420: e1 fa 0c 29 9e da f2 94 ef b0 b3 14 78 4f 0f 25  ...)........xO.%
[  466.020887] hif: 00000430: 35 ac ed 4f ad e6 36 d8 8e f1 54 7a 02 94 01 58  5..O..6...Tz...X
[  466.020893] hif: 00000440: 2d 15 73 bd b4 59 15 5f 79 e9 46 d5 41 be 3e dd  -.s..Y._y.F.A.>.
[  466.020900] hif: 00000450: 11 c6 fd e9 97 79 c7 6a 32 2c 2b 18 e7 db 7d 5f  .....y.j2,+...}_
[  466.020907] hif: 00000460: cc 96 c4 f1 46 1a b5 d9 97 bd ab 6e 30 ef 5f 24  ....F......n0._$
[  466.020914] hif: 00000470: 8c ba b7 aa c3 bb e2 5c 7c 5a cf 16 52 c7 16 eb  .......\|Z..R...
[  466.020921] hif: 00000480: 49 d9 ca 16 c5 44 24 79 f8 c2 96 c1 b4 ff 3b b7  I....D$y......;.
[  466.020928] hif: 00000490: c6 c8 c5 40 46 b4 cb c1 08 05 07 82 03 0f 68 c4  ...@F.........h.
[  466.020934] hif: 000004a0: 13 f7 cf a7 bc 98 b5 55 b5 bb a6 5e 12 d6 9d e8  .......U...^....
[  466.020941] hif: 000004b0: e2 b2 ea dc e7 c4 17 ee 52 ff 98 c3 99 95 50 d5  ........R.....P.
[  466.020948] hif: 000004c0: 35 82 cf bf 04 f2 d1 75 57 44 95 3c ac 10 8b 26  5......uWD.<...&
[  466.020955] hif: 000004d0: 6b d3 05 6d 22 60 ff 01 3c 47 32 00 d6 cb 10 29  k..m"`..<G2....)
[  466.020962] hif: 000004e0: 03 e1 41 be 87 5f f0 6e 1c 5e 54 16 36 e8 42 37  ..A.._.n.^T.6.B7
[  466.020969] hif: 000004f0: e3 b7 03 ed 5e 70 63 df f6 48 75 ed 95 2c 0c 9f  ....^pc..Hu..,..
[  466.020976] hif: 00000500: 53 5a 83 58 bb f0 1e 8e b1 0a 7e 7e 36 90 44 3a  SZ.X......~~6.D:
[  466.020983] hif: 00000510: 1d 9b ee 77 1b 7e c7 27 73 3a 3d 10 da a5 4b 27  ...w.~.'s:=...K'
[  466.020990] hif: 00000520: fc 4c a3 5e 19 22 de fb b6 a8 69 d6 af cd 8c c6  .L.^."....i.....
[  466.020997] hif: 00000530: 19 d5 c9 d2 39 69 3c 8e a9 d6 68 72 8f b1 4f 77  ....9i<...hr..Ow
[  466.021004] hif: 00000540: 0e ef 16 bd 7a 48 06 46 82 c6 ba 8a 69 27 1a 0b  ....zH.F....i'..
[  466.021011] hif: 00000550: c3 a1 7e 05 27 cc 74 dc f5 0f eb c3 43 3f d0 4d  ..~.'.t.....C?.M
[  466.021018] hif: 00000560: 4e 5e be 16 82 e0 cb bb 49 98 f5 61 0c 67 cd 0e  N^......I..a.g..
[  466.021025] hif: 00000570: 5e f1 ad 21 c2 ba 9d 2f 8e f2 eb 4b b1 80 1e 62  ^..!.../...K...b
[  466.021032] hif: 00000580: ad 5b a0 72 94 43 25 bb 55 d4 71 04 96 3b 93 17  .[.r.C%.U.q..;..
[  466.021039] hif: 00000590: 05 64 ad 82 28 a5 ba 51 ea 9e c3 4b 68 be 86 f6  .d..(..Q...Kh...
[  466.021046] hif: 000005a0: 67 7e 1f ed f2 c5 fe 3d a9 0b 6a cb bc 98 e0 e9  g~.....=..j.....
[  466.021053] hif: 000005b0: d9 69 9a b1 a8 58 21 25 4c 10 4b 6c 14 32 3f e2  .i...X!%L.Kl.2?.
[  466.021060] hif: 000005c0: 93 5b e2 ef 10 41 6c cd 9e b1 30 31 00 2f 27 a7  .[...Al...01./'.
[  466.021067] hif: 000005d0: 95 f7 71 d1 db b0 34 11 62 0e ff 81 7d a8 a5 fb  ..q...4.b...}...
[  466.021074] hif: 000005e0: b7 30 66 1b 1e c7 08 8f 17 20 4b a0 af 56 33 ac  .0f...... K..V3.
[  466.021081] hif: 000005f0: f7 28 26 b5 9e 4f 49 7b e5 21 48 58 47 f0 ce 9d  .(&..OI{.!HXG...
[  466.021088] hif: 00000600: e2 17 2b e5 20 ad 46 29 e2 f5                    ..+. .F)..
[  466.021351] wfx-sdio mmc2:0001:1: wrong message sequence: 2 != 1
[  466.022355] wfx-sdio mmc2:0001:1: inconsistent message length: 48 != 1546
[  466.022378] hif: 00000000: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022386] hif: 00000010: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022393] hif: 00000020: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022400] hif: 00000030: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022407] hif: 00000040: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022414] hif: 00000050: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022422] hif: 00000060: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022429] hif: 00000070: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022436] hif: 00000080: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022443] hif: 00000090: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022449] hif: 000000a0: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022456] hif: 000000b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022463] hif: 000000c0: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022470] hif: 000000d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022478] hif: 000000e0: 30 00 1e 38 02 00 00 00 00 00 00 00 5c 01 2b 21  0..8........\.+!
[  466.022485] hif: 000000f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022492] hif: 00000100: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022499] hif: 00000110: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022506] hif: 00000120: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022513] hif: 00000130: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022520] hif: 00000140: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022527] hif: 00000150: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022534] hif: 00000160: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022541] hif: 00000170: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022548] hif: 00000180: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022555] hif: 00000190: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022562] hif: 000001a0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022569] hif: 000001b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022577] hif: 000001c0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022584] hif: 000001d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022591] hif: 000001e0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022598] hif: 000001f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022605] hif: 00000200: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022613] hif: 00000210: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022620] hif: 00000220: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022627] hif: 00000230: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022634] hif: 00000240: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022640] hif: 00000250: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022648] hif: 00000260: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022655] hif: 00000270: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022680] hif: 00000280: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022689] hif: 00000290: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022696] hif: 000002a0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022703] hif: 000002b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022710] hif: 000002c0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022717] hif: 000002d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022724] hif: 000002e0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022731] hif: 000002f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022738] hif: 00000300: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022745] hif: 00000310: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022752] hif: 00000320: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022759] hif: 00000330: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022766] hif: 00000340: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022773] hif: 00000350: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022780] hif: 00000360: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022787] hif: 00000370: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022794] hif: 00000380: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022801] hif: 00000390: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022808] hif: 000003a0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022815] hif: 000003b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022822] hif: 000003c0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022828] hif: 000003d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022836] hif: 000003e0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022843] hif: 000003f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022850] hif: 00000400: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022856] hif: 00000410: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022863] hif: 00000420: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022870] hif: 00000430: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022877] hif: 00000440: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022884] hif: 00000450: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022891] hif: 00000460: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022898] hif: 00000470: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022905] hif: 00000480: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022913] hif: 00000490: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022919] hif: 000004a0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022926] hif: 000004b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022933] hif: 000004c0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022941] hif: 000004d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022950] hif: 000004e0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022959] hif: 000004f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022966] hif: 00000500: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022972] hif: 00000510: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022978] hif: 00000520: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022984] hif: 00000530: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.022990] hif: 00000540: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.022996] hif: 00000550: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023002] hif: 00000560: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.023008] hif: 00000570: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023014] hif: 00000580: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.023020] hif: 00000590: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023026] hif: 000005a0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.023032] hif: 000005b0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023038] hif: 000005c0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.023044] hif: 000005d0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023050] hif: 000005e0: bc 04 e4 0e 0f 00 00 00 10 00 00 00 e4 4f ee 37  .............O.7
[  466.023056] hif: 000005f0: 15 01 21 00 90 07 00 00 20 06 00 00 00 00 00 00  ..!..... .......
[  466.023062] hif: 00000600: bc 04 e4 0e 0f 00 00 00 10 00                    ..........

Let me know if this is hardware issue or software configuration problem.

Thanks in advance

jerome-pouiller commented 3 months ago

@UtsavBalar1231, I am sorry I miss the notification for this issue. I will look at it soon.

jerome-pouiller commented 3 months ago

At first glance, it looks like hardware issues on the SDIO bus or on the SDIO host. It seems the SDIO IRQ is triggered more often than it ought to. Maybe the line DAT1 is noisy? Have you tried to use the out-of-band IRQ?

UtsavBalar1231 commented 3 months ago

@jerome-pouiller After debugging this issue from my side, I found that the mmc driver has MMC_CAP_SDIO_IRQ capability and by disabling it, all the sdio irq related issues were fixed.

Also, I had one issue on silabs forums related to wifi driver crash after few seconds of data usage, seems to be related to the wakeup support in this driver. After disabling the wakeup support and sdio irq capability, now I am able to successfully utilise this driver.

jerome-pouiller commented 3 months ago

I am not hardware engineer, but I would check the pull-up/pull-down on these signals.