Deleted Added
full compact
ieee80211_scan.h (192468) ieee80211_scan.h (193239)
1/*-
2 * Copyright (c) 2005-2009 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

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 *
1/*-
2 * Copyright (c) 2005-2009 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

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 * $FreeBSD: head/sys/net80211/ieee80211_scan.h 192468 2009-05-20 20:00:40Z sam $
25 * $FreeBSD: head/sys/net80211/ieee80211_scan.h 193239 2009-06-01 16:36:28Z sam $
26 */
27#ifndef _NET80211_IEEE80211_SCAN_H_
28#define _NET80211_IEEE80211_SCAN_H_
29
30/*
31 * 802.11 scanning support.
32 *
33 * Scanning is the procedure by which a station locates a bss to join

--- 172 unchanged lines hidden (view full) ---

206 uint8_t *doth;
207 uint8_t *wpa;
208 uint8_t *rsn;
209 uint8_t *wme;
210 uint8_t *htcap;
211 uint8_t *htinfo;
212 uint8_t *ath;
213 uint8_t *tdma;
26 */
27#ifndef _NET80211_IEEE80211_SCAN_H_
28#define _NET80211_IEEE80211_SCAN_H_
29
30/*
31 * 802.11 scanning support.
32 *
33 * Scanning is the procedure by which a station locates a bss to join

--- 172 unchanged lines hidden (view full) ---

206 uint8_t *doth;
207 uint8_t *wpa;
208 uint8_t *rsn;
209 uint8_t *wme;
210 uint8_t *htcap;
211 uint8_t *htinfo;
212 uint8_t *ath;
213 uint8_t *tdma;
214 uint8_t *spare[4];
214};
215
216/*
217 * Scan cache entry format used when exporting data from a policy
218 * module; this data may be represented some other way internally.
219 */
220struct ieee80211_scan_entry {
221 uint8_t se_macaddr[IEEE80211_ADDR_LEN];

--- 54 unchanged lines hidden (view full) ---

276 const uint8_t macaddr[IEEE80211_ADDR_LEN],
277 int reason);
278 /* note that association succeed for an entry */
279 void (*scan_assoc_success)(struct ieee80211_scan_state *,
280 const uint8_t macaddr[IEEE80211_ADDR_LEN]);
281 /* iterate over entries in the scan cache */
282 void (*scan_iterate)(struct ieee80211_scan_state *,
283 ieee80211_scan_iter_func *, void *);
215};
216
217/*
218 * Scan cache entry format used when exporting data from a policy
219 * module; this data may be represented some other way internally.
220 */
221struct ieee80211_scan_entry {
222 uint8_t se_macaddr[IEEE80211_ADDR_LEN];

--- 54 unchanged lines hidden (view full) ---

277 const uint8_t macaddr[IEEE80211_ADDR_LEN],
278 int reason);
279 /* note that association succeed for an entry */
280 void (*scan_assoc_success)(struct ieee80211_scan_state *,
281 const uint8_t macaddr[IEEE80211_ADDR_LEN]);
282 /* iterate over entries in the scan cache */
283 void (*scan_iterate)(struct ieee80211_scan_state *,
284 ieee80211_scan_iter_func *, void *);
285 void (*scan_spare0)(void);
286 void (*scan_spare1)(void);
287 void (*scan_spare2)(void);
288 void (*scan_spare4)(void);
284};
285void ieee80211_scanner_register(enum ieee80211_opmode,
286 const struct ieee80211_scanner *);
287void ieee80211_scanner_unregister(enum ieee80211_opmode,
288 const struct ieee80211_scanner *);
289void ieee80211_scanner_unregister_all(const struct ieee80211_scanner *);
290const struct ieee80211_scanner *ieee80211_scanner_get(enum ieee80211_opmode);
291#endif /* _NET80211_IEEE80211_SCAN_H_ */
289};
290void ieee80211_scanner_register(enum ieee80211_opmode,
291 const struct ieee80211_scanner *);
292void ieee80211_scanner_unregister(enum ieee80211_opmode,
293 const struct ieee80211_scanner *);
294void ieee80211_scanner_unregister_all(const struct ieee80211_scanner *);
295const struct ieee80211_scanner *ieee80211_scanner_get(enum ieee80211_opmode);
296#endif /* _NET80211_IEEE80211_SCAN_H_ */