Ashfaque

i.MX53- Wifi Disconnects during streaming

Discussion created by Ashfaque on May 17, 2012
Latest reply on Jun 21, 2016 by Jaeyeol Lee
We are testing Wireless Video streaming from a USB camera from customized i.MX53 board (acts as a Transmitter) to iPad (acts as a Receiver) using a Wifi Modlue. Below are the details of the setup.
i.MX53 Board(Transmitter):
OS : Linux kernel 2.6.35
Network setup: Board is configured as a Soft Access Point (SoftAP) with routing enabled for multicasting.
Camera: USB camera
Application: Live555 (open source streaming library) based streaming application.
Wifi module in the board has been configured as SD port 4.
iPad(Receiver):
Network Setup: Connected to Transmitter device through access point.
Application: Live555 based iOS application
This connection before running the application is verified with a successful ping response.
Initially after launching the application streaming works fine with iPad displaying the real time video from Transmitter, but after some duration (5-10 minutes) streaming fails as connection gets disconnected.
Below are the debug prints on console (from i.MX53 board).
This connection lost is also verified by a failure ping response. It looks like Wifi module driver has crashed with below exception details.
Please provide any inputs/solutions on this if anyone has faced similar wifi connectivity issue with i.MX53/Wifi drivers.
/* Debug prints on connection lost on console */
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:258 dev_watchdog+0x17c/0x284()
NETDEV WATCHDOG: uap0 (wlan_sdio): transmit queue 0 timed out
Modules linked in: em28xx saa7115 videobuf_vmalloc videobuf_core tveeprom sd8xxx mlan(P)
[<8002f4c0>] (unwind_backtrace+0x0/0xf0) from [<8004f9b0>] (warn_slowpath_common+0x4c/0x64)
[<8004f9b0>] (warn_slowpath_common+0x4c/0x64) from [<8004fa48>] (warn_slowpath_fmt+0x2c/0x3c)
[<8004fa48>] (warn_slowpath_fmt+0x2c/0x3c) from [<8033bc54>] (dev_watchdog+0x17c/0x284)
[<8033bc54>] (dev_watchdog+0x17c/0x284) from [<8005a7a0>] (run_timer_softirq+0x16c/0x23c)
[<8005a7a0>] (run_timer_softirq+0x16c/0x23c) from [<80054e58>] (__do_softirq+0x70/0xf8)
[<80054e58>] (__do_softirq+0x70/0xf8) from [<80054f24>] (irq_exit+0x44/0xa8)
[<80054f24>] (irq_exit+0x44/0xa8) from [<8002a070>] (asm_do_IRQ+0x70/0x8c)
[<8002a070>] (asm_do_IRQ+0x70/0x8c) from [<8002aa8c>] (__irq_svc+0x4c/0xcc)
Exception stack(0x807d7f78 to 0x807d7fc0)
7f60: 807e4cb4 c3c5dc13
7f80: 00000001 00000000 807d6000 807daa18 80821f84 807daa10 700224b8 412fc085
7fa0: 0000001f 00000000 00000003 807d7fc0 8002ba84 8002ba88 60000013 ffffffff
[<8002aa8c>] (__irq_svc+0x4c/0xcc) from [<8002ba88>] (default_idle+0x24/0x28)
[<8002ba88>] (default_idle+0x24/0x28) from [<8002bf6c>] (cpu_idle+0x48/0xa0)
[<8002bf6c>] (cpu_idle+0x48/0xa0) from [<80008938>] (start_kernel+0x234/0x284)
[<80008938>] (start_kernel+0x234/0x284) from [<70008034>] (0x70008034)
---[ end trace 3ea9d70442c4aedb ]---
4294961629 : Tx timeout, bss_index=1

Outcomes