src/wifi/model/yans-wifi-channel.cc
changeset 10144 0f1bb8770045
parent 10139 17a71cd49da3
child 10410 4d4eb8097fa3
equal deleted inserted replaced
10143:48f66512ec9b 10144:0f1bb8770045
    79                        WifiTxVector txVector, WifiPreamble preamble) const
    79                        WifiTxVector txVector, WifiPreamble preamble) const
    80 {
    80 {
    81   Ptr<MobilityModel> senderMobility = sender->GetMobility ()->GetObject<MobilityModel> ();
    81   Ptr<MobilityModel> senderMobility = sender->GetMobility ()->GetObject<MobilityModel> ();
    82   NS_ASSERT (senderMobility != 0);
    82   NS_ASSERT (senderMobility != 0);
    83   uint32_t j = 0;
    83   uint32_t j = 0;
    84   WifiMode wifiMode=txVector.GetMode();
       
    85   for (PhyList::const_iterator i = m_phyList.begin (); i != m_phyList.end (); i++, j++)
    84   for (PhyList::const_iterator i = m_phyList.begin (); i != m_phyList.end (); i++, j++)
    86     {
    85     {
    87       if (sender != (*i))
    86       if (sender != (*i))
    88         {
    87         {
    89           // For now don't account for inter channel interference
    88           // For now don't account for inter channel interference