Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/wlan/if_uralvar.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | struct ural_softc { | ||||
int led_mode; | int led_mode; | ||||
int hw_radio; | int hw_radio; | ||||
int rx_ant; | int rx_ant; | ||||
int tx_ant; | int tx_ant; | ||||
int nb_ant; | int nb_ant; | ||||
struct ural_rx_radiotap_header sc_rxtap; | struct ural_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct ural_tx_radiotap_header sc_txtap; | struct ural_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
#define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | ||||
#define RAL_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) | #define RAL_LOCK_ASSERT(sc, t) mtx_assert(&(sc)->sc_mtx, t) |