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) 2014 Universidad de la República - Uruguay | 3 * Copyright (c) 2014 Universidad de la República - Uruguay |
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 * The levels depend only on the physical layer of the device. | 90 * The levels depend only on the physical layer of the device. |
91 */ | 91 */ |
92 uint32_t m_minPower; | 92 uint32_t m_minPower; |
93 | 93 |
94 /** | 94 /** |
95 * Maximal power level. | 95 * Maximal power level. |
96 */ | 96 */ |
97 uint32_t m_maxPower; | 97 uint32_t m_maxPower; |
98 | 98 |
99 /** | 99 /** |
100 * The trace source fired when the transmission power changes.... | 100 * The trace source fired when the transmission power changes. |
101 */ | 101 */ |
102 TracedCallback<uint8_t, Mac48Address> m_powerChange; | 102 TracedCallback<double, double, Mac48Address> m_powerChange; |
103 /** | 103 /** |
104 * The trace source fired when the transmission rate changes. | 104 * The trace source fired when the transmission rate changes. |
105 */ | 105 */ |
106 TracedCallback<uint32_t, Mac48Address> m_rateChange; | 106 TracedCallback<DataRate, DataRate, Mac48Address> m_rateChange; |
107 }; | 107 }; |
108 | 108 |
109 } //namespace ns3 | 109 } //namespace ns3 |
110 | 110 |
111 #endif /* PARF_WIFI_MANAGER_H */ | 111 #endif /* PARF_WIFI_MANAGER_H */ |
OLD | NEW |