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! */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to