View | Details | Raw Unified | Return to bug 1141
Collapse All | Expand All

(-)a/src/mesh/model/mesh-wifi-interface-mac.cc (-3 / +3 lines)
 Lines 209-223    Link Here 
209
  // Assert that address1 is set. Assert will fail e.g. if there is no installed routing plugin.
209
  // Assert that address1 is set. Assert will fail e.g. if there is no installed routing plugin.
210
  NS_ASSERT (hdr.GetAddr1 () != Mac48Address ());
210
  NS_ASSERT (hdr.GetAddr1 () != Mac48Address ());
211
  // Queue frame
211
  // Queue frame
212
  if (m_stationManager->IsBrandNew (to))
212
  if (m_stationManager->IsBrandNew (hdr.GetAddr1 ()))
213
    {
213
    {
214
      // in adhoc mode, we assume that every destination
214
      // in adhoc mode, we assume that every destination
215
      // supports all the rates we support.
215
      // supports all the rates we support.
216
      for (uint32_t i = 0; i < m_phy->GetNModes (); i++)
216
      for (uint32_t i = 0; i < m_phy->GetNModes (); i++)
217
        {
217
        {
218
          m_stationManager->AddSupportedMode (to, m_phy->GetMode (i));
218
          m_stationManager->AddSupportedMode (hdr.GetAddr1 (), m_phy->GetMode (i));
219
        }
219
        }
220
      m_stationManager->RecordDisassociated (to);
220
      m_stationManager->RecordDisassociated (hdr.GetAddr1 ());
221
    }
221
    }
222
  //Classify: application sets a tag, which is removed here
222
  //Classify: application sets a tag, which is removed here
223
  // Get Qos tag:
223
  // Get Qos tag:

Return to bug 1141