Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 00:54:29 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-wireless@freebsd.org
Subject:   New ath code works well as AP
Message-ID:  <1311732708.20120815005429@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-wireless.

 My router gives me stable 2MiB/s transfer from wire to air now, with
r239228 (client is 802.11g, so it is very resonable speed!)

 This revision has other quirks, but ath works as good as never
before.

 Thank you, Adrian!

 Some dmesg with enabled reset debug (dev.ath.0.debug=4294967328) is here:

ath0: ath_init: if_flags 0x8803
ath0: ath_stop_locked: invalid 0 if_flags 0x8803
ath0: ath_init: imask=0xe0000071
ath0: ath_txq_update: Q1 qflags 0xf aifs 3 cwmin 15 cwmax 63 burstTime 0
ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0
ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008
ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504
ath0: ath_chan_set: 1 (2412 MHz, flags 0x10480)
ath0: ath_legacy_stoprecv: rx queue 0x20b8000, link 0xd58c42a0
ath0: ath_stoptxdma: tx queue [9] 0, link 0
ath0: ath_tx_stopdma: tx queue [0] 0, link 0
ath0: ath_tx_stopdma: tx queue [1] 0, link 0
ath0: ath_tx_stopdma: tx queue [2] 0, link 0
ath0: ath_tx_stopdma: tx queue [3] 0, link 0
ath0: ath_tx_stopdma: tx queue [8] 0, link 0
ath0: ath_stoptxdma: tx queue [9] 0, link 0
ath0: ath_tx_stopdma: tx queue [0] 0, link 0
ath0: ath_tx_stopdma: tx queue [1] 0, link 0
ath0: ath_tx_stopdma: tx queue [2] 0, link 0
ath0: ath_tx_stopdma: tx queue [3] 0, link 0
ath0: ath_tx_stopdma: tx queue [8] 0, link 0
ath0: ath_txq_update: Q1 qflags 0xf aifs 2 cwmin 7 cwmax 1023 burstTime 2048
ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0
ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008
ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504
ath0: ath_setslottime: chan 2412 MHz flags 0x10480 short slot, 9 usec
ath0: ath_stop_locked: invalid 0 if_flags 0x8802
ath0: ath_stoptxdma: tx queue [9] 0x1bfd000, link 0
ath0: ath_tx_stopdma: tx queue [0] 0, link 0
ath0: ath_tx_stopdma: tx queue [1] 0x1b89480, link 0
ath0: ath_tx_stopdma: tx queue [2] 0, link 0
ath0: ath_tx_stopdma: tx queue [3] 0, link 0
ath0: ath_tx_stopdma: tx queue [8] 0, link 0
ath0: ath_legacy_stoprecv: rx queue 0x20ba540, link 0xd58ba4e0
ath0: ath_init: if_flags 0x8803
ath0: ath_stop_locked: invalid 0 if_flags 0x8803
ath0: ath_init: imask=0xe0000071
ath0: ath_txq_update: Q1 qflags 0xf aifs 3 cwmin 15 cwmax 63 burstTime 0
ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0
ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008
ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504
ath0: ath_chan_set: 1 (2412 MHz, flags 0x10480)
ath0: ath_txq_update: Q1 qflags 0xf aifs 2 cwmin 7 cwmax 1023 burstTime 2048
ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0
ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008
ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504
ath0: ath_setslottime: chan 2412 MHz flags 0x10480 short slot, 9 usec
>> System load finished here
ath0: stuck beacon; resetting (bmiss count 4)
ath0: ath_reset: called
ath0: ath_stoptxdma: tx queue [9] 0x1bfd000, link 0
ath0: ath_tx_stopdma: tx queue [0] 0, link 0
ath0: ath_tx_stopdma: tx queue [1] 0x1be32c0, link 0xcdbe58a0
ath0: ath_tx_stopdma: tx queue [2] 0, link 0
ath0: ath_tx_stopdma: tx queue [3] 0, link 0
ath0: ath_tx_stopdma: tx queue [8] 0x1b9c1c0, link 0
Q1[  0] (DS.V:0xcdbe2f00 DS.P:0x1be2f00) L:01be2f60 D:17ab333e F:0001 !
        Seq: 4512 swtry: 0 ADDBAW?: 0 DOBAW?: 0
        413f0612 0000902c 24348000 1b0e090d 022c0180 315a02d8
        08000000 0006318c 00000000 3f000000 3f000000 3f000000 00000000 00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 (DS.V:0xcdbe2f60 DS.P:0x1be2f60) L:01be32c0 D:13826010 F:0001 !
        Seq: 4512 swtry: 0 ADDBAW?: 0 DOBAW?: 0
        00000000 000005dc 24348000 1b0e090d aa55aa55 aa55aa55
        aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 00808080 00000002
        3e40fe08 c1709269 fbf00000 80808080 00000000 00000000 00000000 00000c89
  [end]
Q1[  0] (DS.V:0xcdbe32c0 DS.P:0x1be32c0) L:01be3320 D:1445073e F:0001
        Seq: 4528 swtry: 0 ADDBAW?: 0 DOBAW?: 0
        413f0612 0000902c 24348000 1b0e090d 022c0180 315a02d8
        08000000 0006318c 00000000 3f000000 3f000000 3f000000 00000000 00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 (DS.V:0xcdbe3320 DS.P:0x1be3320) L:01be3680 D:17abc010 F:0001
        Seq: 4528 swtry: 0 ADDBAW?: 0 DOBAW?: 0
        00000000 000005dc 24348000 1b0e090d aa55aa55 aa55aa55
        aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 00000000 00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [end]
ath0: ath_legacy_stoprecv: rx queue 0x20bb2a0, link 0xd58bb240


-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1311732708.20120815005429>