svn commit: r287742 - head/sys/dev/usb/wlan
Adrian Chadd
adrian at FreeBSD.org
Sun Sep 13 05:22:21 UTC 2015
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! */
More information about the svn-src-all
mailing list