|
|
| 124 |
m_stationManager = stationManager; |
124 |
m_stationManager = stationManager; |
| 125 |
m_stationManager->SetHtSupported (GetHtSupported ()); |
125 |
m_stationManager->SetHtSupported (GetHtSupported ()); |
| 126 |
m_stationManager->SetVhtSupported (GetVhtSupported ()); |
126 |
m_stationManager->SetVhtSupported (GetVhtSupported ()); |
|
|
127 |
m_stationManager->SetPsmpSupported (GetPsmpSupported ()); |
| 127 |
m_low->SetWifiRemoteStationManager (stationManager); |
128 |
m_low->SetWifiRemoteStationManager (stationManager); |
| 128 |
|
129 |
|
| 129 |
m_dca->SetWifiRemoteStationManager (stationManager); |
130 |
m_dca->SetWifiRemoteStationManager (stationManager); |
|
|
| 538 |
return m_low->GetCtsToSelfSupported (); |
539 |
return m_low->GetCtsToSelfSupported (); |
| 539 |
} |
540 |
} |
| 540 |
|
541 |
|
|
|
542 |
bool |
| 543 |
RegularWifiMac::GetPsmpSupported () const |
| 544 |
{ |
| 545 |
return m_psmpSupported; |
| 546 |
} |
| 547 |
|
| 548 |
void |
| 549 |
RegularWifiMac::SetPsmpSupported (bool enable) |
| 550 |
{ |
| 551 |
NS_LOG_FUNCTION (this << enable); |
| 552 |
m_psmpSupported = enable; |
| 553 |
NS_ASSERT_MSG (m_psmpSupported == false, "PSMP not yet supported"); |
| 554 |
} |
| 555 |
|
| 541 |
void |
556 |
void |
| 542 |
RegularWifiMac::SetSlot (Time slotTime) |
557 |
RegularWifiMac::SetSlot (Time slotTime) |
| 543 |
{ |
558 |
{ |
|
|
| 941 |
MakeBooleanAccessor (&RegularWifiMac::SetCtsToSelfSupported, |
956 |
MakeBooleanAccessor (&RegularWifiMac::SetCtsToSelfSupported, |
| 942 |
&RegularWifiMac::GetCtsToSelfSupported), |
957 |
&RegularWifiMac::GetCtsToSelfSupported), |
| 943 |
MakeBooleanChecker ()) |
958 |
MakeBooleanChecker ()) |
|
|
959 |
.AddAttribute ("PowerSaveMultiPollSupported", |
| 960 |
"This Boolean attribute is set to enable 802.11n/ac PSMP operation at this STA.", |
| 961 |
BooleanValue (false), |
| 962 |
MakeBooleanAccessor (&RegularWifiMac::SetPsmpSupported, |
| 963 |
&RegularWifiMac::GetPsmpSupported), |
| 964 |
MakeBooleanChecker ()) |
| 944 |
.AddAttribute ("VO_MaxAmsduSize", |
965 |
.AddAttribute ("VO_MaxAmsduSize", |
| 945 |
"Maximum length in bytes of an A-MSDU for AC_VO access class.", |
966 |
"Maximum length in bytes of an A-MSDU for AC_VO access class.", |
| 946 |
UintegerValue (0), |
967 |
UintegerValue (0), |