Skip to contentSkip to conversation

Packet loss regression with Atheros AR9280

ath9k-devel Jan Sundman 5 participants 5 messages Aug 13, 2011 – Aug 15, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'm not sure whether you have found a solution to this issue yet but I thought that I should share my findings. I'm running Arch linux on my laptop which have the AR9280 and I saw massive packet loss as well.

I noticed however that this _only_ occurred when the laptop was on battery power. So it seems to be due to some power save functionality for the card.

"iwconfig wlan0 power off" seems to fix it so I added this to my startup script and this fixes it. This is of course not a optimal solution but may point you in the right direction on fixing the problem.

Br,

/Jan

Quoted 1 line

On 12 August 2011 10:27, Robert O'Callahan ><[email protected]>

Quoted 19 lines · wrote:
Quoted 2 lines

Anything I can get building with this kernel, I guess. Any particular version I should try?

I'd suggest going back a month at a time
(http://www.orbit-lab.org/kernel/compat-wireless-2.6/2011/), >try each until you find one that works, then report >"compat-wireless X works, compat-wireless Y doesn't". That'll be a good way to >test multiple copies of the development wireless tree.

If someone Fedora-clued knows which version(s) of the >wireless code are involved with Robert's good and bad behaviour >reports, that'll also help.

Anything to kick-start a git bisect :-)

Ciao,

Adrian

#1 lore raw

Am 13.08.2011 13:21, schrieb Jan Sundman:

Quoted 10 lines

Hi,

I'm not sure whether you have found a solution to this issue yet but I thought that I should share my findings. I'm running Arch linux on my laptop which have the AR9280 and I saw massive packet loss as well.

I noticed however that this _only_ occurred when the laptop was on battery power. So it seems to be due to some power save functionality for the card.

Quoted 7 lines

"iwconfig wlan0 power off" seems to fix it so I added this to my startup script and this fixes it. This is of course not a optimal solution but may point you in the right direction on fixing the problem.

Br,

/Jan

It looks like I'm having the same issue with an AR9285. In my university's wireless network the packet loss is noticeable higher with power management enabled. But at home everything is fine.

Signature · 2 lines
Regards,
Richard Sch?tz
#2 lore raw
Quoted 3 lines · Richard Sch?tz

It looks like I'm having the same issue with an AR9285. In my university's wireless network the packet loss is noticeable higher with power management enabled. But at home everything is fine.

Can you please file a kernel bugzilla report for this, so it doesn't get lost?

Adrian

#3 lore raw
In reply to Jan Sundman
Quoted 3 lines · Jan Sundman

"iwconfig wlan0 power off" seems to fix it so I added this to my startup script and this fixes it. This is of course not a optimal solution but may point you in the right direction on fixing the problem.

That doesn't help with my problem. Thanks for the idea though.

Rob
--
"If we claim to be without sin, we deceive ourselves and the truth is not in us. If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness. If we claim we have not sinned, we make him out to be a liar and his word is not in us." [1 John 1:8-10]

#4 lore raw
In reply to Jan Sundman
Quoted 5 lines · Jan Sundman

Hi,

I'm not sure whether you have found a solution to this issue yet but I thought that I should share my findings. I'm running Arch linux on my laptop which have the AR9280 and I saw massive packet loss as well.

is it an in built card?

Quoted 4 lines

I noticed however that this _only_ occurred when the laptop was on battery power. So it seems to be due to some power save functionality for the card.

if its an in built card, then
this looks like a platform issue, if so please use
http://www.kernel.org/pub/linux/kernel/people/mcgrof/scripts/cpudmalatency.c
http://johannes.sipsolutions.net/files/netlatency.c.txt

Quoted 37 lines

"iwconfig wlan0 power off" seems to fix it so I added this to my startup script and this fixes it. This is of course not a optimal solution but may point you in the right direction on fixing the problem.

Br,

/Jan

Quoted 1 line

On 12 August 2011 10:27, Robert O'Callahan ><[email protected]>

Quoted 13 lines · wrote:
Quoted 2 lines

Anything I can get building with this kernel, I guess. Any particular version I should try?

I'd suggest going back a month at a time
(http://www.orbit-lab.org/kernel/compat-wireless-2.6/2011/), >try each until you find one that works, then report >"compat-wireless X works, compat-wireless Y doesn't". That'll be a good way to >test multiple copies of the development wireless tree.

If someone Fedora-clued knows which version(s) of the >wireless code are involved with Robert's good and bad behaviour >reports, that'll also help.

Quoted 6 lines

Anything to kick-start a git bisect :-)

Ciao,

Adrian

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 1 line
shafi