Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/wlan/if_rumvar.h
Show All 38 Lines | #define RT2573_RX_RADIOTAP_PRESENT \ | ||||
(1 << IEEE80211_RADIOTAP_CHANNEL) | \ | (1 << IEEE80211_RADIOTAP_CHANNEL) | \ | ||||
(1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL) | \ | (1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL) | \ | ||||
(1 << IEEE80211_RADIOTAP_DBM_ANTNOISE) | \ | (1 << IEEE80211_RADIOTAP_DBM_ANTNOISE) | \ | ||||
(1 << IEEE80211_RADIOTAP_ANTENNA) | \ | (1 << IEEE80211_RADIOTAP_ANTENNA) | \ | ||||
0) | 0) | ||||
struct rum_tx_radiotap_header { | struct rum_tx_radiotap_header { | ||||
struct ieee80211_radiotap_header wt_ihdr; | struct ieee80211_radiotap_header wt_ihdr; | ||||
uint64_t wt_tsf; | |||||
uint8_t wt_flags; | uint8_t wt_flags; | ||||
uint8_t wt_rate; | uint8_t wt_rate; | ||||
uint16_t wt_chan_freq; | uint16_t wt_chan_freq; | ||||
uint16_t wt_chan_flags; | uint16_t wt_chan_flags; | ||||
uint8_t wt_antenna; | uint8_t wt_antenna; | ||||
} __packed __aligned(8); | } __packed __aligned(8); | ||||
#define RT2573_TX_RADIOTAP_PRESENT \ | #define RT2573_TX_RADIOTAP_PRESENT \ | ||||
((1 << IEEE80211_RADIOTAP_TSFT) | \ | ((1 << IEEE80211_RADIOTAP_FLAGS) | \ | ||||
(1 << IEEE80211_RADIOTAP_FLAGS) | \ | |||||
(1 << IEEE80211_RADIOTAP_RATE) | \ | (1 << IEEE80211_RADIOTAP_RATE) | \ | ||||
(1 << IEEE80211_RADIOTAP_CHANNEL) | \ | (1 << IEEE80211_RADIOTAP_CHANNEL) | \ | ||||
(1 << IEEE80211_RADIOTAP_ANTENNA)) | (1 << IEEE80211_RADIOTAP_ANTENNA)) | ||||
struct rum_softc; | struct rum_softc; | ||||
struct rum_tx_data { | struct rum_tx_data { | ||||
STAILQ_ENTRY(rum_tx_data) next; | STAILQ_ENTRY(rum_tx_data) next; | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |