diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index cfb2fe393..62d3c7cf2 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -2006,10 +2006,14 @@ WifiRemoteStationManager::GetAggregation(const WifiRemoteStation* station) const uint8_t WifiRemoteStationManager::GetNumberOfSupportedStreams(const WifiRemoteStation* station) const { - Ptr htCapabilities = station->m_state->m_htCapabilities; + const auto htCapabilities = station->m_state->m_htCapabilities; if (!htCapabilities) { + if (const auto heCapabilities = station->m_state->m_heCapabilities) + { + return heCapabilities->GetHighestNssSupported(); + } return 1; } return htCapabilities->GetRxHighestSupportedAntennas();