Date: Thu, 20 Sep 2012 17:47:28 GMT From: Adrian Chadd <adrian@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/171816: [ath] [net80211] BAR TX overlapping with key renegotiation is causing issues? Message-ID: <201209201747.q8KHlSWH047948@red.freebsd.org> Resent-Message-ID: <201209201750.q8KHoD4h050607@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171816 >Category: kern >Synopsis: [ath] [net80211] BAR TX overlapping with key renegotiation is causing issues? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 20 17:50:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Adrian Chadd >Release: -HEAD >Organization: >Environment: FreeBSD freebsd-wifi-build 10.0-CURRENT FreeBSD 10.0-CURRENT #62 r240628:240733M: Wed Dec 31 16:00:00 PST 1969 adrian@dummy:/home reebsd/svn/src/sys/RSPRO mips >Description: I'm seeing disconnects via hostapd whenever I'm doing a TCP iperf test. I think this is a recent thing (from CLRDMASK/filtered frame changes.) See: ath0: ath_tx_tid_bar_suspend: tid=0xc0503e84, bar_wait=0, bar_tx=0, called ath0: ath_tx_tid_bar_tx_ready: tid=0xc0503e84 (0), bar ready ath0: ath_tx_tid_bar_tx: tid=0xc0503e84, called ath0: ath_tx_tid_bar_tx: tid=0xc0503e84, new BAW left edge=248 ath0: ath_bar_response: called; tap=0xc05022c0, atid=0xc0503e84, txa_tid=0, atid->tid=0, status=0, attempts=1 ath0: ath_tx_tid_bar_unsuspend: tid=0xc0503e84, called wlan0: [8c:7b:9d:d6:65:ba] station deauth via MLME (reason 2) wlan0: [8c:7b:9d:d6:65:ba] station with aid 1 leaves ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0428e50: addbaw=0, dobaw=1, seqno=2957, retry=0 ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0428e50: txq axq_depth=2, axq_aggr_depth=2 ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0428e50: tid txq_depth=4 hwq_depth=2, bar_wait=0, isfiltered=0 ath0: ath_tx_tid_drain_print: node 0xc0502000: tid 0: sched=0, paused=0, incomp=0, baw_head=60, baw_tail=65 txa_start=2952, ni_txseqs FRDS 00:0d:60:38:72:88->8c:7b:9d:d6:65:ba(00:03:7f:0c:e8:19) data QoS [TID 0] WEP [IV d8 52 00 b5 00 00 KID 0] 0M 8842 0000 8c7b 9dd6 65ba 0003 7f0c e819 000d 6038 7288 d0b8 0000 0000 d852 0020 b500 0000 aaaa 0300 0000 0800 ath0: ath_tx_tid_drain_pkt: wasn't added: seqno 2957 ath0: ath_tx_tid_drain_pkt: wasn't added: seqno 2958 ath0: ath_tx_tid_drain_pkt: wasn't added: seqno 2959 ath0: ath_tx_tid_drain_pkt: wasn't added: seqno 2960 ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0441110: addbaw=0, dobaw=0, seqno=0, retry=0 ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0441110: txq axq_depth=2, axq_aggr_depth=2 ath0: ath_tx_tid_drain_print: node 0xc0502000: bf=0xc0441110: tid txq_depth=1 hwq_depth=0, bar_wait=0, isfiltered=0 ath0: ath_tx_tid_drain_print: node 0xc0502000: tid 16: sched=0, paused=0, incomp=0, baw_head=0, baw_tail=0 txa_start=-1, ni_txseqs=29 NODS 00:03:7f:0c:e8:19->8c:7b:9d:d6:65:ba(00:03:7f:0c:e8:19) deauth 0M c000 0000 8c7b 9dd6 65ba 0003 7f0c e819 0003 7f0c e819 c001 0200 ath0: ath_tx_default_comp: bf 0xc0428e50: seqno 2957: dobaw should've been cleared! ath0: ath_tx_default_comp: bf 0xc042df10: seqno 2958: dobaw should've been cleared! ath0: ath_tx_default_comp: bf 0xc042a4a0: seqno 2959: dobaw should've been cleared! ath0: ath_tx_default_comp: bf 0xc043ab10: seqno 2960: dobaw should've been cleared! wlan0: [8c:7b:9d:d6:65:ba] RSN ie: mc 3/0 uc 3/0 key 2 caps 0x0 wlan0: [8c:7b:9d:d6:65:ba] station associated at aid 1: short preamble, short slot time, QoS, HT40 (+AMPDU) wlan0: [8c:7b:9d:d6:65:ba] station unauthorize via MLME wlan0: [8c:7b:9d:d6:65:ba] station authorize via MLME >How-To-Repeat: * configure 802.11n AP + WPA2-PSK * wlandebug +assoc +state * sysctl dev.ath.X.debug=0x10000000 (BAR SW TX debug) * iperf TCP test from wireless STA -> wired server * wait >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209201747.q8KHlSWH047948>