Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/wlan/if_zydreg.h
Show First 20 Lines • Show All 1,298 Lines • ▼ Show 20 Lines | #define ZYD_FLAG_RUNNING (1 << 4) | ||||
int tx_nfree; | int tx_nfree; | ||||
struct zyd_rx_desc sc_rx_desc; | struct zyd_rx_desc sc_rx_desc; | ||||
struct zyd_rx_data sc_rx_data[ZYD_MAX_RXFRAMECNT]; | struct zyd_rx_data sc_rx_data[ZYD_MAX_RXFRAMECNT]; | ||||
int sc_rx_count; | int sc_rx_count; | ||||
struct zyd_cmd sc_ibuf; | struct zyd_cmd sc_ibuf; | ||||
struct zyd_rx_radiotap_header sc_rxtap; | struct zyd_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct zyd_tx_radiotap_header sc_txtap; | struct zyd_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
#define ZYD_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define ZYD_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define ZYD_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define ZYD_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | ||||
#define ZYD_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) | #define ZYD_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) | ||||