wifi: Cleanup more logs in getters

This commit is contained in:
Sébastien Deronne
2024-02-22 08:07:23 +01:00
committed by Sébastien Deronne
parent 2fc41e5a99
commit 691c75fbfd
3 changed files with 0 additions and 4 deletions

View File

@@ -821,7 +821,6 @@ HtPhy::GetMaxPsduSize() const
PhyEntity::CcaIndication
HtPhy::GetCcaIndication(const Ptr<const WifiPpdu> ppdu)
{
NS_LOG_FUNCTION(this);
if (m_wifiPhy->GetChannelWidth() < 40)
{
return OfdmPhy::GetCcaIndication(ppdu);

View File

@@ -583,8 +583,6 @@ VhtPhy::GetCcaThreshold(const Ptr<const WifiPpdu> ppdu, WifiChannelListType chan
PhyEntity::CcaIndication
VhtPhy::GetCcaIndication(const Ptr<const WifiPpdu> ppdu)
{
NS_LOG_FUNCTION(this);
if (m_wifiPhy->GetChannelWidth() < 80)
{
return HtPhy::GetCcaIndication(ppdu);

View File

@@ -753,7 +753,6 @@ WifiPhy::GetPhyEntityForPpdu(const Ptr<const WifiPpdu> ppdu) const
void
WifiPhy::AddStaticPhyEntity(WifiModulationClass modulation, Ptr<PhyEntity> 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");