From 0ac8cefcbd0cb9f575f96f627645ff1a60f61cf0 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Wed, 20 Mar 2024 13:13:06 +0100 Subject: [PATCH] wifi: Add FrameExchangeManagers attribute to WifiMac ...so that FEMs can be accessed through the naming system --- src/wifi/model/wifi-mac.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wifi/model/wifi-mac.cc b/src/wifi/model/wifi-mac.cc index 6a4132848..607428e56 100644 --- a/src/wifi/model/wifi-mac.cc +++ b/src/wifi/model/wifi-mac.cc @@ -132,6 +132,12 @@ WifiMac::GetTypeId() ObjectVectorValue(), MakeObjectVectorAccessor(&WifiMac::GetChannelAccessManager, &WifiMac::GetNLinks), MakeObjectVectorChecker()) + .AddAttribute( + "FrameExchangeManagers", + "The Frame Exchange Manager(s) attached to this device.", + ObjectVectorValue(), + MakeObjectVectorAccessor(&WifiMac::GetFrameExchangeManager, &WifiMac::GetNLinks), + MakeObjectVectorChecker()) .AddAttribute( "MpduBufferSize", "The size (in number of MPDUs) of the buffer used for each BlockAck "