From 51d47aa0396bca1ea063cc42f6423835cbddae34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 11 Nov 2017 19:56:19 +0100 Subject: [PATCH] wifi: Remove unused reset function in WifiRemoteStationManager --- src/wifi/model/wifi-remote-station-manager.cc | 12 ------------ src/wifi/model/wifi-remote-station-manager.h | 8 -------- 2 files changed, 20 deletions(-) diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index 4ebe83780..38d8269d5 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -618,18 +618,6 @@ WifiRemoteStationManager::GetFragmentationThreshold (void) const return DoGetFragmentationThreshold (); } -void -WifiRemoteStationManager::Reset (Mac48Address address) -{ - NS_LOG_FUNCTION (this << address); - NS_ASSERT (!address.IsGroup ()); - WifiRemoteStationState *state = LookupState (address); - state->m_operationalRateSet.clear (); - state->m_operationalMcsSet.clear (); - AddSupportedMode (address, GetDefaultMode ()); - AddSupportedMcs (address, GetDefaultMcs ()); -} - void WifiRemoteStationManager::AddSupportedPlcpPreamble (Mac48Address address, bool isShortPreambleSupported) { diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index 4cb168bb4..9e7fdd2e8 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -529,14 +529,6 @@ public: */ WifiMode GetNonUnicastMode (void) const; - /** - * Invoked in an AP upon disassociation of a - * specific STA. - * - * \param address the address of the STA - */ - void Reset (Mac48Address address); - /** * Invoked in a STA or AP to store the set of * modes supported by a destination which is