Date: Tue, 8 Jan 2008 20:42:12 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132806 for review Message-ID: <200801082042.m08KgCHG012388@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132806 Change 132806 by sam@sam_ebb on 2008/01/08 20:42:03 add ieee80211_scan_done interface from HEAD Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_scan.c#13 edit .. //depot/projects/vap/sys/net80211/ieee80211_scan.h#10 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_scan.c#13 (text+ko) ==== @@ -788,6 +788,19 @@ } /* + * Public access to scan_next for drivers that are not able to scan single + * channels (e.g. for firmware-based devices). + */ +void +ieee80211_scan_done(struct ieee80211vap *vap) +{ + struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan; + + ss->ss_next = ss->ss_last; /* all channels are complete */ + scan_next(ss); +} + +/* * Probe the curent channel, if allowed, while scanning. * If the channel is not marked passive-only then send * a probe request immediately. Otherwise mark state and ==== //depot/projects/vap/sys/net80211/ieee80211_scan.h#10 (text+ko) ==== @@ -140,6 +140,7 @@ void ieee80211_cancel_scan(struct ieee80211vap *); void ieee80211_cancel_anyscan(struct ieee80211vap *); void ieee80211_scan_next(struct ieee80211vap *); +void ieee80211_scan_done(struct ieee80211vap *); void ieee80211_probe_curchan(struct ieee80211vap *, int); struct ieee80211_channel *ieee80211_scan_pickchannel(struct ieee80211com *, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801082042.m08KgCHG012388>