From owner-svn-src-all@FreeBSD.ORG Sun May 3 23:18:29 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E09CA212; Sun, 3 May 2015 23:18:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEEEB1869; Sun, 3 May 2015 23:18:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t43NITqf084991; Sun, 3 May 2015 23:18:29 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t43NITpY084987; Sun, 3 May 2015 23:18:29 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201505032318.t43NITpY084987@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sun, 3 May 2015 23:18:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282387 - head/sys/dev/wpi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 23:18:30 -0000 Author: adrian Date: Sun May 3 23:18:28 2015 New Revision: 282387 URL: https://svnweb.freebsd.org/changeset/base/282387 Log: Create another debug category for WPI_BEACON_MISSED notification. Differential Revision: kern/197143 Submitted by: Andriy Voskoboinyk Modified: head/sys/dev/wpi/if_wpi.c head/sys/dev/wpi/if_wpi_debug.h Modified: head/sys/dev/wpi/if_wpi.c ============================================================================== --- head/sys/dev/wpi/if_wpi.c Sun May 3 23:09:47 2015 (r282386) +++ head/sys/dev/wpi/if_wpi.c Sun May 3 23:18:28 2015 (r282387) @@ -2121,7 +2121,7 @@ wpi_notif_intr(struct wpi_softc *sc) BUS_DMASYNC_POSTREAD); misses = le32toh(miss->consecutive); - DPRINTF(sc, WPI_DEBUG_STATE, + DPRINTF(sc, WPI_DEBUG_BMISS, "%s: beacons missed %d/%d\n", __func__, misses, le32toh(miss->total)); Modified: head/sys/dev/wpi/if_wpi_debug.h ============================================================================== --- head/sys/dev/wpi/if_wpi_debug.h Sun May 3 23:09:47 2015 (r282386) +++ head/sys/dev/wpi/if_wpi_debug.h Sun May 3 23:18:28 2015 (r282387) @@ -43,6 +43,7 @@ enum { WPI_DEBUG_KEY = 0x00020000, /* node key management */ WPI_DEBUG_EDCA = 0x00040000, /* WME info */ WPI_DEBUG_REGISTER = 0x00080000, /* print chipset register */ + WPI_DEBUG_BMISS = 0x00100000, /* print number of missed beacons */ WPI_DEBUG_ANY = 0xffffffff };