PERFORCE change 137135 for review

Sam Leffler sam at FreeBSD.org
Sat Mar 8 01:25:56 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=137135

Change 137135 by sam at 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);


More information about the p4-projects mailing list