author | mickeyl <mickeyl> | 2003-03-30 01:41:56 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 01:41:56 (UTC) |
commit | 99899abc80a8aa05044eeecd8a061b0a8efaa713 (patch) (unidiff) | |
tree | 45db7a60f17d00ae72d0e8d6b986d5be10232c6c /libopie2/opienet/802_11_user.h | |
parent | 340cb7e64fb898966996b00b93c03ca05a347aa5 (diff) | |
download | opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.zip opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.tar.gz opie-99899abc80a8aa05044eeecd8a061b0a8efaa713.tar.bz2 |
- add classes for 802.11 tagged values
- adjust miniwellenreiter accordingly
Diffstat (limited to 'libopie2/opienet/802_11_user.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opienet/802_11_user.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/libopie2/opienet/802_11_user.h b/libopie2/opienet/802_11_user.h index 0b3f198..ffdcb93 100644 --- a/libopie2/opienet/802_11_user.h +++ b/libopie2/opienet/802_11_user.h | |||
@@ -309,53 +309,61 @@ struct cf_t { | |||
309 | }; | 309 | }; |
310 | 310 | ||
311 | 311 | ||
312 | struct tim_t { | 312 | struct tim_t { |
313 | u_int8_telement_id; | 313 | u_int8_telement_id; |
314 | u_int8_tlength; | 314 | u_int8_tlength; |
315 | u_int8_tcount; | 315 | u_int8_tcount; |
316 | u_int8_tperiod; | 316 | u_int8_tperiod; |
317 | u_int8_tbitmap_control; | 317 | u_int8_tbitmap_control; |
318 | u_int8_tbitmap[251]; | 318 | u_int8_tbitmap[251]; |
319 | }; | 319 | }; |
320 | 320 | ||
321 | |||
322 | struct ibss_t { | ||
323 | u_int8_telement_id; | ||
324 | u_int8_tlength; | ||
325 | u_int16_tatim_window; | ||
326 | }; | ||
327 | |||
328 | |||
321 | #define E_SSID 0 | 329 | #define E_SSID 0 |
322 | #define E_RATES 1 | 330 | #define E_RATES 1 |
323 | #define E_FH 2 | 331 | #define E_FH 2 |
324 | #define E_DS 3 | 332 | #define E_DS 3 |
325 | #define E_CF 4 | 333 | #define E_CF 4 |
326 | #define E_TIM 5 | 334 | #define E_TIM 5 |
327 | #define E_IBSS 6 | 335 | #define E_IBSS 6 |
328 | #define E_CHALLENGE 16 | 336 | #define E_CHALLENGE 16 |
329 | #define E_CISCO 133 | 337 | #define E_CISCO 133 |
330 | 338 | ||
331 | 339 | ||
332 | struct ieee_802_11_mgmt_body { | 340 | struct ieee_802_11_mgmt_body { |
333 | u_int8_t timestamp[8]; | 341 | u_int8_t timestamp[8]; |
334 | u_int16_t beacon_interval; | 342 | u_int16_t beacon_interval; |
335 | // u_int16_t listen_interval; | 343 | // u_int16_t listen_interval; |
336 | // u_int16_t status_code; | 344 | // u_int16_t status_code; |
337 | // u_int16_t aid; | 345 | // u_int16_t aid; |
338 | // u_char ap[6]; | 346 | // u_char ap[6]; |
339 | // u_int16_treason_code; | 347 | // u_int16_treason_code; |
340 | // u_int16_tauth_alg; | 348 | // u_int16_tauth_alg; |
341 | // u_int16_tauth_trans_seq_num; | 349 | // u_int16_tauth_trans_seq_num; |
342 | // struct challenge_t challenge; | 350 | // struct challenge_t challenge; |
343 | u_int16_tcapability_info; | 351 | u_int16_tcapability_info; |
344 | struct ssid_tssid; | 352 | // struct ssid_tssid; |
345 | struct rates_t rates; | 353 | // struct rates_t rates; |
346 | struct ds_tds; | 354 | // struct ds_tds; |
347 | struct cf_tcf; | 355 | // struct cf_tcf; |
348 | struct fh_tfh; | 356 | // struct fh_tfh; |
349 | struct tim_ttim; | 357 | // struct tim_ttim; |
350 | }; | 358 | }; |
351 | 359 | ||
352 | 360 | ||
353 | struct ieee_802_11_data_body { | 361 | struct ieee_802_11_data_body { |
354 | //FIXME | 362 | //FIXME |
355 | }; | 363 | }; |
356 | 364 | ||
357 | struct ctrl_rts_t { | 365 | struct ctrl_rts_t { |
358 | u_int16_tfc; | 366 | u_int16_tfc; |
359 | u_int16_tduration; | 367 | u_int16_tduration; |
360 | u_int8_tra[6]; | 368 | u_int8_tra[6]; |
361 | u_int8_tta[6]; | 369 | u_int8_tta[6]; |