wifi: Update PHY connected to RSM upon EMLSR link switching

This commit is contained in:
Stefano Avallone
2023-09-04 22:01:06 +02:00
committed by Stefano Avallone
parent 76e472e1c3
commit e840a0220b

View File

@@ -2055,6 +2055,8 @@ StaWifiMac::NotifySwitchingEmlsrLink(Ptr<WifiPhy> 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.