|
|
| 145 |
if (m_htSupported) |
145 |
if (m_htSupported) |
| 146 |
{ |
146 |
{ |
| 147 |
capabilities.SetLdpc (m_phy->GetLdpc ()); |
147 |
capabilities.SetLdpc (m_phy->GetLdpc ()); |
| 148 |
capabilities.SetSupportedChannelWidth (m_phy->GetChannelWidth () == 40); |
148 |
capabilities.SetSupportedChannelWidth (m_phy->GetChannelWidth () >= 40); |
| 149 |
capabilities.SetShortGuardInterval20 (m_phy->GetGuardInterval ()); |
149 |
capabilities.SetShortGuardInterval20 (m_phy->GetGuardInterval ()); |
| 150 |
capabilities.SetShortGuardInterval40 (m_phy->GetChannelWidth () == 40 && m_phy->GetGuardInterval ()); |
150 |
capabilities.SetShortGuardInterval40 (m_phy->GetChannelWidth () >= 40 && m_phy->GetGuardInterval ()); |
| 151 |
capabilities.SetGreenfield (m_phy->GetGreenfield ()); |
151 |
capabilities.SetGreenfield (m_phy->GetGreenfield ()); |
| 152 |
capabilities.SetMaxAmsduLength (1); //hardcoded for now (TBD) |
152 |
capabilities.SetMaxAmsduLength (1); //hardcoded for now (TBD) |
| 153 |
capabilities.SetLSigProtectionSupport (!m_phy->GetGreenfield ()); |
153 |
capabilities.SetLSigProtectionSupport (!m_phy->GetGreenfield ()); |