Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/wlan/if_urtwnvar.h
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Lines | #define URTWN_CMDQ_MASQ (URTWN_CMDQ_MAX - 1) | ||||
uint8_t cmdq_key_set; | uint8_t cmdq_key_set; | ||||
#define URTWN_CMDQ_ABORT 0 | #define URTWN_CMDQ_ABORT 0 | ||||
#define URTWN_CMDQ_GO 1 | #define URTWN_CMDQ_GO 1 | ||||
uint32_t rf_chnlbw[R92C_MAX_CHAINS]; | uint32_t rf_chnlbw[R92C_MAX_CHAINS]; | ||||
struct usb_xfer *sc_xfer[URTWN_N_TRANSFER]; | struct usb_xfer *sc_xfer[URTWN_N_TRANSFER]; | ||||
struct urtwn_rx_radiotap_header sc_rxtap; | struct urtwn_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct urtwn_tx_radiotap_header sc_txtap; | struct urtwn_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
#define URTWN_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define URTWN_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define URTWN_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define URTWN_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | ||||
#define URTWN_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | #define URTWN_ASSERT_LOCKED(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | ||||
No newline at end of file |