Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/wlan/if_upgtvar.h
Show First 20 Lines • Show All 466 Lines • ▼ Show 20 Lines | #define UPGT_FLAG_DETACHED (1 << 2) | ||||
upgt_datahead sc_rx_inactive; | upgt_datahead sc_rx_inactive; | ||||
struct upgt_data sc_tx_data[UPGT_TX_MAXCOUNT]; | struct upgt_data sc_tx_data[UPGT_TX_MAXCOUNT]; | ||||
upgt_datahead sc_tx_active; | upgt_datahead sc_tx_active; | ||||
upgt_datahead sc_tx_inactive; | upgt_datahead sc_tx_inactive; | ||||
upgt_datahead sc_tx_pending; | upgt_datahead sc_tx_pending; | ||||
/* BPF */ | /* BPF */ | ||||
struct upgt_rx_radiotap_header sc_rxtap; | struct upgt_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct upgt_tx_radiotap_header sc_txtap; | struct upgt_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
#define UPGT_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define UPGT_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define UPGT_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define UPGT_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | ||||
#define UPGT_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | #define UPGT_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) |