|
423 |
Mac48Address to = hdr->GetAddr1 (); |
423 |
Mac48Address to = hdr->GetAddr1 (); |
424 |
Mac48Address from = hdr->GetAddr2 (); |
424 |
Mac48Address from = hdr->GetAddr2 (); |
425 |
|
425 |
|
426 |
if (hdr->IsMgt () && hdr->IsAction () && to == GetAddress ()) |
426 |
// We don't know how to deal with any frame that is not addressed to |
|
|
427 |
// us (and odds are there is nothing sensible we could do anyway), |
428 |
// so we ignore such frames. |
429 |
// |
430 |
// The derived class may also do some such filtering, but it doesn't |
431 |
// hurt to have it here too as a backstop. |
432 |
if (to != GetAddress ()) |
433 |
{ |
434 |
NotifyRxDrop (packet); |
435 |
return; |
436 |
} |
437 |
|
438 |
if (hdr->IsMgt () && hdr->IsAction ()) |
427 |
{ |
439 |
{ |
428 |
// There is currently only any reason for Management Action |
440 |
// There is currently only any reason for Management Action |
429 |
// frames to be flying about if we are a QoS STA. |
441 |
// frames to be flying about if we are a QoS STA. |