|
|
| 547 |
SetSlot (MicroSeconds (20)); |
547 |
SetSlot (MicroSeconds (20)); |
| 548 |
} |
548 |
} |
| 549 |
} |
549 |
} |
| 550 |
if (m_qosSupported) |
550 |
if (m_qosSupported) |
| 551 |
{ |
551 |
{ |
| 552 |
EdcaParameterSet edcaParameters = beacon.GetEdcaParameterSet (); |
552 |
EdcaParameterSet edcaParameters = beacon.GetEdcaParameterSet (); |
| 553 |
//The value of the TXOP Limit field is specified as an unsigned integer, with the least significant octet transmitted first, in units of 32 μs. |
553 |
//The value of the TXOP Limit field is specified as an unsigned integer, with the least significant octet transmitted first, in units of 32 μs. |
|
|
| 556 |
SetEdcaParameters (AC_VI, edcaParameters.GetViCWmin(), edcaParameters.GetViCWmax(), edcaParameters.GetViAifsn(), 32 * MicroSeconds (edcaParameters.GetViTXOPLimit())); |
556 |
SetEdcaParameters (AC_VI, edcaParameters.GetViCWmin(), edcaParameters.GetViCWmax(), edcaParameters.GetViAifsn(), 32 * MicroSeconds (edcaParameters.GetViTXOPLimit())); |
| 557 |
SetEdcaParameters (AC_VO, edcaParameters.GetVoCWmin(), edcaParameters.GetVoCWmax(), edcaParameters.GetVoAifsn(), 32 * MicroSeconds (edcaParameters.GetVoTXOPLimit())); |
557 |
SetEdcaParameters (AC_VO, edcaParameters.GetVoCWmin(), edcaParameters.GetVoCWmax(), edcaParameters.GetVoAifsn(), 32 * MicroSeconds (edcaParameters.GetVoTXOPLimit())); |
| 558 |
} |
558 |
} |
|
|
559 |
if (m_htSupported) |
| 560 |
{ |
| 561 |
HtCapabilities htcapabilities = beacon.GetHtCapabilities (); |
| 562 |
m_stationManager->AddStationHtCapabilities (hdr->GetAddr2 (), htcapabilities); |
| 563 |
} |
| 564 |
if (m_vhtSupported) |
| 565 |
{ |
| 566 |
VhtCapabilities vhtcapabilities = beacon.GetVhtCapabilities (); |
| 567 |
m_stationManager->AddStationVhtCapabilities (hdr->GetAddr2 (), vhtcapabilities); |
| 568 |
} |
| 559 |
m_stationManager->SetShortPreambleEnabled (isShortPreambleEnabled); |
569 |
m_stationManager->SetShortPreambleEnabled (isShortPreambleEnabled); |
| 560 |
m_stationManager->SetShortSlotTimeEnabled (capabilities.IsShortSlotTime ()); |
570 |
m_stationManager->SetShortSlotTimeEnabled (capabilities.IsShortSlotTime ()); |
| 561 |
} |
571 |
} |