could you please send me an attachment of the
net-wireless-ath9k-Fix-TX-hang-issue-with-Atheros-chipsets.patch patch file
i want to try testing it

On Sun, Aug 23, 2009 at 8:24 AM, Thomas Backlund <[email protected]> wrote:

> Hi,
>
> I'm tracking a bug in ath9k in 2.6.31-rc7 series, and have been
> cherrypicking patches from wireless-testing to try to get a stable ath9k...
>
> The problem is that if the user configures the interface it works, but have
> a weak signal and tends to drop the connection.
>
> If he reboots, the signal is even weaker, and also drops the connection
> faster. He has to reconfigure the interface to get it back up.
>
> So here is what I have applied:
>
> net-wireless-ath9k-downgrade-ASSERT-in-ath_clone_txbuf.patch
> net-wireless-ath9k-Manipulate-and-report-the-correct-RSSI.patch
> net-wireless-ath9k-RX-stucks-during-heavy-traffic-in-HT40-mode.patch
> net-wireless-ath9k-Handle-tx-desc-shortage-more-appropriately.patch
> net-wireless-ath9k-Trivial-fix-in-Kconfig.patch
> net-wireless-ath9k-Update-beacon-RSSI.patch
> net-wireless-ath9k-Fix-bug-in-PCI-resume.patch
> net-wireless-ath9k-Set-HW-state-properly.patch
> net-wireless-ath9k-Fix-bug-in-retrieving-average-beacon-rssi.patch
>
>
> Now with theese patches the signal strength is correct, and the connection
> survives the reboot, but does disconnect when transfer
> load increases.
>
> The good part of the above patches is that only a simple network restart
> is needed to get the connection back...
> (In some cases the connection resets itself and starts working again)
>
> The fix for the connection dropping is to apply the patch:
>
> net-wireless-ath9k-Fix-TX-hang-issue-with-Atheros-chipsets.patch
>
> with this patch applied the link is stable, and keeps working no
> matter how much data is pushed through it ...
>
> But the patch has bad side-effects....
> The transfers are slower, and loading webpages in firefox takes longer...
> It also makes cpu usage higher...
>
> So... What am I missing to get this stable for 2.6.31 ?
> (going full wireless-testing is not an option, as this intended for
>  main distribution kernel.)
>
> And to help debug the connection dropping issue, attached is a kernel
> 2.6.31-rc7 log with "debug=0xffffffff" (and without the last patch)
>
> seems that AR_INTR_SYNC_LOCAL_TIMEOUT happends just before the link
> dies...
>
> I seem to recall a fix for that, but cant find it now...
>
> --
> Thomas
>
> Aug 22 22:00:48 localhost klogd: cfg80211: Calling CRDA to update world
> regulatory domain
> Aug 22 22:00:48 localhost klogd: cfg80211: World regulatory domain updated:
> Aug 22 22:00:48 localhost klogd: ^I(start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> Aug 22 22:00:48 localhost klogd: ^I(2402000 KHz - 2472000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> Aug 22 22:00:48 localhost klogd: ^I(2457000 KHz - 2482000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> Aug 22 22:00:48 localhost klogd: ^I(2474000 KHz - 2494000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> Aug 22 22:00:48 localhost klogd: ^I(5170000 KHz - 5250000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> Aug 22 22:00:48 localhost klogd: ^I(5735000 KHz - 5835000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> Aug 22 22:00:48 localhost klogd: ath9k 0000:03:00.0: PCI INT A -> GSI 17
> (level, low) -> IRQ 17
> Aug 22 22:00:49 localhost klogd: Registered led device: ath9k-phy0::radio
> Aug 22 22:00:49 localhost klogd: Registered led device: ath9k-phy0::assoc
> Aug 22 22:00:49 localhost klogd: Registered led device: ath9k-phy0::tx
> Aug 22 22:00:49 localhost klogd: Registered led device: ath9k-phy0::rx
> Aug 22 22:00:49 localhost klogd: phy0: Atheros AR9280 MAC/BB Rev:2 AR5133
> RF Rev:d0: mem=0xffffc900110e0000, irq=17
> Aug 22 22:00:53 localhost klogd: cfg80211: Calling CRDA for country: FR
> Aug 22 22:00:53 localhost klogd: cfg80211: Regulatory domain changed to
> country: FR
> Aug 22 22:00:53 localhost klogd: ^I(start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> Aug 22 22:00:53 localhost klogd: ^I(2402000 KHz - 2482000 KHz @ 40000 KHz),
> (N/A, 2000 mBm)
> Aug 22 22:00:53 localhost klogd: ^I(5170000 KHz - 5250000 KHz @ 40000 KHz),
> (N/A, 2000 mBm)
> Aug 22 22:00:53 localhost klogd: ^I(5250000 KHz - 5330000 KHz @ 40000 KHz),
> (N/A, 2000 mBm)
> Aug 22 22:00:53 localhost klogd: ^I(5490000 KHz - 5710000 KHz @ 40000 KHz),
> (N/A, 2700 mBm)
> Aug 22 22:00:53 localhost klogd: ADDRCONF(NETDEV_UP): wlan0: link is not
> ready
> Aug 22 22:00:53 localhost klogd:
> Aug 22 22:00:54 localhost klogd: ADDRCONF(NETDEV_CHANGE): wlan0: link
> becomes ready
> Aug 22 22:00:56 localhost klogd:
> Aug 22 22:00:57 localhost klogd:
> Aug 22 22:00:58 localhost klogd: NET: Registered protocol family 17
> Aug 22 22:00:58 localhost klogd:
> Aug 22 22:00:59 localhost klogd:
> Aug 22 22:00:59 localhost klogd:
> Aug 22 22:01:02 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:01:02 localhost klogd: tx queue 1 (a4fa2d20), link
> ffff8800a4fa2d20
> Aug 22 22:01:02 localhost klogd:
> Aug 22 22:01:04 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:01:19 localhost klogd: tx queue 1 (a4fa46a8), link
> ffff8800a4fa46a8
> Aug 22 22:01:22 localhost klogd: TX complete: skb: ffff8800a4e14900
> Aug 22 22:01:23 localhost klogd: 0x0 => 0xf4041071
> Aug 22 22:01:38 localhost klogd: transmitting packet, skb: ffff8800ad5fa700
> Aug 22 22:01:38 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:01:38 localhost klogd: link[1] (ffff8800a4fa8cb8)=50
> (ffff8800a4fa8d50)
> Aug 22 22:01:42 localhost klogd: transmitting packet, skb: ffff8800aa9c6d00
> Aug 22 22:02:02 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:02 localhost klogd: link[1] (ffff8800a4faeeb0)=48
> (ffff8800a4faef48)
> Aug 22 22:02:02 localhost klogd: Enable TXE on queue: 1
> Aug 22 22:02:09 localhost klogd:
> Aug 22 22:02:09 localhost klogd:
> Aug 22 22:02:23 localhost klogd: transmitting packet, skb: ffff8800af0d0c00
> Aug 22 22:02:23 localhost klogd: new IMR 0x0
> Aug 22 22:02:23 localhost klogd: enable IER
> Aug 22 22:02:24 localhost klogd: transmitting packet, skb: ffff8800a4e16e00
> Aug 22 22:02:24 localhost klogd: qnum: 1, txq depth: 3
> Aug 22 22:02:24 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:02:24 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:24 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:02:24 localhost klogd: new IMR 0x0
> Aug 22 22:02:27 localhost klogd: transmitting packet, skb: ffff88008a9396f8
> Aug 22 22:02:27 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:02:30 localhost klogd: disable IER
> Aug 22 22:02:31 localhost klogd: transmitting packet, skb: ffff88007024d900
> Aug 22 22:02:31 localhost klogd: Enable TXE on queue: 1
> Aug 22 22:02:31 localhost klogd: transmitting packet, skb: ffff8800a75df000
> Aug 22 22:02:34 localhost klogd: qnum: 1, txq depth: 3
> Aug 22 22:02:34 localhost klogd: new IMR 0x0
> Aug 22 22:02:37 localhost klogd: disable IER
> Aug 22 22:02:37 localhost klogd: qnum: 1, txq depth: 1
> Aug 22 22:02:37 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:40 localhost klogd: link[1] (ffff8800a4fa7b80)=18
> (ffff8800a4fa7c18)
> Aug 22 22:02:40 localhost klogd: Enable TXE on queue: 1
> Aug 22 22:02:41 localhost klogd: transmitting packet, skb: ffff8800a206fd00
> Aug 22 22:02:41 localhost klogd: disable IER
> Aug 22 22:02:41 localhost klogd: disable IER
> Aug 22 22:02:41 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:41 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:41 localhost klogd: disable IER
> Aug 22 22:02:41 localhost klogd: link[1] (ffff8800a4faa348)=e0
> (ffff8800a4faa3e0)
> Aug 22 22:02:41 localhost klogd: new IMR 0x0
> Aug 22 22:02:41 localhost klogd: qnum: 1, txq depth: 3
> Aug 22 22:02:41 localhost klogd: new IMR 0x918414b4
> Aug 22 22:02:41 localhost klogd: transmitting packet, skb: ffff8800af0d0300
> Aug 22 22:02:43 localhost klogd: link[1] (ffff8800a4faca78)=10
> (ffff8800a4facb10)
> Aug 22 22:02:43 localhost klogd: transmitting packet, skb: ffff8800a4dac200
> Aug 22 22:02:43 localhost klogd: new IMR 0x0
> Aug 22 22:02:43 localhost klogd: qnum: 1, txq depth: 2
> Aug 22 22:02:46 localhost klogd: AR_IMR 0x918414b4 IER 0x1
> Aug 22 22:02:46 localhost klogd: AR_IMR 0x918414b4 IER 0x1
> Aug 22 22:02:46 localhost klogd: enable IER
> Aug 22 22:02:46 localhost klogd: Writing ofdmbase=12582412
> cckbase=12582712
> Aug 22 22:02:47 localhost klogd: enable IER
> Aug 22 22:02:47 localhost klogd: AR_INTR_SYNC_LOCAL_TIMEOUT
> Aug 22 22:02:48 localhost klogd: AR_INTR_SYNC_LOCAL_TIMEOUT
> Aug 22 22:02:48 localhost klogd: 0x0 => 0xf4041071
> Aug 22 22:02:49 localhost klogd: CE: hpet increasing min_delta_ns to 15000
> nsec
> Aug 22 22:02:52 localhost klogd: 0x0 => 0xf4041071
> Aug 22 22:02:53 localhost klogd: new IMR 0x918414b4
> Aug 22 22:02:53 localhost klogd: 0x0 => 0xf4041071
> Aug 22 22:02:54 localhost klogd: 0xf4041071 => 0x0
> Aug 22 22:02:54 localhost klogd: enable IER
> Aug 22 22:02:54 localhost klogd: AWAKE -> AWAKE
> Aug 22 22:02:55 localhost klogd: ADDRCONF(NETDEV_UP): wlan0: link is not
> ready
> Aug 22 22:03:07 localhost klogd:
>
> _______________________________________________
> ath9k-devel mailing list
> [email protected]
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to