From e4507b763382a6670cf8cffd77cf6797610495c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Wed, 23 May 2018 06:18:28 +0200 Subject: [PATCH] wifi: Ness should be uint8_t in WifiRemoteStationManager --- src/wifi/model/wifi-remote-station-manager.cc | 2 +- src/wifi/model/wifi-remote-station-manager.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index 02a4dab60..11643bdb9 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -2089,7 +2089,7 @@ WifiRemoteStationManager::GetNumberOfSupportedStreams (const WifiRemoteStation * return station->m_state->m_streams; } -uint32_t +uint8_t WifiRemoteStationManager::GetNess (const WifiRemoteStation *station) const { return station->m_state->m_ness; diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index 8cf4cd5e0..0d7518758 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -1031,7 +1031,7 @@ protected: * * \return the number of Ness the station has */ - uint32_t GetNess (const WifiRemoteStation *station) const; + uint8_t GetNess (const WifiRemoteStation *station) const; /** * Return the preamble to be used for the transmission. * @@ -1522,14 +1522,14 @@ struct WifiRemoteStationState bool m_shortGuardInterval; //!< Flag if HT/VHT short guard interval is supported by the remote station uint16_t m_guardInterval; //!< HE Guard interval duration (in nanoseconds) supported by the remote station uint8_t m_streams; //!< Number of supported streams by the remote station - uint32_t m_ness; //!< Number of streams in beamforming of the remote station + uint8_t m_ness; //!< Number of streams in beamforming of the remote station bool m_stbc; //!< Flag if STBC is supported by the remote station bool m_ldpc; //!< Flag if LDPC is supported by the remote station bool m_aggregation; //!< Flag if MPDU aggregation is used by the remote station bool m_greenfield; //!< Flag if greenfield is supported by the remote station bool m_shortPreamble; //!< Flag if short PLCP preamble is supported by the remote station bool m_shortSlotTime; //!< Flag if short ERP slot time is supported by the remote station - bool m_qosSupported; //!< Flag if HT is supported by the station + bool m_qosSupported; //!< Flag if HT is supported by the station bool m_htSupported; //!< Flag if HT is supported by the station bool m_vhtSupported; //!< Flag if VHT is supported by the station bool m_heSupported; //!< Flag if HE is supported by the station