New hardware, old problem: stuck beacon when here is WiFi traffic

Adrian Chadd adrian at freebsd.org
Tue Apr 30 15:41:14 UTC 2013


On 30 April 2013 01:24, Lev Serebryakov <lev at freebsd.org> wrote:
> Hello, Adrian.
> You wrote 30 апреля 2013 г., 8:53:00:
>
> AC> Any follow-up with the latest stuff in -HEAD? I'd like to see if the
> AC> hardware queue is behaving how I think it is.
>   Sorry, was busy yesterday.
>   Sources: r250041, TDMA is enabled in kernel config.

Ok.

>   Warm-up:  120  seconds  of  TCP, throughput osculate between 50 and
>   100Mbit/, several BAR resets, no hangs.

Ok. But did it negotiate A-MPDU?

>   Test: 600 seconds of UDP. Throughput is 20Mbit/s. Hang on ~327s.
>   traffic generator stopped, single "forced bstuck" helps.
>
>   Log attached.
>
>
>  Please, note: low throughput for UDP on these revisions. It was not
>  so on older revisions, before all this additional debug stuff was
>  added, latest good I tried was something like r249333, and I don't
>  remember about r249767 (but I could try, firmware image is not
>  removed, and I don't have images between r249333 and r249333).

It's fine. We'll worry about aggregation later.

So here we go:

Apr 30 12:21:26 gateway kernel: ath0: ath_stoptxdma: tx queue [9]
0xd8c3000, link 0
Apr 30 12:21:26 gateway kernel: ath0: ath_tx_stopdma: tx queue [0] 0,
active=0, hwpending=0, flags 0x00000000, link 0
Apr 30 12:21:26 gateway kernel: ath0: ath_tx_stopdma: tx queue [1]
0xc720ed00, active=0, hwpending=0, flags 0x00000000, link 0
Apr 30 12:21:26 gateway kernel: ath0: ath_tx_stopdma: tx queue [2] 0,
active=0, hwpending=0, flags 0x00000000, link 0
Apr 30 12:21:26 gateway kernel: ath0: ath_tx_stopdma: tx queue [3]
0xd8bec00, active=0, hwpending=0, flags 0x00000000, link 0
Apr 30 12:21:26 gateway kernel: ath0: ath_tx_stopdma: tx queue [8]
0xc720d2c0, active=0, hwpending=0, flags 0x00000000, link 0

Notice how the hardware queue isn't active at all. There's frames in
the TXQ and the hardware points to the next frame to transmit (but you
didn't provide the whole list of frames that were in the TXQ, so I'm
going on what it said before.)

Hm..



Adrian


More information about the freebsd-wireless mailing list