Page 1 of 1

ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Wed Feb 13, 2013 3:32 pm
by Slacker
1043ND v 1.7
This started happening to me on 1.5.9 after adding another heavy use client. I've dropped to 1.5.6, but it still happens.

All clients drop to 1Mbit and ping time shoots way up, packet loss also happens.
Apparently, it's a driver issue and people are still digging...
There's a possible workaround. I've implemented it and am monitoring.

https://dev.openwrt.org/ticket/12372#comment:19

Which is:

Code: Select all

echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
EDIT2: Setting gets lost on reboot, use rc.local

Note: The latest gargoyle git has CONFIG_KERNEL_DEBUG_FS enabled by default (Thanks Eric!) so if you snag the latest buid, it should allow disable_ani without any modification.

Re: ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Sun Feb 17, 2013 5:54 am
by Slacker
Openwrt doesn't support @reboot. Use rc.local.

Re: ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Fri Mar 01, 2013 12:07 pm
by Oxide36
I've been having this exact problem with my WR1043ND. Wifi is great for about 24 hours and then the bitrate drops to 1-5.5, I get packet loss, high ping, and very poor speed test results.

I was on 1.5.9 while having this problem, but it did not have the "debug" directory so I could not use the fix provided. I just flashed to 1.4.7 (which has the "debug" directory) and ran the fix to see if that fixes this issue.

Were you able to resolve this though?

Re: ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Wed Mar 13, 2013 7:28 am
by Slacker
Oxide36 wrote:I've been having this exact problem with my WR1043ND. Wifi is great for about 24 hours and then the bitrate drops to 1-5.5, I get packet loss, high ping, and very poor speed test results.

I was on 1.5.9 while having this problem, but it did not have the "debug" directory so I could not use the fix provided. I just flashed to 1.4.7 (which has the "debug" directory) and ran the fix to see if that fixes this issue.

Were you able to resolve this though?
No solution thus far... The latest build I tried, a week or so ago, only did away with the errors, while the connections still dropped to 1Mbit and there was no debug dirctory... I'm back on 1.5.6 with disable_ani until something is figured out.

Re: ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Mon Apr 01, 2013 6:33 pm
by Slacker
To enable "disable_ani" on newer builds.
I presume this works on all, but only tested on today's git pull (1/april)

Get the compile setup all done, then:

Copy usb_large to a new profile called debug_usb_large, edit "config"
Find CONFIG_KERNEL_DEBUG_FS that's commented out and change it to

Code: Select all

CONFIG_KERNEL_DEBUG_FS=y
This allows

Code: Select all

echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
workaround that helps connection issues with 1.5.6

Build with

Code: Select all

make FULL_BUILD=true ar71xx.debug_usb_large
Flashed and testing for wireless stability.

EDIT: Worked. Wireless is stable.

Images:
http://www.gargoyle-router.com/phpbb/vi ... 49&p=17868

Re: ar71xx drops to 1Mbit/packet loss - possible workaround.

Posted: Sat Apr 20, 2013 6:55 am
by peter9091
This is my first time I have visited right here. I discovered lots of interesting information in your forum. In the volume of comments on you, I guess I’m not alone! continue the actual impressive work.Good information, keep working man. I like your website. Cheers.