applications,wifi: Add comments to deprecated attributes

This commit is contained in:
Eduardo Almeida
2025-03-18 16:30:47 +00:00
parent b506ec1bc2
commit 50e5b7a9cb
8 changed files with 17 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ ThreeGppHttpClient::GetTypeId()
PointerValue(),
MakePointerAccessor(&ThreeGppHttpClient::m_httpVariables),
MakePointerChecker<ThreeGppHttpVariables>())
// NS_DEPRECATED_3_44
.AddAttribute("RemoteServerAddress",
"The address of the destination server.",
AddressValue(),
@@ -66,6 +67,7 @@ ThreeGppHttpClient::GetTypeId()
MakeAddressChecker(),
TypeId::SupportLevel::DEPRECATED,
"Replaced by Remote in ns-3.44.")
// NS_DEPRECATED_3_44
.AddAttribute("RemoteServerPort",
"The destination port of the outbound packets.",
UintegerValue(80), // the default HTTP port

View File

@@ -59,6 +59,7 @@ ThreeGppHttpServer::GetTypeId()
PointerValue(),
MakePointerAccessor(&ThreeGppHttpServer::m_httpVariables),
MakePointerChecker<ThreeGppHttpVariables>())
// NS_DEPRECATED_3_44
.AddAttribute("LocalAddress",
"The local address of the server, "
"i.e., the address on which to bind the Rx socket.",
@@ -67,6 +68,7 @@ ThreeGppHttpServer::GetTypeId()
MakeAddressChecker(),
TypeId::SupportLevel::DEPRECATED,
"Replaced by Local in ns-3.44.")
// NS_DEPRECATED_3_44
.AddAttribute("LocalPort",
"Port on which the application listen for incoming packets.",
UintegerValue(80), // the default HTTP port

View File

@@ -49,6 +49,7 @@ UdpClient::GetTypeId()
TimeValue(Seconds(1)),
MakeTimeAccessor(&UdpClient::m_interval),
MakeTimeChecker())
// NS_DEPRECATED_3_44
.AddAttribute("RemoteAddress",
"The destination Address of the outbound packets",
AddressValue(),
@@ -60,6 +61,7 @@ UdpClient::GetTypeId()
MakeAddressChecker(),
TypeId::SupportLevel::DEPRECATED,
"Replaced by Remote in ns-3.44.")
// NS_DEPRECATED_3_44
.AddAttribute("RemotePort",
"The destination port of the outbound packets",
UintegerValue(UdpClient::DEFAULT_PORT),

View File

@@ -41,6 +41,7 @@ UdpEchoClient::GetTypeId()
TimeValue(Seconds(1)),
MakeTimeAccessor(&UdpEchoClient::m_interval),
MakeTimeChecker())
// NS_DEPRECATED_3_44
.AddAttribute(
"RemoteAddress",
"The destination Address of the outbound packets",
@@ -53,6 +54,7 @@ UdpEchoClient::GetTypeId()
MakeAddressChecker(),
TypeId::SupportLevel::DEPRECATED,
"Replaced by Remote in ns-3.44.")
// NS_DEPRECATED_3_44
.AddAttribute("RemotePort",
"The destination port of the outbound packets",
UintegerValue(UdpEchoClient::DEFAULT_PORT),

View File

@@ -56,6 +56,7 @@ UdpTraceClient::GetTypeId()
.SetParent<SourceApplication>()
.SetGroupName("Applications")
.AddConstructor<UdpTraceClient>()
// NS_DEPRECATED_3_44
.AddAttribute("RemoteAddress",
"The destination Address of the outbound packets",
AddressValue(),
@@ -66,6 +67,7 @@ UdpTraceClient::GetTypeId()
MakeAddressChecker(),
TypeId::SupportLevel::DEPRECATED,
"Replaced by Remote in ns-3.44.")
// NS_DEPRECATED_3_44
.AddAttribute(
"RemotePort",
"The destination port of the outbound packets",

View File

@@ -61,6 +61,7 @@ ConfigStore::GetTypeId()
EnumValue(ConfigStore::RAW_TEXT),
MakeEnumAccessor<FileFormat>(&ConfigStore::SetFileFormat),
MakeEnumChecker(ConfigStore::RAW_TEXT, "RawText", ConfigStore::XML, "Xml"))
// NS_DEPRECATED_3_43
.AddAttribute(
"SaveDeprecated",
"Save DEPRECATED attributes",

View File

@@ -65,6 +65,7 @@ Txop::GetTypeId()
"AC_BEACON",
AC_UNDEF,
"AC_UNDEF"))
// NS_DEPRECATED_3_42
.AddAttribute("MinCw",
"The minimum value of the contention window (just for the first link, "
"in case of 11be multi-link devices).",
@@ -85,6 +86,7 @@ Txop::GetTypeId()
AttributeContainerValue<UintegerValue>(),
MakeAttributeContainerAccessor<UintegerValue>(&Txop::SetMinCws, &Txop::GetMinCws),
MakeAttributeContainerChecker<UintegerValue>(MakeUintegerChecker<uint32_t>()))
// NS_DEPRECATED_3_42
.AddAttribute("MaxCw",
"The maximum value of the contention window (just for the first link, "
"in case of 11be multi-link devices).",
@@ -105,6 +107,7 @@ Txop::GetTypeId()
AttributeContainerValue<UintegerValue>(),
MakeAttributeContainerAccessor<UintegerValue>(&Txop::SetMaxCws, &Txop::GetMaxCws),
MakeAttributeContainerChecker<UintegerValue>(MakeUintegerChecker<uint32_t>()))
// NS_DEPRECATED_3_42
.AddAttribute(
"Aifsn",
"The AIFSN: the default value conforms to non-QOS (just for the first link, "
@@ -126,6 +129,7 @@ Txop::GetTypeId()
AttributeContainerValue<UintegerValue>(),
MakeAttributeContainerAccessor<UintegerValue>(&Txop::SetAifsns, &Txop::GetAifsns),
MakeAttributeContainerChecker<UintegerValue>(MakeUintegerChecker<uint8_t>()))
// NS_DEPRECATED_3_42
.AddAttribute("TxopLimit",
"The TXOP limit: the default value conforms to non-QoS "
"(just for the first link, in case of 11be multi-link devices).",

View File

@@ -45,6 +45,7 @@ WifiRemoteStationManager::GetTypeId()
TypeId("ns3::WifiRemoteStationManager")
.SetParent<Object>()
.SetGroupName("Wifi")
// NS_DEPRECATED_3_44
.AddAttribute("MaxSsrc",
"The maximum number of retransmission attempts for any packet with size "
"<= RtsCtsThreshold. "
@@ -54,6 +55,7 @@ WifiRemoteStationManager::GetTypeId()
MakeUintegerChecker<uint32_t>(),
TypeId::SupportLevel::OBSOLETE,
"Use WifiMac::FrameRetryLimit instead")
// NS_DEPRECATED_3_44
.AddAttribute("MaxSlrc",
"The maximum number of retransmission attempts for any packet with size "
"> RtsCtsThreshold. "