Diffstat (limited to 'libopie2/opienet/802_11_user.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/802_11_user.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opienet/802_11_user.h b/libopie2/opienet/802_11_user.h index 7ae27c5..1a9a7a0 100644 --- a/libopie2/opienet/802_11_user.h +++ b/libopie2/opienet/802_11_user.h | |||
@@ -434,25 +434,26 @@ struct ctrl_ps_poll_t { | |||
434 | struct ctrl_end_t { | 434 | struct ctrl_end_t { |
435 | u_int16_tfc; | 435 | u_int16_tfc; |
436 | u_int16_tduration; | 436 | u_int16_tduration; |
437 | u_int8_tra[6]; | 437 | u_int8_tra[6]; |
438 | u_int8_tbssid[6]; | 438 | u_int8_tbssid[6]; |
439 | u_int8_tfcs[4]; | 439 | u_int8_tfcs[4]; |
440 | }; | 440 | }; |
441 | 441 | ||
442 | #define CTRL_END_LEN(2+2+6+6+4) | 442 | #define CTRL_END_LEN(2+2+6+6+4) |
443 | 443 | ||
444 | struct ctrl_end_ack_t { | 444 | struct ctrl_end_ack_t { |
445 | u_int16_tfc; | 445 | u_int16_tfc; |
446 | u_int16_tduration; | 446 | u_int16_tduration; |
447 | u_int8_tra[6]; | 447 | u_int8_tra[6]; |
448 | u_int8_tbssid[6]; | 448 | u_int8_tbssid[6]; |
449 | u_int8_tfcs[4]; | 449 | u_int8_tfcs[4]; |
450 | }; | 450 | }; |
451 | 451 | ||
452 | #define CTRL_END_ACK_LEN(2+2+6+6+4) | 452 | #define CTRL_END_ACK_LEN(2+2+6+6+4) |
453 | 453 | ||
454 | #define IV_IV(iv)((iv) & 0xFFFFFF) | 454 | #define IV_IV(iv)((iv) & 0xFFFFFF) |
455 | #define IV_PAD(iv)(((iv) >> 24) & 0x3F) | 455 | #define IV_PAD(iv)(((iv) >> 24) & 0x3F) |
456 | #define IV_KEYID(iv)(((iv) >> 30) & 0x03) | 456 | #define IV_KEYID(iv)(((iv) >> 30) & 0x03) |
457 | 457 | ||
458 | |||
458 | #endif | 459 | #endif |