From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 20 16:01:21 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 198DB106567A; Mon, 20 Aug 2012 16:01:21 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id BCEE38FC1F; Mon, 20 Aug 2012 16:01:20 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1T3US8-000Kdj-O7; Mon, 20 Aug 2012 20:03:44 +0400 Date: Mon, 20 Aug 2012 20:03:44 +0400 From: Slawa Olhovchenkov To: Adrian Chadd Message-ID: <20120820160344.GM98910@zxy.spb.ru> References: <1311732708.20120815005429@serebryakov.spb.ru> <20120819071403.GF98910@zxy.spb.ru> <20120820125524.GL98910@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: freebsd-wireless@freebsd.org Subject: Re: New ath code works well as AP 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, 20 Aug 2012 16:01:21 -0000 On Mon, Aug 20, 2012 at 08:38:56AM -0700, Adrian Chadd wrote: > On 20 August 2012 05:55, Slawa Olhovchenkov wrote: > > > wlan0: link state changed to DOWN/UP -- because AP don't implement > > 802.11R and don't transmit WLAN_EID_TIMEOUT_INTERVAL. > > So you mean that's to be expected? There are situations where an AP > will time a station out. May leave a background ping going and see if > it stays associated? This is time for rekeing (WPA2 enterprise). AP configured for rekeing clients at 3600 seconds. But AP don't send information about rekeing interval in EAPOL packets. [277795] wlan0: link state changed to DOWN [277797] wlan0: link state changed to UP [281406] wlan0: link state changed to DOWN [281408] wlan0: link state changed to UP [292231] wlan0: link state changed to DOWN [292233] wlan0: link state changed to UP [302376] ath0: device timeout 281406-277797 = 3609 292231-281408 = 10823 = 3600*3+23 > >> > [155821] ath0: bb hang detected (0x4), resetting > >> > [194052] ath0: device timeout > >> > [202568] ath0: device timeout > >> > [214975] ath0: bb hang detected (0x4), resetting > > > > And time to time I need to > > > > kldunload if_ath_pci.ko > > kldload if_ath_pci.ko > > > > for re-enable card. > > This is a bit more worrying. An ifconfig wlanX destroy ; ifconfig > wlanX create isn't sufficient? I am not clearly remember, may be isn't sufficient. This is from old time, before introduction wlan0 (when all work on ath0 and D-Link DWL-G650). A am try at next time.