if_iwnvar.h (221648) | if_iwnvar.h (221650) |
---|---|
1/* $FreeBSD: head/sys/dev/iwn/if_iwnvar.h 221648 2011-05-08 11:49:50Z bschmidt $ */ | 1/* $FreeBSD: head/sys/dev/iwn/if_iwnvar.h 221650 2011-05-08 11:58:23Z bschmidt $ */ |
2/* $OpenBSD: if_iwnvar.h,v 1.18 2010/04/30 16:06:46 damien Exp $ */ 3 4/*- 5 * Copyright (c) 2007, 2008 6 * Damien Bergamini <damien.bergamini@free.fr> 7 * Copyright (c) 2008 Sam Leffler, Errno Consulting 8 * 9 * Permission to use, copy, modify, and distribute this software for any --- 291 unchanged lines hidden (view full) --- 301 uint8_t ntxchains; 302 uint8_t nrxchains; 303 uint8_t txchainmask; 304 uint8_t rxchainmask; 305 uint8_t chainmask; 306 307 int sc_tx_timer; 308 | 2/* $OpenBSD: if_iwnvar.h,v 1.18 2010/04/30 16:06:46 damien Exp $ */ 3 4/*- 5 * Copyright (c) 2007, 2008 6 * Damien Bergamini <damien.bergamini@free.fr> 7 * Copyright (c) 2008 Sam Leffler, Errno Consulting 8 * 9 * Permission to use, copy, modify, and distribute this software for any --- 291 unchanged lines hidden (view full) --- 301 uint8_t ntxchains; 302 uint8_t nrxchains; 303 uint8_t txchainmask; 304 uint8_t rxchainmask; 305 uint8_t chainmask; 306 307 int sc_tx_timer; 308 |
309 int (*sc_ampdu_rx_start)(struct ieee80211_node *, 310 struct ieee80211_rx_ampdu *, int, int, int); 311 void (*sc_ampdu_rx_stop)(struct ieee80211_node *, 312 struct ieee80211_rx_ampdu *); 313 |
|
309 struct iwn_rx_radiotap_header sc_rxtap; 310 struct iwn_tx_radiotap_header sc_txtap; 311}; 312 313#define IWN_LOCK_INIT(_sc) \ 314 mtx_init(&(_sc)->sc_mtx, device_get_nameunit((_sc)->sc_dev), \ 315 MTX_NETWORK_LOCK, MTX_DEF) 316#define IWN_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 317#define IWN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) 318#define IWN_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 319#define IWN_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) | 314 struct iwn_rx_radiotap_header sc_rxtap; 315 struct iwn_tx_radiotap_header sc_txtap; 316}; 317 318#define IWN_LOCK_INIT(_sc) \ 319 mtx_init(&(_sc)->sc_mtx, device_get_nameunit((_sc)->sc_dev), \ 320 MTX_NETWORK_LOCK, MTX_DEF) 321#define IWN_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 322#define IWN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED) 323#define IWN_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 324#define IWN_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) |