Changeset 1710
- Timestamp:
- 09/13/06 12:41:13 (2 years ago)
- Files:
-
- trunk/net80211/ieee80211_monitor.c (modified) (1 diff)
- trunk/net80211/ieee80211_monitor.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/net80211/ieee80211_monitor.c
r1709 r1710 375 375 } 376 376 377 th->wr_dbm_antnoise = -95; 378 th->wr_dbm_antsignal = th->wr_dbm_antnoise + signal; 377 379 th->wr_antenna = ds->ds_rxstat.rs_antenna; 378 380 th->wr_antsignal = signal; trunk/net80211/ieee80211_monitor.h
r1488 r1710 113 113 (1 << IEEE80211_RADIOTAP_RATE) | \ 114 114 (1 << IEEE80211_RADIOTAP_CHANNEL) | \ 115 (1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL) | \ 116 (1 << IEEE80211_RADIOTAP_DBM_ANTNOISE) | \ 115 117 (1 << IEEE80211_RADIOTAP_ANTENNA) | \ 116 118 (1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL) | \ … … 125 127 u_int16_t wr_chan_freq; 126 128 u_int16_t wr_chan_flags; 129 int8_t wr_dbm_antsignal; 130 int8_t wr_dbm_antnoise; 127 131 u_int8_t wr_antenna; 128 132 u_int8_t wr_antsignal; 133 u_int8_t wr_pad[2]; /* Ensure fcs is on 32 bit boundary */ 129 134 u_int32_t wr_fcs; 130 } ;135 }__attribute__((__packed__)); 131 136 132 137 #define ATH_TX_RADIOTAP_PRESENT ( \
