Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2015 05:22:21 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287742 - head/sys/dev/usb/wlan
Message-ID:  <201509130522.t8D5MLmG053942@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Sep 13 05:22:20 2015
New Revision: 287742
URL: https://svnweb.freebsd.org/changeset/base/287742

Log:
  Add RSSI logging to the event survey results.

Modified:
  head/sys/dev/usb/wlan/if_rsu.c

Modified: head/sys/dev/usb/wlan/if_rsu.c
==============================================================================
--- head/sys/dev/usb/wlan/if_rsu.c	Sun Sep 13 04:41:13 2015	(r287741)
+++ head/sys/dev/usb/wlan/if_rsu.c	Sun Sep 13 05:22:20 2015	(r287742)
@@ -1156,11 +1156,12 @@ rsu_event_survey(struct rsu_softc *sc, u
 
 	RSU_DPRINTF(sc, RSU_DEBUG_SCAN,
 	    "%s: found BSS %s: len=%d chan=%d inframode=%d "
-	    "networktype=%d privacy=%d\n",
+	    "networktype=%d privacy=%d, RSSI=%d\n",
 	    __func__,
 	    ether_sprintf(bss->macaddr), le32toh(bss->len),
 	    le32toh(bss->config.dsconfig), le32toh(bss->inframode),
-	    le32toh(bss->networktype), le32toh(bss->privacy));
+	    le32toh(bss->networktype), le32toh(bss->privacy),
+	    le32toh(bss->rssi));
 
 	/* Build a fake beacon frame to let net80211 do all the parsing. */
 	/* XXX TODO: just call the new scan API methods! */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509130522.t8D5MLmG053942>