fix misspelled attribute and doxygen in YansWifiPhy

This commit is contained in:
Sébastien Deronne
2014-11-19 14:05:36 -08:00
parent 5601229646
commit 497cb5cd28
3 changed files with 5 additions and 3 deletions

View File

@@ -61,7 +61,6 @@ us a note on ns-developers mailing list.</p>
the stats module, enabling TracedValues emitting values of type the stats module, enabling TracedValues emitting values of type
ns3::Time to be handled by the framework. ns3::Time to be handled by the framework.
</li> </li>
</ul> </ul>
<h2>Changes to existing API:</h2> <h2>Changes to existing API:</h2>
@@ -74,6 +73,9 @@ us a note on ns-developers mailing list.</p>
</li> </li>
<li> WifiPhy::CalculateTxDuration() and WifiPhy::GetPayloadDurationMicroSeconds () now take an additional frequency parameter. <li> WifiPhy::CalculateTxDuration() and WifiPhy::GetPayloadDurationMicroSeconds () now take an additional frequency parameter.
</li> </li>
<li> The attribute 'Recievers' in class YansWifiPhy was misspelled, so
this has been corrected to 'Receivers'.
</li>
</ul> </ul>
<h2>Changes to build system:</h2> <h2>Changes to build system:</h2>

View File

@@ -131,7 +131,7 @@ YansWifiPhy::GetTypeId (void)
MakeUintegerAccessor (&YansWifiPhy::GetNumberOfTransmitAntennas, MakeUintegerAccessor (&YansWifiPhy::GetNumberOfTransmitAntennas,
&YansWifiPhy::SetNumberOfTransmitAntennas), &YansWifiPhy::SetNumberOfTransmitAntennas),
MakeUintegerChecker<uint32_t> ()) MakeUintegerChecker<uint32_t> ())
.AddAttribute ("Recievers", "The number of recievers.", .AddAttribute ("Receivers", "The number of receivers.",
UintegerValue (1), UintegerValue (1),
MakeUintegerAccessor (&YansWifiPhy::GetNumberOfReceiveAntennas, MakeUintegerAccessor (&YansWifiPhy::GetNumberOfReceiveAntennas,
&YansWifiPhy::SetNumberOfReceiveAntennas), &YansWifiPhy::SetNumberOfReceiveAntennas),

View File

@@ -477,7 +477,7 @@ private:
bool m_stbc; //!< Flag if STBC is used bool m_stbc; //!< Flag if STBC is used
bool m_greenfield; //!< Flag if GreenField format is supported bool m_greenfield; //!< Flag if GreenField format is supported
bool m_guardInterval; //!< Flag if short guard interval is used bool m_guardInterval; //!< Flag if short guard interval is used
bool m_channelBonding; //!< Flag if channel conding is used bool m_channelBonding; //!< Flag if channel bonding is used
/** /**