From 08f3373bbe460bf13023f7acfb3785fc93e39b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Fri, 27 Jan 2023 18:08:53 +0100 Subject: [PATCH] wifi: Expose InterferenceHelper in WifiPhy attributes --- src/wifi/model/wifi-phy.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 5b441ef75..56ae598e1 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -251,6 +251,11 @@ WifiPhy::GetTypeId() PointerValue(), MakePointerAccessor(&WifiPhy::m_postReceptionErrorModel), MakePointerChecker()) + .AddAttribute("InterferenceHelper", + "Ptr to an object that implements the interference helper", + PointerValue(), + MakePointerAccessor(&WifiPhy::m_interference), + MakePointerChecker()) .AddAttribute("Sifs", "The duration of the Short Interframe Space. " "NOTE that the default value is overwritten by the value defined "