linux 3.10.45
a broadcom wifi module is connected to SDIO1
When I am measuring the wifi network speed, using iperf. The kernel driver crash after about testing for 4 minutes as following:
(about 4 minutes after)
...
[ 4] 247.5-248.0 sec 1.86 MBytes 31.2 Mbits/sec
[ 4] 248.0-248.5 sec 1.91 MBytes 32.1 Mbits/sec
mmc0: Timeout waiting for hardware interrupt.
dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[ 4] 248.5-249.0 sec 505 KBytes 8.27 Mbits/sec
[ 4] 249.0-249.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 249.5-250.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 250.0-250.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 250.5-251.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 251.0-251.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 251.5-252.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 252.0-252.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 252.5-253.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 253.0-253.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 253.5-254.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 254.0-254.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 254.5-255.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 255.0-255.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 255.5-256.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 256.0-256.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 256.5-257.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 257.0-257.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 257.5-258.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 258.0-258.5 sec 0.00 Bytes 0.00 bits/sec
mmc0: Timeout waiting for hardware interrupt.
dhdsdio_readframes: RXHEADER FAILED: -35
dhdsdio_rxfail: abort command, terminate frame, send NAK
dhdsdio_readframes: too long: len 6176 rdlen 6144
dhdsdio_rxfail: terminate frame
dhdsdio_rxglom (superframe): len 0x0014, rounded 0x0200, expect 0x1400
dhdsdio_rxfail: abort command, terminate frame, send NAK
dhdsdio_rxglom (superframe): len 0x2440, rounded 0x2600, expect 0x1400
dhdsdio_rxfail: abort command, terminate frame, send NAK
dhdsdio_rxglom (superframe): len 0x0012, rounded 0x0200, expect 0x1400
dhdsdio_rxfail: abort command, terminate frame, send NAK
dhdsdio_rxglom (superframe): len 0x0010, rounded 0x0200, expect 0x0800
dhdsdio_rxfail: abort command, terminate frame
dhdsdio_readframes: glom superframe w/o descriptor!
dhdsdio_rxfail: terminate frame
[ 4] 258.5-259.0 sec 12.9 KBytes 211 Kbits/sec
[ 4] 259.0-259.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 259.5-260.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 260.0-260.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 260.5-261.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 261.0-261.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 261.5-262.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 262.0-262.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 262.5-263.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 263.0-263.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 263.5-264.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 264.0-264.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 264.5-265.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 265.0-265.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 265.5-266.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 266.0-266.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 266.5-267.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 267.0-267.5 sec 0.00 Bytes 0.00 bits/sec
[ 4] 267.5-268.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 268.0-268.5 sec 0.00 Bytes 0.00 bits/sec
mmc0: Timeout waiting for hardware interrupt.
dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[ 4] 268.5-269.0 sec 20.0 KBytes 327 Kbits/sec
[ 4] 269.0-269.5 sec 0.00 Bytes 0.00 bits/sec
...
The speed after that is alway 0.00 bits/sec.
This problem occurs randomly, not everytime.
According to our wifi module provider's document, they tested the same wifi driver souce code on other android based board(not imx6 chip, linux 3.0.35), it's OK.
Hi Gary
linux 3.10.45 is not supported by nxp in its bsp releases, it may be recommended to apply
for updated driver on vendor support link
http://wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
They tell me that no patch for specific linux kernel.
please try with official nxp releases on
I tested using L3.14.28 today, the problem occured again, but it recovered quickly.
[ 4] 1533.0-1534.0 sec 2.07 MBytes 17.4 Mbits/sec
[ 4] 1534.0-1535.0 sec 1.94 MBytes 16.3 Mbits/sec
[ 4] 1535.0-1536.0 sec 2.12 MBytes 17.8 Mbits/sec
[ 4] 1536.0-1537.0 sec 1.90 MBytes 15.9 Mbits/sec
[ 4] 1537.0-1538.0 sec 2.00 MBytes 16.8 Mbits/sec
mmc0: Timeout waiting for hardware interrupt.
dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
[ 4] 1538.0-1539.0 sec 1018 KBytes 8.34 Mbits/sec
[ 4] 1539.0-1540.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1540.0-1541.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1541.0-1542.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1542.0-1543.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1543.0-1544.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1544.0-1545.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1545.0-1546.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1546.0-1547.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1547.0-1548.0 sec 0.00 Bytes 0.00 bits/sec
[ 4] 1548.0-1549.0 sec 338 KBytes 2.77 Mbits/sec
[ 4] 1549.0-1550.0 sec 1.73 MBytes 14.5 Mbits/sec
[ 4] 1550.0-1551.0 sec 2.20 MBytes 18.4 Mbits/sec
[ 4] 1551.0-1552.0 sec 2.22 MBytes 18.6 Mbits/sec
[ 4] 1552.0-1553.0 sec 2.12 MBytes 17.8 Mbits/sec
[ 4] 1553.0-1554.0 sec 2.14 MBytes 18.0 Mbits/sec
[ 4] 1554.0-1555.0 sec 1.98 MBytes 16.6 Mbits/sec
[ 4] 1555.0-1556.0 sec 2.06 MBytes 17.3 Mbits/sec
[ 4] 1556.0-1557.0 sec 2.07 MBytes 17.4 Mbits/sec
[ 4] 1557.0-1558.0 sec 2.08 MBytes 17.5 Mbits/sec
[ 4] 1558.0-1559.0 sec 1.82 MBytes 15.2 Mbits/sec
[ 4] 1559.0-1560.0 sec 1.67 MBytes 14.0 Mbits/sec
[ 4] 1560.0-1561.0 sec 877 KBytes 7.19 Mbits/sec
...
Following all ok.
I tested under your offical release L3.14.28, it's very stable, no crash.