Left: | ||
Right: |
OLD | NEW |
---|---|
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2009 CTTC | 3 * Copyright (c) 2009 CTTC |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
156 /** | 156 /** |
157 * Function to be called when the PHY layer of the considered | 157 * Function to be called when the PHY layer of the considered |
158 * device receives a frame | 158 * device receives a frame |
159 * | 159 * |
160 * @param context | 160 * @param context |
161 * @param packet | 161 * @param packet |
162 * @param snr | 162 * @param snr |
163 * @param mode | 163 * @param mode |
164 * @param preamble | 164 * @param preamble |
165 */ | 165 */ |
166 void PhyRxOkTrace (std::string context, Ptr<const Packet> packet, double snr, WifiMode mode, WifiPreamble preamble); | 166 void PhyRxOkTrace (std::string context, Ptr<const Packet> packet, double snr, WifiMode mode, enum WifiPreamble preamble); |
S. Deronne
2018/02/23 20:25:56
"enum" not needed
ammo6818-vandals.uidaho.edu
2018/02/25 10:41:45
enum removed
| |
167 | 167 |
168 /** | 168 /** |
169 * Function to be called when a frame reception by the PHY | 169 * Function to be called when a frame reception by the PHY |
170 * layer of the considered device resulted in an error due to a failure in th e CRC check of | 170 * layer of the considered device resulted in an error due to a failure in th e CRC check of |
171 * the frame | 171 * the frame |
172 * | 172 * |
173 * @param context | 173 * @param context |
174 * @param packet | 174 * @param packet |
175 * @param snr | 175 * @param snr |
176 */ | 176 */ |
(...skipping 13 matching lines...) Expand all Loading... | |
190 | 190 |
191 /** | 191 /** |
192 * Function to be called when the PHY layer of the considered device | 192 * Function to be called when the PHY layer of the considered device |
193 * changes state | 193 * changes state |
194 * | 194 * |
195 * @param context | 195 * @param context |
196 * @param start | 196 * @param start |
197 * @param duration | 197 * @param duration |
198 * @param state | 198 * @param state |
199 */ | 199 */ |
200 void PhyStateTrace (std::string context, Time start, Time duration, WifiPhy::S tate state); | 200 void PhyStateTrace (std::string context, Time start, Time duration, WifiPhySta te state); |
201 | 201 |
202 /** | 202 /** |
203 * Open a file for output | 203 * Open a file for output |
204 * | 204 * |
205 * @param name the name of the file to be opened. | 205 * @param name the name of the file to be opened. |
206 */ | 206 */ |
207 void Open (std::string const& name); | 207 void Open (std::string const& name); |
208 | 208 |
209 | 209 |
210 private: | 210 private: |
(...skipping 13 matching lines...) Expand all Loading... | |
224 | 224 |
225 std::ofstream *m_writer; ///< output stream | 225 std::ofstream *m_writer; ///< output stream |
226 | 226 |
227 Time m_interval; ///< interval | 227 Time m_interval; ///< interval |
228 | 228 |
229 }; //class AthstatsWifiTraceSink | 229 }; //class AthstatsWifiTraceSink |
230 | 230 |
231 } // namespace ns3 | 231 } // namespace ns3 |
232 | 232 |
233 #endif /* ATHSTATS_HELPER_H */ | 233 #endif /* ATHSTATS_HELPER_H */ |
OLD | NEW |