if_wivar.h (192492) | if_wivar.h (194023) |
---|---|
1/*- 2 * Copyright (c) 2002 3 * M Warner Losh <imp@freebsd.org>. All rights reserved. 4 * Copyright (c) 1997, 1998, 1999 5 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 32 * THE POSSIBILITY OF SUCH DAMAGE. 33 * | 1/*- 2 * Copyright (c) 2002 3 * M Warner Losh <imp@freebsd.org>. All rights reserved. 4 * Copyright (c) 1997, 1998, 1999 5 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 32 * THE POSSIBILITY OF SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/dev/wi/if_wivar.h 192492 2009-05-20 22:28:55Z imp $ | 34 * $FreeBSD: head/sys/dev/wi/if_wivar.h 194023 2009-06-11 17:14:28Z avg $ |
35 */ 36 37/* 38 * Encryption controls. We can enable or disable encryption as 39 * well as specify up to 4 encryption keys. We can also specify 40 * which of the four keys will be used for transmit encryption. 41 */ 42#define WI_RID_ENCRYPTION 0xFC20 --- 128 unchanged lines hidden (view full) --- 171 MAX((sc)->sc_min_rssi, (rssi))) - (sc)->sc_dbm_offset) 172 173#define WI_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 174#define WI_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 175#define WI_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) 176 177int wi_attach(device_t); 178int wi_detach(device_t); | 35 */ 36 37/* 38 * Encryption controls. We can enable or disable encryption as 39 * well as specify up to 4 encryption keys. We can also specify 40 * which of the four keys will be used for transmit encryption. 41 */ 42#define WI_RID_ENCRYPTION 0xFC20 --- 128 unchanged lines hidden (view full) --- 171 MAX((sc)->sc_min_rssi, (rssi))) - (sc)->sc_dbm_offset) 172 173#define WI_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 174#define WI_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 175#define WI_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) 176 177int wi_attach(device_t); 178int wi_detach(device_t); |
179void wi_shutdown(device_t); | 179int wi_shutdown(device_t); |
180int wi_alloc(device_t, int); 181void wi_free(device_t); 182extern devclass_t wi_devclass; 183void wi_init(void *); 184void wi_intr(void *); 185int wi_mgmt_xmit(struct wi_softc *, caddr_t, int); 186void wi_stop(struct wi_softc *, int); | 180int wi_alloc(device_t, int); 181void wi_free(device_t); 182extern devclass_t wi_devclass; 183void wi_init(void *); 184void wi_intr(void *); 185int wi_mgmt_xmit(struct wi_softc *, caddr_t, int); 186void wi_stop(struct wi_softc *, int); |