diff options
author | Marcelo Tosatti <marcelo@kvack.org> | 2007-02-10 09:25:27 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:00:54 -0400 |
commit | 876c9d3aeb989cf1961f2c228d309ba5dcfb1172 (patch) | |
tree | 239e9db92d13abc799c1ffc5304d8ec1503dbc61 /include/net/ieee80211_radiotap.h | |
parent | 35c3404efa7407811b706453f83d39b2539dcbd0 (diff) |
[PATCH] Marvell Libertas 8388 802.11b/g USB driver
Add the Marvell Libertas 8388 802.11 USB driver.
Signed-off-by: Marcelo Tosatti <marcelo@kvack.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/ieee80211_radiotap.h')
-rw-r--r-- | include/net/ieee80211_radiotap.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/include/net/ieee80211_radiotap.h b/include/net/ieee80211_radiotap.h index 429b73892a5f..c6e0d81ea785 100644 --- a/include/net/ieee80211_radiotap.h +++ b/include/net/ieee80211_radiotap.h | |||
@@ -168,6 +168,23 @@ struct ieee80211_radiotap_header { | |||
168 | * Unitless indication of the Rx/Tx antenna for this packet. | 168 | * Unitless indication of the Rx/Tx antenna for this packet. |
169 | * The first antenna is antenna 0. | 169 | * The first antenna is antenna 0. |
170 | * | 170 | * |
171 | * IEEE80211_RADIOTAP_RX_FLAGS u_int16_t bitmap | ||
172 | * | ||
173 | * Properties of received frames. See flags defined below. | ||
174 | * | ||
175 | * IEEE80211_RADIOTAP_TX_FLAGS u_int16_t bitmap | ||
176 | * | ||
177 | * Properties of transmitted frames. See flags defined below. | ||
178 | * | ||
179 | * IEEE80211_RADIOTAP_RTS_RETRIES u_int8_t data | ||
180 | * | ||
181 | * Number of rts retries a transmitted frame used. | ||
182 | * | ||
183 | * IEEE80211_RADIOTAP_DATA_RETRIES u_int8_t data | ||
184 | * | ||
185 | * Number of unicast retries a transmitted frame used. | ||
186 | * | ||
187 | * | ||
171 | * IEEE80211_RADIOTAP_FCS u32 data | 188 | * IEEE80211_RADIOTAP_FCS u32 data |
172 | * | 189 | * |
173 | * FCS from frame in network byte order. | 190 | * FCS from frame in network byte order. |
@@ -187,7 +204,11 @@ enum ieee80211_radiotap_type { | |||
187 | IEEE80211_RADIOTAP_ANTENNA = 11, | 204 | IEEE80211_RADIOTAP_ANTENNA = 11, |
188 | IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12, | 205 | IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12, |
189 | IEEE80211_RADIOTAP_DB_ANTNOISE = 13, | 206 | IEEE80211_RADIOTAP_DB_ANTNOISE = 13, |
190 | IEEE80211_RADIOTAP_EXT = 31, | 207 | IEEE80211_RADIOTAP_RX_FLAGS = 14, |
208 | IEEE80211_RADIOTAP_TX_FLAGS = 15, | ||
209 | IEEE80211_RADIOTAP_RTS_RETRIES = 16, | ||
210 | IEEE80211_RADIOTAP_DATA_RETRIES = 17, | ||
211 | IEEE80211_RADIOTAP_EXT = 31 | ||
191 | }; | 212 | }; |
192 | 213 | ||
193 | /* Channel flags. */ | 214 | /* Channel flags. */ |
@@ -219,6 +240,14 @@ enum ieee80211_radiotap_type { | |||
219 | * 802.11 header and payload | 240 | * 802.11 header and payload |
220 | * (to 32-bit boundary) | 241 | * (to 32-bit boundary) |
221 | */ | 242 | */ |
243 | /* For IEEE80211_RADIOTAP_RX_FLAGS */ | ||
244 | #define IEEE80211_RADIOTAP_F_RX_BADFCS 0x0001 /* frame failed crc check */ | ||
245 | |||
246 | /* For IEEE80211_RADIOTAP_TX_FLAGS */ | ||
247 | #define IEEE80211_RADIOTAP_F_TX_FAIL 0x0001 /* failed due to excessive | ||
248 | * retries */ | ||
249 | #define IEEE80211_RADIOTAP_F_TX_CTS 0x0002 /* used cts 'protection' */ | ||
250 | #define IEEE80211_RADIOTAP_F_TX_RTS 0x0004 /* used rts/cts handshake */ | ||
222 | 251 | ||
223 | /* Ugly macro to convert literal channel numbers into their mhz equivalents | 252 | /* Ugly macro to convert literal channel numbers into their mhz equivalents |
224 | * There are certianly some conditions that will break this (like feeding it '30') | 253 | * There are certianly some conditions that will break this (like feeding it '30') |