Hello varsmolta,
Thank you for the help.
The SDIO DAT1 line has been probed and that is toggling so we can rule out the interrupt related patch. I have enabled the debug option in kernel and
captured the debug info pls see the logs below.
Bringing up the new kernel may take some time so I kept that option to last one to try.
Meanwhile I have tried another sdio based wifi module on the board. This driver also giving same kind of issue.
The Wi-Fi driver was working with a different arm platform. This lead me to suspect sdio driver in host. What are the issues identified with sdio driver for i.MX6 ?
Did any one used SDIO based wifi module on an i.MX6 platform?
I want to close this doubt before switching to higher version of kernel..
Appreciate your help.
------------------
Logs
-------------------
After the association with AP
-----------------------------
root@freescale ~$ cat /tmp/debug/mwifiex/mlan0/info
driver_name = "mwifiex"
driver_version = mwifiex 1.0 (14.66.9.p96)
verext = w8787-Ax, RF878X, FP66, 14.66.9.p96, BT_SDIO
interface_name="mlan0"
bss_mode="Ad-hoc"
media_state="Connected"
mac_address="4c:aa:16:c2:0f:ca"
multicast_count="1"
essid="dlink"
bssid="1c:7e:e5:58:77:2b"
channel="6"
region_code = "10"
multicast_address[0]="01:00:5e:00:00:01"
num_tx_bytes = 0
num_rx_bytes = 0
num_tx_pkts = 0
num_rx_pkts = 0
num_tx_pkts_dropped = 0
num_rx_pkts_dropped = 0
num_tx_pkts_err = 0
num_rx_pkts_err = 0
carrier on
tx queue started
root@freescale ~$ cat /tmp/debug/mwifiex/mlan0/info
driver_name = "mwifiex"
driver_version = mwifiex 1.0 (14.66.9.p96)
verext = w8787-Ax, RF878X, FP66, 14.66.9.p96, BT_SDIO
interface_name="mlan0"
bss_mode="Ad-hoc"
media_state="Connected"
mac_address="4c:aa:16:c2:0f:ca"
multicast_count="1"
essid="dlink"
bssid="1c:7e:e5:58:77:2b"
channel="6"
region_code = "10"
multicast_address[0]="01:00:5e:00:00:01"
num_tx_bytes = 0
num_rx_bytes = 0
num_tx_pkts = 0
num_rx_pkts = 0
num_tx_pkts_dropped = 0
num_rx_pkts_dropped = 0
num_tx_pkts_err = 0
num_rx_pkts_err = 0
carrier on
tx queue started
root@freescale ~$ cat /tmp/debug/mwifiex/mlan0/debug
int_counter=0x0
wmm_ac_vo=0x0
wmm_ac_vi=0x0
wmm_ac_be=0x0
wmm_ac_bk=0x0
max_tx_buf_size=0x800
tx_buf_size=0x700
curr_tx_buf_size=0x0
ps_mode=0x1
ps_state=0x3
is_deep_sleep=0x1
wakeup_dev_req=0x1
wakeup_tries=0x0
hs_configured=0x0
hs_activated=0x0
num_tx_timeout=0x0
num_cmd_timeout=0x0
timeout_cmd_id=0x0
timeout_cmd_act=0x0
last_cmd_id=0x6 0x12 0xe4 0x71 0x28
last_cmd_act=0x3 0x7e1c 0xff 0x0 0x113
last_cmd_index=0x3
last_cmd_resp_id=0x8006 0x8012 0x80e4 0x8071 0x8028
last_cmd_resp_index=0x3
last_event=0x17 0x2b 0xa 0xb 0xa
last_event_index=0x3
num_cmd_h2c_fail=0x0
num_cmd_sleep_cfm_fail=0x0
num_tx_h2c_fail=0x0
num_evt_deauth=0x0
num_evt_disassoc=0x0
num_evt_link_lost=0x0
num_cmd_deauth=0x0
num_cmd_assoc_ok=0x1
num_cmd_assoc_fail=0x0
cmd_sent=0x0
data_sent=0x0
cmd_resp_received=0x0
event_received=0x0
cmd_pending=0x0
tx_pending=0x0
rx_pending=0x0
root@freescale ~$ cat /tmp/debug/mwifiex/mlan0/debug
int_counter=0x0
wmm_ac_vo=0x0
wmm_ac_vi=0x0
wmm_ac_be=0x0
wmm_ac_bk=0x0
max_tx_buf_size=0x800
tx_buf_size=0x700
curr_tx_buf_size=0x0
ps_mode=0x1
ps_state=0x3
is_deep_sleep=0x1
wakeup_dev_req=0x1
wakeup_tries=0x0
hs_configured=0x0
hs_activated=0x0
num_tx_timeout=0x0
num_cmd_timeout=0x0
timeout_cmd_id=0x0
timeout_cmd_act=0x0
last_cmd_id=0x6 0x12 0xe4 0x71 0x28
last_cmd_act=0x3 0x7e1c 0xff 0x0 0x113
last_cmd_index=0x3
last_cmd_resp_id=0x8006 0x8012 0x80e4 0x8071 0x8028
last_cmd_resp_index=0x3
last_event=0x17 0x2b 0xa 0xb 0xb
last_event_index=0x4
num_cmd_h2c_fail=0x0
num_cmd_sleep_cfm_fail=0x0
num_tx_h2c_fail=0x0
num_evt_deauth=0x0
num_evt_disassoc=0x0
num_evt_link_lost=0x0
num_cmd_deauth=0x0
num_cmd_assoc_ok=0x1
num_cmd_assoc_fail=0x0
cmd_sent=0x0
data_sent=0x0
cmd_resp_received=0x0
event_received=0x0
cmd_pending=0x0
tx_pending=0x0
rx_pending=0x0
After the ping command
-------------------------
root@freescale ~$ cat /tmp/debug/mwifiex/mlan0/debug
int_counter=0x0
wmm_ac_vo=0x0
wmm_ac_vi=0x0
wmm_ac_be=0x0
wmm_ac_bk=0xf
max_tx_buf_size=0x800
tx_buf_size=0x700
curr_tx_buf_size=0x0
ps_mode=0x1
ps_state=0x0
is_deep_sleep=0x1
wakeup_dev_req=0x0
wakeup_tries=0x0
hs_configured=0x0
hs_activated=0x0
num_tx_timeout=0x0
num_cmd_timeout=0x1
timeout_cmd_id=0xce
timeout_cmd_act=0x1c00
last_cmd_id=0x6 0x12 0xe4 0x71 0xce
last_cmd_act=0x3 0x7e1c 0xff 0x0 0x1c00
last_cmd_index=0x4
last_cmd_resp_id=0x8006 0x8012 0x80e4 0x8071 0x8028
last_cmd_resp_index=0x3
last_event=0xb 0xb 0xb 0xb 0xa
last_event_index=0x4
num_cmd_h2c_fail=0x0
num_cmd_sleep_cfm_fail=0x0
num_tx_h2c_fail=0x0
num_evt_deauth=0x0
num_evt_disassoc=0x0
num_evt_link_lost=0x0
num_cmd_deauth=0x0
num_cmd_assoc_ok=0x1
num_cmd_assoc_fail=0x0
cmd_sent=0x1
data_sent=0x1
cmd_resp_received=0x0
event_received=0x0
cmd_pending=0x0
tx_pending=0x21
rx_pending=0x0
Tx BA stream table:
tid = 0, ra = 1c:7e:e5:58:7