summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2011-03-22 23:23:41 +0000
committerDavid Brodski <david@brodski.eu>2011-03-22 23:23:41 +0000
commit8b5c27aee38c09aecf76907813d0ec5917d143b3 (patch)
treef17a928b77cf5bdb883e9b9038c5d320f43a8785 /src/transport/plugin_transport_wlan.h
parentd74a1b1b52178c35f0f804c34bc63fe2c0203c1a (diff)
doxigen and order of mac fields
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index fb1a7ff57..ac214a07c 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -54,13 +54,13 @@ static const uint8_t u8aIeeeHeader[] =
// 0x01 = 00000001 -> | b1 = 1 to DS; b2 = 0 not from DS;
0x00, 0x00, // Duration/ID
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // mac1 - in this case receiver
- 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, // mac2 - in this case bssid
- 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, // mac3 - in this case sender
+ 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, // mac2 - in this case sender
+ 0x13, 0x22, 0x33, 0x44, 0x55, 0x66, // mac3 - in this case bssid
0x10, 0x86, //Sequence Control
};
// gnunet bssid
-static const char macbc[] =
+static const char mac_bssid[] =
{ 0x13, 0x22, 0x33, 0x44, 0x55, 0x66 };
// broadcast mac
@@ -129,7 +129,9 @@ struct RadiotapHeader
/**
* radiotap version
*/
- uint16_t version GNUNET_PACKED;
+ u_int8_t version;
+
+ u_int8_t pad_version;
/**
* radiotap header length
@@ -137,7 +139,7 @@ struct RadiotapHeader
uint16_t length GNUNET_PACKED;
/**
- * bitmap
+ * bitmap, fields present
*/
uint32_t bitmap GNUNET_PACKED;