From e840a0220b13f420cbb741c7499d4295106bdbc6 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Mon, 4 Sep 2023 22:01:06 +0200 Subject: [PATCH] wifi: Update PHY connected to RSM upon EMLSR link switching --- src/wifi/model/sta-wifi-mac.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wifi/model/sta-wifi-mac.cc b/src/wifi/model/sta-wifi-mac.cc index 50a82f812..6d95093cb 100644 --- a/src/wifi/model/sta-wifi-mac.cc +++ b/src/wifi/model/sta-wifi-mac.cc @@ -2055,6 +2055,8 @@ StaWifiMac::NotifySwitchingEmlsrLink(Ptr phy, uint8_t linkId, Time dela newLink.feManager->ResetPhy(); // Connect the FEM on the new link to the given PHY newLink.feManager->SetWifiPhy(phy); + // Connect the station manager on the new link to the given PHY + newLink.stationManager->SetupPhy(phy); }; // if there is no PHY operating on the new link, connect the PHY to the new link now.