#9654: ath: DMA failed to stop in 10 ms
------------------------+-----------------------------------
  Reporter:  anonymous  |      Owner:  nbd
      Type:  defect     |     Status:  reopened
  Priority:  normal     |  Milestone:  Barrier Breaker 14.07
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  atheros
------------------------+-----------------------------------

Comment (by gvalkov):

 Here are a few recommendations to make your script better:
 If there are known stations that should always be online, use arping to
 test your connection and only reset wifi if that fails.


 {{{
 arping -I br-lan -f -c 1 -w 1 192.168.1.101|grep "reply from" > /dev/null
 ||wifi
 }}}


 Notes:
 1. With arping you can even detect hosts that have a firewall blocking
 ICMP.
 2. Running wifi alone should be enough to reset the interface. Usually you
 don't need to disable and wait before calling wifi, and can omit them to
 reduce downtime. You may want to keep them as a last change or issue a
 device reboot if the wifi command fails to bring you online.

--
Ticket URL: <https://dev.openwrt.org/ticket/9654#comment:567>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to