Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/wlan/if_runvar.h
Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Lines | #define RUN_CMDQ_GO 1 | ||||
uint8_t rvp_bmap; | uint8_t rvp_bmap; | ||||
uint8_t sc_detached; | uint8_t sc_detached; | ||||
union { | union { | ||||
struct run_rx_radiotap_header th; | struct run_rx_radiotap_header th; | ||||
uint8_t pad[64]; | uint8_t pad[64]; | ||||
} sc_rxtapu; | } sc_rxtapu; | ||||
#define sc_rxtap sc_rxtapu.th | #define sc_rxtap sc_rxtapu.th | ||||
int sc_rxtap_len; | |||||
union { | union { | ||||
struct run_tx_radiotap_header th; | struct run_tx_radiotap_header th; | ||||
uint8_t pad[64]; | uint8_t pad[64]; | ||||
} sc_txtapu; | } sc_txtapu; | ||||
#define sc_txtap sc_txtapu.th | #define sc_txtap sc_txtapu.th | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
#define RUN_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define RUN_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define RUN_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define RUN_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | ||||
#define RUN_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) | #define RUN_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) | ||||
#endif /* _IF_RUNVAR_H_ */ | #endif /* _IF_RUNVAR_H_ */ |