Skip to contentSkip to conversation

Attempting to restart tx logic - no longer logged, still causing problems

ath9k-devel Bartek Knapek 2 participants 2 messages Jul 30, 2011 – Aug 2, 2011

lore
Share & tools
lore
#0 lore raw

Hi!

I am using ath9k in AP mode. Several times a day clients loose connectivity for a short while, which often causes e.g. the established TCP/IP sessions to be dropped.

When running 2.6.39.3 I was getting "Attempting to restart tx logic" each time the problem occurred. I have upgraded compat wireless to 2011-07-28. Now I no longer see the entries in the logs, but I keep loosing connectivity as before.

It the problem known?
Are there any patches I could try?

I am using TL-WN781N on GA-H67E-USB3-B3, i3-2100T.

lspci for the wlan card says:
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Atheros Communications Inc. Device 30a1
Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at fbbf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
Capabilities: [170] Power Budgeting <?>
Kernel driver in use: ath9k
Kernel modules: ath9k

Before upgrading compat I was seeing such entries in the logs:

[253951.809823] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4990f3c pending frames: 1 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253952.810527] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4990f3c pending frames: 2 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253953.811218] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4990f3c pending frames: 2 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253954.811923] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4997aa8 pending frames: 2 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253955.812627] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4996c34 pending frames: 2 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253996.841346] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4996ef0 pending frames: 1 axq_acq empty: 1 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253997.842036] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f49907d0 pending frames: 26 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253998.842723] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f49989e4 pending frames: 52 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[253999.843441] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f49989e4 pending frames: 74 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[254000.844144] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f49989e4 pending frames: 76 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[254001.844840] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f499b0f4 pending frames: 83 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[254002.845548] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 
axq_link: f4992a94 pending frames: 99 axq_acq empty: 0 stopped: 0 
axq_depth: 0  Attempting to restart tx logic.
[254003.846245] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2 

axq_link: f4994a9c pending frames: 103 axq_acq empty: 0 stopped: 0
axq_depth: 0 Attempting to restart tx logic.

I am running 802.11n, according to the following hostapd.conf:
interface=wlan0

driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=0
ssid=matylda
country_code=PL
ieee80211d=1
hw_mode=g
channel=1
beacon_int=1000
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=1 accept_mac_file=/etc/hostapd.accept auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ieee80211n=1 ht_capab=[HT40-][HT40+][TX-STBC][RX-STBC1][DSSS_CCK-40] eapol_key_index_workaround=0 own_ip_addr=127.0.0.1
wpa=2
wpa_psk=xxx
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP

BR/Bartek

#1 lore raw
Quoted 10 lines · Bartek Knapek

Hi!

I am using ath9k in AP mode. Several times a day clients loose connectivity for a short while, which often causes e.g. the established TCP/IP sessions to be dropped.

When running 2.6.39.3 I was getting "Attempting to restart tx logic" each time the problem occurred. I have upgraded compat wireless to 2011-07-28. Now I no longer see the entries in the logs, but I keep loosing connectivity as before.

those messages are removed by the patch
ath9k: remove the pending frames ath_txq_schedule workaround

Quoted 3 lines

It the problem known?
Are there any patches I could try?

have you tried with the latest-hostapd
http://hostap.epitest.fi/cvs.html

i will try it out .. if you can get some debug information it will be helpful
http://linuxwireless.org/en/users/Drivers/ath9k/debug

Quoted 122 lines

I am using TL-WN781N on GA-H67E-USB3-B3, i3-2100T.

lspci for the wlan card says:
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
? ? ? ? Subsystem: Atheros Communications Inc. Device 30a1
? ? ? ? Flags: bus master, fast devsel, latency 0, IRQ 18
? ? ? ? Memory at fbbf0000 (64-bit, non-prefetchable) [size=64K] ? ? ? ? Capabilities: [40] Power Management version 3
? ? ? ? Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- ? ? ? ? Capabilities: [60] Express Legacy Endpoint, MSI 00
? ? ? ? Capabilities: [100] Advanced Error Reporting
? ? ? ? Capabilities: [140] Virtual Channel <?>
? ? ? ? Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12 ? ? ? ? Capabilities: [170] Power Budgeting <?>
? ? ? ? Kernel driver in use: ath9k
? ? ? ? Kernel modules: ath9k

Before upgrading compat I was seeing such entries in the logs:

[253951.809823] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4990f3c pending frames: 1 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253952.810527] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4990f3c pending frames: 2 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253953.811218] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4990f3c pending frames: 2 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253954.811923] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4997aa8 pending frames: 2 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253955.812627] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4996c34 pending frames: 2 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253996.841346] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4996ef0 pending frames: 1 axq_acq empty: 1 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253997.842036] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f49907d0 pending frames: 26 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253998.842723] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f49989e4 pending frames: 52 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[253999.843441] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f49989e4 pending frames: 74 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[254000.844144] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f49989e4 pending frames: 76 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[254001.844840] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f499b0f4 pending frames: 83 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[254002.845548] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2
axq_link: f4992a94 pending frames: 99 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.
[254003.846245] ath: txq: f4fdd9d8 axq_qnum: 2, mac80211_qnum: 2

axq_link: f4994a9c pending frames: 103 axq_acq empty: 0 stopped: 0
axq_depth: 0 ?Attempting to restart tx logic.

I am running 802.11n, according to the following hostapd.conf:
?interface=wlan0

?driver=nl80211
?logger_syslog=-1
?logger_syslog_level=2
?logger_stdout=-1
?logger_stdout_level=2 ?dump_file=/tmp/hostapd.dump ?ctrl_interface=/var/run/hostapd ?ctrl_interface_group=0
?ssid=matylda
?country_code=PL
?ieee80211d=1
?hw_mode=g
?channel=1
?beacon_int=1000
?dtim_period=2
?max_num_sta=255
?rts_threshold=2347
?fragm_threshold=2346
?macaddr_acl=1 ?accept_mac_file=/etc/hostapd.accept ?auth_algs=3
?ignore_broadcast_ssid=0
?wmm_enabled=1
?wmm_ac_bk_cwmin=4
?wmm_ac_bk_cwmax=10
?wmm_ac_bk_aifs=7
?wmm_ac_bk_txop_limit=0
?wmm_ac_bk_acm=0
?wmm_ac_be_aifs=3
?wmm_ac_be_cwmin=4
?wmm_ac_be_cwmax=10
?wmm_ac_be_txop_limit=0
?wmm_ac_be_acm=0
?wmm_ac_vi_aifs=2
?wmm_ac_vi_cwmin=3
?wmm_ac_vi_cwmax=4
?wmm_ac_vi_txop_limit=94
?wmm_ac_vi_acm=0
?wmm_ac_vo_aifs=2
?wmm_ac_vo_cwmin=2
?wmm_ac_vo_cwmax=3
?wmm_ac_vo_txop_limit=47
?wmm_ac_vo_acm=0
?ieee80211n=1 ?ht_capab=[HT40-][HT40+][TX-STBC][RX-STBC1][DSSS_CCK-40] ?eapol_key_index_workaround=0 ?own_ip_addr=127.0.0.1
?wpa=2
?wpa_psk=xxx
?wpa_key_mgmt=WPA-PSK
?wpa_pairwise=TKIP CCMP

BR/Bartek

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

Signature · 1 line
shafi