aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.h
diff options
context:
space:
mode:
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 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Christian Grothoff (and other contributing authors) 3 (C) 2010, 2011 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -133,18 +133,40 @@ struct Radiotap_Send
133#define has_channel 4 133#define has_channel 4
134 134
135/** 135/**
136 * struct to represent infos gathered form the radiotap fields 136 * struct to represent infos gathered form the radiotap fields, see RadiotapHeader for more Infos
137 */ 137 */
138 138
139struct Radiotap_rx 139struct Radiotap_rx
140{ 140{
141 uint32_t ri_present; 141 uint32_t ri_present;
142 /**
143 * IEEE80211_RADIOTAP_TSFT
144 */
142 uint64_t ri_mactime; 145 uint64_t ri_mactime;
146 /**
147 * from radiotap
148 * either IEEE80211_RADIOTAP_DBM_ANTSIGNAL
149 * or IEEE80211_RADIOTAP_DB_ANTSIGNAL
150 */
143 int32_t ri_power; 151 int32_t ri_power;
152 /**
153 * either IEEE80211_RADIOTAP_DBM_ANTNOISE
154 * or IEEE80211_RADIOTAP_DB_ANTNOISE
155 */
144 int32_t ri_noise; 156 int32_t ri_noise;
157 /**
158 * IEEE80211_RADIOTAP_CHANNEL
159 */
145 uint32_t ri_channel; 160 uint32_t ri_channel;
161
146 uint32_t ri_freq; 162 uint32_t ri_freq;
163 /**
164 * IEEE80211_RADIOTAP_RATE * 50000
165 */
147 uint32_t ri_rate; 166 uint32_t ri_rate;
167 /**
168 * IEEE80211_RADIOTAP_ANTENNA
169 */
148 uint32_t ri_antenna; 170 uint32_t ri_antenna;
149}; 171};
150 172