From owner-freebsd-wireless@FreeBSD.ORG Sat Sep 6 22:16:02 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37C74D24 for ; Sat, 6 Sep 2014 22:16:02 +0000 (UTC) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B02CF1C91 for ; Sat, 6 Sep 2014 22:16:01 +0000 (UTC) Received: by mail-la0-f49.google.com with SMTP id b17so15531100lan.22 for ; Sat, 06 Sep 2014 15:15:59 -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; bh=xK1Qs3XO6LFaBuXr4Z4dKTWBgBwNpbgcMhEXQ0M/krU=; b=YpvPdksiMGR13fEKvU3flBUw2TtIEXCgnhZfjDrLYtVyJT9/o/Qppn/fafWtaTqdDc UhN/4O6/0vFCUE3Vv2xlgOiBuNIqpF9PJ+ryzTr7EU16lJIwfeuWyKU8ezb8wTOqa51e 4RMUtSTBqzZoEKj1p2sXs68tevIf5/uFIa5pdhWHcTns9PixXjkVZZPX1u2GB5aZeVyL WySXiJysisXQMr6Th7+Bq0IMn/3MhppkM5I8MlDh+dEEfe48uPRn/uuOyiXKvpEIhu4C 2BBGZWx06SzaV8BY51GISFG4ANTIgs/Qh4tX/3SZNpy+q6hrGzUmuTssYlzm3KaMDflN AbBA== MIME-Version: 1.0 X-Received: by 10.112.33.74 with SMTP id p10mr18730041lbi.0.1410041759512; Sat, 06 Sep 2014 15:15:59 -0700 (PDT) Received: by 10.25.157.4 with HTTP; Sat, 6 Sep 2014 15:15:59 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Sep 2014 02:15:59 +0400 Message-ID: Subject: Re: [ath] AR9227 hang: ath_rate_findrate: switching quickly.. From: Alex Deiter To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 06 Sep 2014 22:16:02 -0000 Hello Adrian, Yes, this always appear. In chronological order, this can be described as follows: 1. system reboot 2. for several hours, all clients can successfully associate and works fast 3. transfer rate is reduced and there are increasing messages: ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) 4. finally connections are interrupted and customers can no longer be associated I use TP-LINK TL-WN851ND v1: http://www.tp-link.us/products/details/?categoryid=&model=TL-WN851ND https://wikidevi.com/wiki/TP-LINK_TL-WN851ND Thank you very much! 2014-09-07 1:03 GMT+04:00 Adrian Chadd : > Hi! > > On 6 September 2014 02:39, Alex Deiter wrote: > > Hello Adrian, > > > > Today the network adapter completely hung with messages: > > > > Sep 6 13:26:19 blackbird kernel: ar5416PerCalibrationN: NF calibration > > didn't finish; delaying CCA > > Sep 6 13:26:49 blackbird kernel: ar5416PerCalibrationN: NF calibration > > didn't finish; delaying CCA > > Sep 6 13:27:19 blackbird kernel: ar5416PerCalibrationN: NF calibration > > didn't finish; delaying CCA > > Sep 6 13:27:49 blackbird kernel: ar5416PerCalibrationN: NF calibration > > didn't finish; delaying CCA > > > > and clients can not connect. > > Does this always appear when it hangs? > > That means the baseband has gone receive deaf and locked up. > > Lemme go find an AR9227 to throw in a test AP here and reproduce. I > remember seeing this in the past, so I should be able to reproduce it > relatively easily. > > Thanks! > > > -a > -- Alex Deiter