Skip to contentSkip to conversation

AR9390 tx hang.

ath9k-devel Metal Software 2 participants 2 messages Apr 7, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I have Freescale 1020 WLAN board with two Atheros AR9390 wlan cards. Board comes with Atheros binary which works quite well but I need to do some changes for our product so I decided to try with ath9k. I managed to compile and load all the modules in a board and I am getting two wlan interfaces.
First I decided use them as an station and associated to accesspoint. First basic test is just ping the accesspoint from board and that causes following problem.

ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 Attempting to restart tx logic.
ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 Attempting to restart tx logic.
ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 Attempting to restart tx logic. ... And this error continues as long as I shutdown the board.

This happens just after three successful ping packets. Any idea?

I am using latest stable compat-wireless-2.6.39-rc1-3.tar.bz2 packet. I tried to use bleeding edge packet but I could not load ath9k.ko module. And linux kernel is 2.6.32.

Yours,

Arsi Koutaniemi

#1 lore raw
Quoted 17 lines · Metal Software

Hello,

I have Freescale 1020 WLAN board with two Atheros AR9390 wlan cards. Board comes with Atheros binary which works quite well but I need to do some changes for our product so I decided to try with ath9k. I managed to compile and load all the modules in a board and I am getting two wlan interfaces.
First I decided use them as an station and associated to accesspoint. First basic test is just ping the accesspoint from board and that causes following problem.

ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 ?Attempting to restart tx logic.
ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 ?Attempting to restart tx logic.
ath: txq: ef9797dc axq_qnum: 2, mac80211_qnum: 2 axq_link: (null) pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 ?Attempting to restart tx logic. ... And this error continues as long as I shutdown the board.

Quoted 5 lines

This happens just after three successful ping packets. ?Any idea?

I am using latest stable compat-wireless-2.6.39-rc1-3.tar.bz2 packet. I tried to use bleeding edge packet but I could not load ath9k.ko module. And linux kernel is 2.6.32.

The error message is obsolete in the latest code with this patch

commit a9cbe96d19861755680a712b709cccac5dc6aca8

Author: Felix Fietkau <[email protected]>
Date:   Sat Mar 19 13:55:43 2011 +0100

ath9k: remove the pending frames ath_txq_schedule workaround

This workaround called ath_txq_schedule whenever there were still pending frames for a queue, but the queue depth was zero. Because of its its high false positive probability (e.g. with paused TIDs) and because it is in the way of other pending work (AP powersave fixes), it is better to remove this code entirely.

please check with the compat wireless dated 31 april, that might help
http://linuxwireless.org/download/compat-wireless-2.6/
further there are few power save fixes that are yet to be merged, you can also try with these patches
https://patchwork.kernel.org/patch/689201/
https://patchwork.kernel.org/patch/689211/

if the issue still persists please report back to us

Quoted 10 lines

Yours,

Arsi Koutaniemi

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