examples: move them to contrib, since they don't belong here
[netsniff-ng.git] / contrib / examples / pcap / 802.11 / info_elements / README
blob85619d15dae3202e16d2435a839be1e3378faa74
1 PCAPs for testing 802.11 >Infomation Elements< based on beacon frames.
2 Number in filename presents the element ID.
4         general structure >Infomation Elements<
5               +-----------+--------+-------------+
6               |Element ID | Length | Information |
7               +-----------+--------+-------------+
8         Bits        8           8       variable
10         for further data structure of this elements look at 802.11 spec
13 Creating own >Information Elements< PCAPs based on a beacon frame:
15 1.      open beacon_sub_template.pcap with a hexeditor
17 2.      append your >Informations Elements< data
19         example:
20         00 0B 6E 65 74 73 6E 69 66 66 2D 6E 67
21         
22         this adds a SSID Information Element with SSID: netsniff-ng
23         
24 3.      Go to byte position 0x20 (content 0x24) and add up the number of
25         appended bytes (0xD), this results in 0x31. Do the same at byte position
26         0x24. This both values describe the frame length and capture length.
27         Be aware of max frame length.