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 * This program is free software; you can redistribute it and/or modify | 3 * This program is free software; you can redistribute it and/or modify |
4 * it under the terms of the GNU General Public License version 2 as | 4 * it under the terms of the GNU General Public License version 2 as |
5 * published by the Free Software Foundation; | 5 * published by the Free Software Foundation; |
6 * | 6 * |
7 * This program is distributed in the hope that it will be useful, | 7 * This program is distributed in the hope that it will be useful, |
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 * GNU General Public License for more details. | 10 * GNU General Public License for more details. |
(...skipping 24 matching lines...) Expand all Loading... |
35 /** | 35 /** |
36 * \ingroup wave | 36 * \ingroup wave |
37 * To trace WaveNetDevice, we have to overwrite the trace functions of class Yan
sWifiPhyHelper. | 37 * To trace WaveNetDevice, we have to overwrite the trace functions of class Yan
sWifiPhyHelper. |
38 * The source code is very similar with YansWifiPhy, only with some adaptation. | 38 * The source code is very similar with YansWifiPhy, only with some adaptation. |
39 */ | 39 */ |
40 class YansWavePhyHelper : public YansWifiPhyHelper | 40 class YansWavePhyHelper : public YansWifiPhyHelper |
41 { | 41 { |
42 public: | 42 public: |
43 /** | 43 /** |
44 * Create a phy helper in a default working state. | 44 * Create a phy helper in a default working state. |
| 45 * \returns a default YansWavePhyHelper object· |
45 */ | 46 */ |
46 static YansWavePhyHelper Default (void); | 47 static YansWavePhyHelper Default (void); |
47 | 48 |
48 private: | 49 private: |
49 /** | 50 /** |
50 * @brief Enable pcap output the indicated net device. | 51 * @brief Enable pcap output the indicated net device. |
51 * | 52 * |
52 * NetDevice-specific implementation mechanism for hooking the trace and | 53 * NetDevice-specific implementation mechanism for hooking the trace and |
53 * writing to the trace file. | 54 * writing to the trace file. |
54 * | 55 * |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 int64_t AssignStreams (NetDeviceContainer c, int64_t stream); | 245 int64_t AssignStreams (NetDeviceContainer c, int64_t stream); |
245 | 246 |
246 protected: | 247 protected: |
247 ObjectFactory m_stationManager; ///< station manager | 248 ObjectFactory m_stationManager; ///< station manager |
248 ObjectFactory m_channelScheduler; ///< channel scheduler | 249 ObjectFactory m_channelScheduler; ///< channel scheduler |
249 std::vector<uint32_t> m_macsForChannelNumber; ///< MACs for channel number | 250 std::vector<uint32_t> m_macsForChannelNumber; ///< MACs for channel number |
250 uint32_t m_physNumber; ///< Phy number | 251 uint32_t m_physNumber; ///< Phy number |
251 }; | 252 }; |
252 } | 253 } |
253 #endif /* WAVE_HELPER_H */ | 254 #endif /* WAVE_HELPER_H */ |
OLD | NEW |