12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IEEE80211_RADIOTAP(9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> IEEE80211_RADIOTAP(9)When the information is available, usually immediately before a link-layer transmission or after a receive,the driver copies it to the bpf layer using the bpf_mtap2() function.The following extension fields are defined for radiotap, inthe order in which they should appear in thebuffer copied to userland:IEEE80211_RADIOTAP_TSFTThis field contains the unsigned 64-bit value, in microseconds, of the MAC’s 802.11 Time SynchronizationFunction timer, when the first bit of the MPDU arrived atthe MAC. This field shouldbe present for received frames only.IEEE80211_RADIOTAP_FLAGSThis field contains a single unsigned 8-bit value, containing a bitmap of flags specifying propertiesof the frame being transmitted or received.IEEE80211_RADIOTAP_RATEThis field contains a single unsigned 8-bit value, which is the data rate in use in units of 500Kbps.IEEE80211_RADIOTAP_CHANNELThis field contains two unsigned 16-bit values. The first value is the frequency upon which thisPDU was transmitted or received. The second value is a bitmap containing flags which specifyproperties of the channel in use. These are documented within the header file,.IEEE80211_RADIOTAP_FHSSThis field contains two 8-bit values. This field should be present for frequency-hopping radiosonly. The first byte is the hop set. The second byte is the pattern in use.IEEE80211_RADIOTAP_DBM_ANTSIGNALThis field contains a single signed 8-bit value, which indicates the RF signal power at the antenna,in decibels difference from 1mW.IEEE80211_RADIOTAP_DBM_ANTNOISEThis field contains a single signed 8-bit value, which indicates the RF noise power at the antenna,in decibels difference from 1mW.IEEE80211_RADIOTAP_LOCK_QUALITYThis field contains a single unsigned 16-bit value, indicating the quality of the Barker Code lock.No unit is specified for this field. There does not appear to be a standard way of measuring this atthis time; this quantity is often referred to as “Signal Quality” in some datasheets.IEEE80211_RADIOTAP_TX_ATTENUATIONThis field contains a single unsigned 16-bit value, expressing transmit power as unitless distancefrom maximum power set at factory calibration. 0indicates maximum transmit power. Monotonicallynondecreasing with lower power levels.IEEE80211_RADIOTAP_DB_TX_ATTENUATIONThis field contains a single unsigned 16-bit value, expressing transmit power as decibel distancefrom maximum power set at factory calibration. 0indicates maximum transmit power. Monotonicallynondecreasing with lower power levels.IEEE80211_RADIOTAP_DBM_TX_POWERTransmit power expressed as decibels from a 1mW reference. This field is a single signed 8-bitvalue. This is the absolute power level measured at the antenna port.IEEE80211_RADIOTAP_ANTENNAFor radios which support antenna diversity, this field contains a single unsigned 8-bit value specifyingwhich antenna is being used to transmit or receive this frame. The first antenna is antenna 0.<strong>NetBSD</strong> 3.0 March 12, 2006 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!