Skip to content

Commit

Permalink
wifi: Fix MAC not attached to each remote station manager in aggregat…
Browse files Browse the repository at this point in the history
…ion tests
  • Loading branch information
sderonne authored and Sébastien Deronne committed Jan 21, 2024
1 parent a56892a commit 3871191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wifi/test/wifi-aggregation-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ AmpduAggregationTest::DoSetup()
m_mac = CreateObjectWithAttributes<StaWifiMac>("QosSupported", BooleanValue(true));
m_mac->SetDevice(m_device);
m_mac->SetWifiRemoteStationManagers(m_managers);
for (uint8_t i = 0; i < m_params.nLinks; i++)
{
m_managers.at(i)->SetupMac(m_mac);
}
m_mac->SetAddress(Mac48Address("00:00:00:00:00:01"));
m_device->SetMac(m_mac);
m_mac->SetWifiPhys(m_phys);
Expand Down

0 comments on commit 3871191

Please sign in to comment.