From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 30 00:23:34 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E161E1065673; Mon, 30 Jul 2012 00:23:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF628FC0A; Mon, 30 Jul 2012 00:23:34 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so9266232pbb.13 for ; Sun, 29 Jul 2012 17:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=JQhVurWKAxC6+/eg7VpTPpo87/VFMmjzd3Ct7+/+U7U=; b=RFzQQCgPZrT01CxtOKOUt71q5Iw3G1RksV1u/rRx8daM3aHykd2QwqWKYxfgdBpTIF 2nqF1doHjqKXK1UcOHdT5DegxNWcawnaCrUFOIXFFQHmn2gmBiVaLrZsqK1snPjmwApU CDqsh6I2odiETVz2tJxxSoLw9LMQ/SR6H7Xfer1l365mSF4nn6I+MBzj90ncIyCq99Gl MAeYzgP9HnWpeNSNHe88OLbaxvCMWrcwa9Fplrj4VZzqsr46dSmP7lKO1Dx1wX2ciiNE vBylWnl0/es5zBsJWtzqQAy+WzKg1623fJC5md2hnhajV1/3E/D3f/cRUL+OR7kz3eZT ktSw== MIME-Version: 1.0 Received: by 10.68.212.138 with SMTP id nk10mr31149280pbc.93.1343607814227; Sun, 29 Jul 2012 17:23:34 -0700 (PDT) Received: by 10.68.66.136 with HTTP; Sun, 29 Jul 2012 17:23:34 -0700 (PDT) In-Reply-To: <402841776.20120729153930@serebryakov.spb.ru> References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> <1966637204.20120713194935@serebryakov.spb.ru> <5862675.20120713203432@serebryakov.spb.ru> <7750188.20120716011053@serebryakov.spb.ru> <1468023399.20120723175744@serebryakov.spb.ru> <978320748.20120729145152@serebryakov.spb.ru> <402841776.20120729153930@serebryakov.spb.ru> Date: Sun, 29 Jul 2012 17:23:34 -0700 Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2012 00:23:35 -0000 Hm, I've seen that bss occupancy change spam. There's another project for someone to figure out. Why is it flipping so quickly? On 29 July 2012 04:39, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 29 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 15:23:30: > > AC> I saw, thanks. > AC> Please enable reset debugging too - sysctl dev.ath.X.debug=3D0x20. > Done :) I'll post new debug messages as soon as they'll appear. > > BTW, I've tried association debugging and got a TONS of such > messages when client (Blackberry PlayBook) goes to sleep (but it is > still associated): > > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x11 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x13 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x11 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x13 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x11 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x13 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x11 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x13 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x11 > Jul 29 15:29:05 gateway kernel: wlan0: [00:0c:42:64:69:92] HT bss occupan= cy change: 1 sta, 1 ht, 0 ht40, non-HT sta present, HT protmode now 0x13 > > I've turned assotiation debugging off (and posted folloup to PR). > > AC> Jul 27 04:24:09 gateway kernel: ath0: ath_bar_response: called; > AC> tap=3D0xc48c32b8, atid=3D0xc48c4df4, txa_tid=3D0, atid->tid=3D0, stat= us=3D1, > AC> attempts=3D50 > AC> Jul 27 04:24:09 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: > AC> tid=3D0xc48c4df4, called > AC> Jul 27 04:24:09 gateway kernel: ath0: ath_bar_response: called; > AC> tap=3D0xc48c32b8, atid=3D0xc48c4df4, txa_tid=3D0, atid->tid=3D0, stat= us=3D1, > AC> attempts=3D50 > AC> Jul 27 04:24:09 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: > AC> tid=3D0xc48c4df4, called > AC> Jul 27 04:24:09 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: > AC> bar_tx=3D0, bar_wait=3D0: ? > AC> That's very odd. I wonder if I broke that specific handling @ attempt= =3D50. > As side note: I'm sure, that client was sleeping at this time, as I > was sleeping for sure :) > > -- > // Black Lion AKA Lev Serebryakov >