From f325e3bd8323efcd3805ea480438f86b28d1d621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Wed, 28 Mar 2018 13:58:13 +0200 Subject: [PATCH] wifi: Extend insertion operator in HtOperation IE --- src/wifi/model/ht-operation.cc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/wifi/model/ht-operation.cc b/src/wifi/model/ht-operation.cc index cd939d26d..1ce4fde2a 100644 --- a/src/wifi/model/ht-operation.cc +++ b/src/wifi/model/ht-operation.cc @@ -500,9 +500,24 @@ HtOperation::DeserializeInformationField (Buffer::Iterator start, std::ostream & operator << (std::ostream &os, const HtOperation &htOperation) { - os << bool (htOperation.GetStaChannelWidth ()) + os << bool (htOperation.GetPrimaryChannel ()) + << "|" << +htOperation.GetSecondaryChannelOffset () + << "|" << bool (htOperation.GetStaChannelWidth ()) << "|" << bool (htOperation.GetRifsMode ()) - << "|" << bool (htOperation.GetDualCtsProtection ()); + << "|" << +htOperation.GetHtProtection () + << "|" << bool (htOperation.GetNonGfHtStasPresent ()) + << "|" << bool (htOperation.GetObssNonHtStasPresent ()) + << "|" << bool (htOperation.GetDualBeacon ()) + << "|" << bool (htOperation.GetDualCtsProtection ()) + << "|" << bool (htOperation.GetStbcBeacon ()) + << "|" << bool (htOperation.GetLSigTxopProtectionFullSupport ()) + << "|" << bool (htOperation.GetPcoActive ()) + << "|" << bool (htOperation.GetPhase ()) + << "|" << htOperation.GetRxHighestSupportedDataRate () + << "|" << bool (htOperation.GetTxMcsSetDefined ()) + << "|" << bool (htOperation.GetTxRxMcsSetUnequal ()) + << "|" << +htOperation.GetTxMaxNSpatialStreams () + << "|" << bool (htOperation.GetTxUnequalModulation ()); return os; }