|
|
| 62 |
.SetParent<WifiRemoteStationManager> () |
62 |
.SetParent<WifiRemoteStationManager> () |
| 63 |
.SetGroupName ("Wifi") |
63 |
.SetGroupName ("Wifi") |
| 64 |
.AddConstructor<AparfWifiManager> () |
64 |
.AddConstructor<AparfWifiManager> () |
| 65 |
.AddAttribute ("SuccessThreshold 1", |
65 |
.AddAttribute ("SuccessThresholdHigh", |
| 66 |
"The minimum number of successful transmissions in \"High\" state to try a new power or rate.", |
66 |
"The minimum number of successful transmissions in \"High\" state to try a new power or rate.", |
| 67 |
UintegerValue (3), |
67 |
UintegerValue (3), |
| 68 |
MakeUintegerAccessor (&AparfWifiManager::m_succesMax1), |
68 |
MakeUintegerAccessor (&AparfWifiManager::m_succesMax1), |
| 69 |
MakeUintegerChecker<uint32_t> ()) |
69 |
MakeUintegerChecker<uint32_t> ()) |
| 70 |
.AddAttribute ("SuccessThreshold 2", |
70 |
.AddAttribute ("SuccessThresholdLow", |
| 71 |
"The minimum number of successful transmissions in \"Low\" state to try a new power or rate.", |
71 |
"The minimum number of successful transmissions in \"Low\" state to try a new power or rate.", |
| 72 |
UintegerValue (10), |
72 |
UintegerValue (10), |
| 73 |
MakeUintegerAccessor (&AparfWifiManager::m_succesMax2), |
73 |
MakeUintegerAccessor (&AparfWifiManager::m_succesMax2), |
|
|
| 82 |
UintegerValue (10), |
82 |
UintegerValue (10), |
| 83 |
MakeUintegerAccessor (&AparfWifiManager::m_powerMax), |
83 |
MakeUintegerAccessor (&AparfWifiManager::m_powerMax), |
| 84 |
MakeUintegerChecker<uint32_t> ()) |
84 |
MakeUintegerChecker<uint32_t> ()) |
| 85 |
.AddAttribute ("Power decrement step", |
85 |
.AddAttribute ("PowerDecrementStep", |
| 86 |
"Step size for decrement the power.", |
86 |
"Step size for decrement the power.", |
| 87 |
UintegerValue (1), |
87 |
UintegerValue (1), |
| 88 |
MakeUintegerAccessor (&AparfWifiManager::m_powerDec), |
88 |
MakeUintegerAccessor (&AparfWifiManager::m_powerDec), |
| 89 |
MakeUintegerChecker<uint32_t> ()) |
89 |
MakeUintegerChecker<uint32_t> ()) |
| 90 |
.AddAttribute ("Power increment step", |
90 |
.AddAttribute ("PowerIncrementStep", |
| 91 |
"Step size for increment the power.", |
91 |
"Step size for increment the power.", |
| 92 |
UintegerValue (1), |
92 |
UintegerValue (1), |
| 93 |
MakeUintegerAccessor (&AparfWifiManager::m_powerInc), |
93 |
MakeUintegerAccessor (&AparfWifiManager::m_powerInc), |
| 94 |
MakeUintegerChecker<uint32_t> ()) |
94 |
MakeUintegerChecker<uint32_t> ()) |
| 95 |
.AddAttribute ("Rate decrement step", |
95 |
.AddAttribute ("RateDecrementStep", |
| 96 |
"Step size for decrement the rate.", |
96 |
"Step size for decrement the rate.", |
| 97 |
UintegerValue (1), |
97 |
UintegerValue (1), |
| 98 |
MakeUintegerAccessor (&AparfWifiManager::m_rateDec), |
98 |
MakeUintegerAccessor (&AparfWifiManager::m_rateDec), |
| 99 |
MakeUintegerChecker<uint32_t> ()) |
99 |
MakeUintegerChecker<uint32_t> ()) |
| 100 |
.AddAttribute ("Rate increment step", |
100 |
.AddAttribute ("RateIncrementStep", |
| 101 |
"Step size for increment the rate.", |
101 |
"Step size for increment the rate.", |
| 102 |
UintegerValue (1), |
102 |
UintegerValue (1), |
| 103 |
MakeUintegerAccessor (&AparfWifiManager::m_rateInc), |
103 |
MakeUintegerAccessor (&AparfWifiManager::m_rateInc), |