svn commit: r282387 - head/sys/dev/wpi
Adrian Chadd
adrian at FreeBSD.org
Sun May 3 23:18:30 UTC 2015
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 <s3erios at gmail.com>
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
};
More information about the svn-src-all
mailing list