Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2008 01:25:55 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 137135 for review
Message-ID:  <200803080125.m281PtGn024897@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137135

Change 137135 by sam@sam_ebb on 2008/03/08 01:25:45

	count background scans

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ioctl.h#14 edit
.. //depot/projects/vap/sys/net80211/ieee80211_sta.c#7 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ioctl.h#14 (text+ko) ====

@@ -210,7 +210,8 @@
 	uint32_t	is_ampdu_stop;		/* A-MPDU stream stopped */
 	uint32_t	is_ampdu_stop_failed;	/* A-MPDU stream not running */
 	uint32_t	is_ampdu_rx_reorder;	/* A-MPDU held for rx reorder */
-	uint32_t	is_spare[17];
+	uint32_t	is_scan_bg;		/* background scans started */
+	uint32_t	is_spare[16];
 };
 
 /*

==== //depot/projects/vap/sys/net80211/ieee80211_sta.c#7 (text+ko) ====

@@ -1315,6 +1315,7 @@
 			} else if (contbgscan(vap)) {
 				ieee80211_bg_scan(vap, 0);
 			} else if (startbgscan(vap)) {
+				vap->iv_stats.is_scan_bg++;
 #if 0
 				/* wakeup if we are sleeing */
 				ieee80211_set_pwrsave(vap, 0);



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