From 75ef81164d3dbf098bdb658b930dfc15ac5c3c98 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 18 Mar 2025 16:30:53 +0000 Subject: [PATCH] wifi: Remove deprecated WifiNetDevice::Channel attribute Deprecated in ns-3.37 --- src/wifi/model/wifi-net-device.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/wifi/model/wifi-net-device.cc b/src/wifi/model/wifi-net-device.cc index c1b4372e2..d7d778ed0 100644 --- a/src/wifi/model/wifi-net-device.cc +++ b/src/wifi/model/wifi-net-device.cc @@ -44,14 +44,6 @@ WifiNetDevice::GetTypeId() UintegerValue(MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH), MakeUintegerAccessor(&WifiNetDevice::SetMtu, &WifiNetDevice::GetMtu), MakeUintegerChecker(1, MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH)) - .AddAttribute("Channel", - "The channel attached to this device", - PointerValue(), - MakePointerAccessor(&WifiNetDevice::GetChannel), - MakePointerChecker(), - TypeId::SupportLevel::DEPRECATED, - "class WifiNetDevice; use the Channel " - "attribute of WifiPhy") .AddAttribute("Phy", "The PHY layer attached to this device.", PointerValue(),