diff --git a/src/wifi/model/ht-operation.cc b/src/wifi/model/ht-operation.cc index aaff0055c..fd892b508 100644 --- a/src/wifi/model/ht-operation.cc +++ b/src/wifi/model/ht-operation.cc @@ -270,7 +270,7 @@ HtOperation::GetPhase (void) const } bool -HtOperation::IsSupportedMcs (uint8_t mcs) +HtOperation::IsSupportedMcs (uint8_t mcs) const { if (m_rxMcsBitmask[mcs] == 1) { @@ -517,7 +517,11 @@ operator << (std::ostream &os, const HtOperation &htOperation) << "|" << bool (htOperation.GetTxMcsSetDefined ()) << "|" << bool (htOperation.GetTxRxMcsSetUnequal ()) << "|" << +htOperation.GetTxMaxNSpatialStreams () - << "|" << bool (htOperation.GetTxUnequalModulation ()); + << "|" << bool (htOperation.GetTxUnequalModulation ()) << "|"; + for (uint8_t i = 0; i < MAX_SUPPORTED_MCS; i++) + { + os << htOperation.IsSupportedMcs (i) << " "; + } return os; } diff --git a/src/wifi/model/ht-operation.h b/src/wifi/model/ht-operation.h index faec330b6..609b20c9b 100644 --- a/src/wifi/model/ht-operation.h +++ b/src/wifi/model/ht-operation.h @@ -323,7 +323,7 @@ public: *\ * \return the MCS is supported */ - bool IsSupportedMcs (uint8_t mcs); + bool IsSupportedMcs (uint8_t mcs) const; /** * Return receive highest supported data rate. *