From 85f833fa34ffdbd1f24a89a8720ec98cfd57bb19 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Tue, 7 Feb 2023 11:29:37 +0100 Subject: [PATCH] wifi: STAs store AP's Transition Timeout in EMLSR manager --- src/wifi/model/eht/emlsr-manager.cc | 13 +++++++++++++ src/wifi/model/eht/emlsr-manager.h | 16 +++++++++++++++- src/wifi/model/sta-wifi-mac.cc | 6 ++++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/wifi/model/eht/emlsr-manager.cc b/src/wifi/model/eht/emlsr-manager.cc index b7aaefc0fb..463a57e93 100644 --- a/src/wifi/model/eht/emlsr-manager.cc +++ b/src/wifi/model/eht/emlsr-manager.cc @@ -97,4 +97,17 @@ EmlsrManager::GetEhtFem(uint8_t linkId) const return StaticCast(m_staMac->GetFrameExchangeManager(linkId)); } +void +EmlsrManager::SetTransitionTimeout(Time timeout) +{ + NS_LOG_FUNCTION(this << timeout.As(Time::US)); + m_emlsrTransitionTimeout = timeout; +} + +std::optional