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

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
Slacker
Posts: 55
Joined: Mon Aug 20, 2012 2:00 pm

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

Post 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.
Last edited by Slacker on Sat May 04, 2013 9:13 am, edited 3 times in total.

Slacker
Posts: 55
Joined: Mon Aug 20, 2012 2:00 pm

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

Post by Slacker »

Openwrt doesn't support @reboot. Use rc.local.

Oxide36
Posts: 1
Joined: Fri Mar 01, 2013 12:00 pm

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

Post 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?

Slacker
Posts: 55
Joined: Mon Aug 20, 2012 2:00 pm

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

Post 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.

Slacker
Posts: 55
Joined: Mon Aug 20, 2012 2:00 pm

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

Post 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
Last edited by Slacker on Sun Apr 21, 2013 11:09 am, edited 1 time in total.

peter9091
Posts: 1
Joined: Sat Apr 20, 2013 6:53 am

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

Post 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.
Peter

Post Reply