wifi: Remove deprecated WifiNetDevice::Channel attribute

Deprecated in ns-3.37
This commit is contained in:
Eduardo Almeida
2025-03-18 16:30:53 +00:00
parent 50e5b7a9cb
commit 75ef81164d

View File

@@ -44,14 +44,6 @@ WifiNetDevice::GetTypeId()
UintegerValue(MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH),
MakeUintegerAccessor(&WifiNetDevice::SetMtu, &WifiNetDevice::GetMtu),
MakeUintegerChecker<uint16_t>(1, MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH))
.AddAttribute("Channel",
"The channel attached to this device",
PointerValue(),
MakePointerAccessor(&WifiNetDevice::GetChannel),
MakePointerChecker<Channel>(),
TypeId::SupportLevel::DEPRECATED,
"class WifiNetDevice; use the Channel "
"attribute of WifiPhy")
.AddAttribute("Phy",
"The PHY layer attached to this device.",
PointerValue(),