|
312 |
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from) |
312 |
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to, Mac48Address from) |
313 |
{ |
313 |
{ |
314 |
NS_LOG_FUNCTION (this << packet << to << from); |
314 |
NS_LOG_FUNCTION (this << packet << to << from); |
315 |
ForwardDown (packet, from, to); |
315 |
if (to.IsBroadcast() || m_stationManager->IsAssociated (to)) |
|
|
316 |
{ |
317 |
ForwardDown (packet, from, to); |
318 |
} |
316 |
} |
319 |
} |
317 |
void |
320 |
void |
318 |
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to) |
321 |
NqapWifiMac::Enqueue (Ptr<const Packet> packet, Mac48Address to) |
319 |
{ |
322 |
{ |
320 |
NS_LOG_FUNCTION (this << packet << to); |
323 |
NS_LOG_FUNCTION (this << packet << to); |
321 |
ForwardDown (packet, m_low->GetAddress (), to); |
324 |
if (to.IsBroadcast() || m_stationManager->IsAssociated (to)) |
|
|
325 |
{ |
326 |
ForwardDown (packet, m_low->GetAddress (), to); |
327 |
} |
322 |
} |
328 |
} |
323 |
bool |
329 |
bool |
324 |
NqapWifiMac::SupportsSendFrom (void) const |
330 |
NqapWifiMac::SupportsSendFrom (void) const |