From 084eb1154779fcc586f52cb2baac84225df47841 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 19 Aug 2024 14:46:02 +0100 Subject: [PATCH] wifi: Move clang-format guard --- src/wifi/model/vht/vht-phy.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wifi/model/vht/vht-phy.cc b/src/wifi/model/vht/vht-phy.cc index c2fe191e0..f329943b4 100644 --- a/src/wifi/model/vht/vht-phy.cc +++ b/src/wifi/model/vht/vht-phy.cc @@ -76,10 +76,12 @@ const VhtPhy::NesExceptionMap VhtPhy::m_exceptionsMap { { std::make_tuple (160, 7, 9), 12 }, // instead of 10 }; +// clang-format on + /** * \brief map a given channel list type to the corresponding scaling factor in dBm */ -const std::map channelTypeToScalingFactorDbm { +const std::map channelTypeToScalingFactorDbm{ {WIFI_CHANLIST_PRIMARY, 0.0}, {WIFI_CHANLIST_SECONDARY, 0.0}, {WIFI_CHANLIST_SECONDARY40, 3.0}, @@ -89,14 +91,12 @@ const std::map channelTypeToScalingFactorDbm { /** * \brief map a given secondary channel width to its channel list type */ -const std::map secondaryChannels { +const std::map secondaryChannels{ {20, WIFI_CHANLIST_SECONDARY}, {40, WIFI_CHANLIST_SECONDARY40}, {80, WIFI_CHANLIST_SECONDARY80}, }; -// clang-format on - VhtPhy::VhtPhy(bool buildModeList /* = true */) : HtPhy(1, false) // don't add HT modes to list {