4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 6dc0241 was
2c060e3,
checked in by Daniel Lawson <dlawson@…>, 18 years ago
|
Initial revision
|
-
Property mode set to
100644
|
File size:
829 bytes
|
Line | |
---|
1 | #ifndef _WAG_H_ |
---|
2 | #define _WAG_H_ |
---|
3 | |
---|
4 | struct wag_event_t { |
---|
5 | uint32_t length; |
---|
6 | uint32_t timestamp_hi; |
---|
7 | uint32_t timestamp_lo; |
---|
8 | uint32_t type; |
---|
9 | uint32_t seq_num; |
---|
10 | uint8_t payload[]; |
---|
11 | }; |
---|
12 | |
---|
13 | struct wag_data_event_t { |
---|
14 | uint32_t rx_params; |
---|
15 | uint32_t rx_rssi; |
---|
16 | uint32_t frame_length; |
---|
17 | uint8_t data[]; |
---|
18 | }; |
---|
19 | |
---|
20 | struct ieee_802_11_header { |
---|
21 | uint8_t protocol:2; |
---|
22 | uint8_t type:2; |
---|
23 | uint8_t subtype:4; |
---|
24 | uint8_t to_ds:1; |
---|
25 | uint8_t from_ds:1; |
---|
26 | uint8_t more_frag:1; |
---|
27 | uint8_t retry:1; |
---|
28 | uint8_t power:1; |
---|
29 | uint8_t more_data:1; |
---|
30 | uint8_t wep:1; |
---|
31 | uint8_t order:1; |
---|
32 | uint16_t duration; |
---|
33 | uint8_t mac1[6]; |
---|
34 | uint8_t mac2[6]; |
---|
35 | uint8_t mac3[6]; |
---|
36 | uint16_t SeqCtl; |
---|
37 | uint8_t mac4[6]; |
---|
38 | uint8_t data[]; |
---|
39 | }; |
---|
40 | |
---|
41 | struct ieee_802_11_payload { |
---|
42 | uint16_t type; |
---|
43 | uint8_t data[]; |
---|
44 | }; |
---|
45 | |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.