Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ath/if_athioctl.h
Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | #ifdef ATH_ENABLE_RADIOTAP_VENDOR_EXT | ||||
* useful way. So, this will include a two-byte version | * useful way. So, this will include a two-byte version | ||||
* value which will force the structure to be 4-byte aligned. | * value which will force the structure to be 4-byte aligned. | ||||
*/ | */ | ||||
struct ath_radiotap_vendor_hdr wr_v; | struct ath_radiotap_vendor_hdr wr_v; | ||||
#endif /* ATH_ENABLE_RADIOTAP_VENDOR_EXT */ | #endif /* ATH_ENABLE_RADIOTAP_VENDOR_EXT */ | ||||
} __packed; | } __packed; | ||||
#define ATH_TX_RADIOTAP_PRESENT ( \ | #define ATH_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_DBM_TX_POWER) | \ | (1 << IEEE80211_RADIOTAP_DBM_TX_POWER) | \ | ||||
(1 << IEEE80211_RADIOTAP_ANTENNA) | \ | (1 << IEEE80211_RADIOTAP_ANTENNA) | \ | ||||
(1 << IEEE80211_RADIOTAP_XCHANNEL) | \ | (1 << IEEE80211_RADIOTAP_XCHANNEL) | \ | ||||
0) | 0) | ||||
struct ath_tx_radiotap_header { | struct ath_tx_radiotap_header { | ||||
struct ieee80211_radiotap_header wt_ihdr; | struct ieee80211_radiotap_header wt_ihdr; | ||||
u_int64_t wt_tsf; | |||||
u_int8_t wt_flags; | u_int8_t wt_flags; | ||||
u_int8_t wt_rate; | u_int8_t wt_rate; | ||||
u_int8_t wt_txpower; | u_int8_t wt_txpower; | ||||
u_int8_t wt_antenna; | u_int8_t wt_antenna; | ||||
u_int32_t wt_chan_flags; | u_int32_t wt_chan_flags; | ||||
u_int16_t wt_chan_freq; | u_int16_t wt_chan_freq; | ||||
u_int8_t wt_chan_ieee; | u_int8_t wt_chan_ieee; | ||||
int8_t wt_chan_maxpow; | int8_t wt_chan_maxpow; | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |