|
|
| 447 |
m_qosStuff = txop; |
447 |
m_qosStuff = txop; |
| 448 |
} |
448 |
} |
| 449 |
|
449 |
|
|
|
450 |
void WifiMacHeader::SetQosMeshControlPresent (void) |
| 451 |
{ |
| 452 |
// mark bit 0 of this variable instead of bit 8, since m_qosStuff is |
| 453 |
// shifted by one byte when serialized |
| 454 |
m_qosStuff = m_qosStuff | 0x01; // bit 8 of QoS Control Field |
| 455 |
} |
| 456 |
|
| 457 |
void WifiMacHeader::SetQosNoMeshControlPresent () |
| 458 |
{ |
| 459 |
// clear bit 0 of this variable instead of bit 8, since m_qosStuff is |
| 460 |
// shifted by one byte when serialized |
| 461 |
m_qosStuff = m_qosStuff & 0xfe; // bit 8 of QoS Control Field |
| 462 |
} |
| 463 |
|
| 464 |
|
| 450 |
Mac48Address |
465 |
Mac48Address |
| 451 |
WifiMacHeader::GetAddr1 (void) const |
466 |
WifiMacHeader::GetAddr1 (void) const |
| 452 |
{ |
467 |
{ |