ieee80211_scan_sw.c (330232) | ieee80211_scan_sw.c (330460) |
---|---|
1/*- 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> |
27__FBSDID("$FreeBSD: stable/11/sys/net80211/ieee80211_scan_sw.c 330232 2018-03-01 07:59:14Z eadler $"); | 27__FBSDID("$FreeBSD: stable/11/sys/net80211/ieee80211_scan_sw.c 330460 2018-03-05 08:22:24Z eadler $"); |
28 29/* 30 * IEEE 802.11 scanning support. 31 */ 32#include "opt_wlan.h" 33 34#include <sys/param.h> 35#include <sys/systm.h> --- 420 unchanged lines hidden (view full) --- 456} 457 458/* 459 * Cancel any scan currently going on. 460 */ 461static void 462ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap) 463{ | 28 29/* 30 * IEEE 802.11 scanning support. 31 */ 32#include "opt_wlan.h" 33 34#include <sys/param.h> 35#include <sys/systm.h> --- 420 unchanged lines hidden (view full) --- 456} 457 458/* 459 * Cancel any scan currently going on. 460 */ 461static void 462ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap) 463{ |
464 465 /* XXX for now - just don't do this per packet. */ 466 if (vap->iv_flags_ext & IEEE80211_FEXT_SCAN_OFFLOAD) 467 return; 468 |
|
464 cancel_scan(vap, 1, __func__); 465} 466 467/* 468 * Manually switch to the next channel in the channel list. 469 * Provided for drivers that manage scanning themselves 470 * (e.g. for firmware-based devices). 471 */ --- 530 unchanged lines hidden --- | 469 cancel_scan(vap, 1, __func__); 470} 471 472/* 473 * Manually switch to the next channel in the channel list. 474 * Provided for drivers that manage scanning themselves 475 * (e.g. for firmware-based devices). 476 */ --- 530 unchanged lines hidden --- |