From 691c75fbfd761a013093a52097ff5007c197f902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Thu, 22 Feb 2024 08:07:23 +0100 Subject: [PATCH] wifi: Cleanup more logs in getters --- src/wifi/model/ht/ht-phy.cc | 1 - src/wifi/model/vht/vht-phy.cc | 2 -- src/wifi/model/wifi-phy.cc | 1 - 3 files changed, 4 deletions(-) diff --git a/src/wifi/model/ht/ht-phy.cc b/src/wifi/model/ht/ht-phy.cc index 443bf7b50..bb232c478 100644 --- a/src/wifi/model/ht/ht-phy.cc +++ b/src/wifi/model/ht/ht-phy.cc @@ -821,7 +821,6 @@ HtPhy::GetMaxPsduSize() const PhyEntity::CcaIndication HtPhy::GetCcaIndication(const Ptr ppdu) { - NS_LOG_FUNCTION(this); if (m_wifiPhy->GetChannelWidth() < 40) { return OfdmPhy::GetCcaIndication(ppdu); diff --git a/src/wifi/model/vht/vht-phy.cc b/src/wifi/model/vht/vht-phy.cc index 3a5ddebbb..2e89b9594 100644 --- a/src/wifi/model/vht/vht-phy.cc +++ b/src/wifi/model/vht/vht-phy.cc @@ -583,8 +583,6 @@ VhtPhy::GetCcaThreshold(const Ptr ppdu, WifiChannelListType chan PhyEntity::CcaIndication VhtPhy::GetCcaIndication(const Ptr ppdu) { - NS_LOG_FUNCTION(this); - if (m_wifiPhy->GetChannelWidth() < 80) { return HtPhy::GetCcaIndication(ppdu); diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 6be3c1896..70b15398f 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -753,7 +753,6 @@ WifiPhy::GetPhyEntityForPpdu(const Ptr ppdu) const void WifiPhy::AddStaticPhyEntity(WifiModulationClass modulation, Ptr phyEntity) { - NS_LOG_FUNCTION(modulation); NS_ASSERT_MSG(GetStaticPhyEntities().find(modulation) == GetStaticPhyEntities().end(), "The PHY entity has already been added. The setting should only be done once per " "modulation class");