summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
authorDavid Brodski <david@brodski.eu>2011-11-02 14:44:28 +0000
committerDavid Brodski <david@brodski.eu>2011-11-02 14:44:28 +0000
commit8fb836dfc5e3ee835412207f6ee19a5455e06091 (patch)
treeb44dd12283d6b7e3a71e95310ce8a0e71a33d8d7 /src/transport/plugin_transport_wlan.h
parent5d4dd95a17d90d532b52e1060dd259f80a333931 (diff)
Documantation and small fixes.
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r--src/transport/plugin_transport_wlan.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.h b/src/transport/plugin_transport_wlan.h
index aa6a8aa52..628ec85c2 100644
--- a/src/transport/plugin_transport_wlan.h
+++ b/src/transport/plugin_transport_wlan.h
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet
- (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Christian Grothoff (and other contributing authors)
+ (C) 2010, 2011 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -133,18 +133,40 @@ struct Radiotap_Send
#define has_channel 4
/**
- * struct to represent infos gathered form the radiotap fields
+ * struct to represent infos gathered form the radiotap fields, see RadiotapHeader for more Infos
*/
struct Radiotap_rx
{
uint32_t ri_present;
+ /**
+ * IEEE80211_RADIOTAP_TSFT
+ */
uint64_t ri_mactime;
+ /**
+ * from radiotap
+ * either IEEE80211_RADIOTAP_DBM_ANTSIGNAL
+ * or IEEE80211_RADIOTAP_DB_ANTSIGNAL
+ */
int32_t ri_power;
+ /**
+ * either IEEE80211_RADIOTAP_DBM_ANTNOISE
+ * or IEEE80211_RADIOTAP_DB_ANTNOISE
+ */
int32_t ri_noise;
+ /**
+ * IEEE80211_RADIOTAP_CHANNEL
+ */
uint32_t ri_channel;
+
uint32_t ri_freq;
+ /**
+ * IEEE80211_RADIOTAP_RATE * 50000
+ */
uint32_t ri_rate;
+ /**
+ * IEEE80211_RADIOTAP_ANTENNA
+ */
uint32_t ri_antenna;
};