diff options
author | David Brodski <david@brodski.eu> | 2011-11-02 14:44:28 +0000 |
---|---|---|
committer | David Brodski <david@brodski.eu> | 2011-11-02 14:44:28 +0000 |
commit | 8fb836dfc5e3ee835412207f6ee19a5455e06091 (patch) | |
tree | b44dd12283d6b7e3a71e95310ce8a0e71a33d8d7 /src/transport/plugin_transport_wlan.h | |
parent | 5d4dd95a17d90d532b52e1060dd259f80a333931 (diff) | |
download | gnunet-8fb836dfc5e3ee835412207f6ee19a5455e06091.tar.gz gnunet-8fb836dfc5e3ee835412207f6ee19a5455e06091.zip |
Documantation and small fixes.
Diffstat (limited to 'src/transport/plugin_transport_wlan.h')
-rw-r--r-- | src/transport/plugin_transport_wlan.h | 26 |
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 | ||
139 | struct Radiotap_rx | 139 | struct 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 | ||