diff --git a/src/devices/wifi/mgt-headers.cc b/src/devices/wifi/mgt-headers.cc index 8b45ad364..bc08231d0 100644 --- a/src/devices/wifi/mgt-headers.cc +++ b/src/devices/wifi/mgt-headers.cc @@ -288,11 +288,21 @@ MgtAssocResponseHeader::GetStatusCode (void) { return m_code; } +SupportedRates +MgtAssocResponseHeader::GetSupportedRates (void) +{ + return m_rates; +} void MgtAssocResponseHeader::SetStatusCode (StatusCode code) { m_code = code; } +void +MgtAssocResponseHeader::SetSupportedRates (SupportedRates rates) +{ + m_rates = rates; +} uint32_t MgtAssocResponseHeader::GetUid (void) diff --git a/src/devices/wifi/mgt-headers.h b/src/devices/wifi/mgt-headers.h index 5e5de3267..457ab1e03 100644 --- a/src/devices/wifi/mgt-headers.h +++ b/src/devices/wifi/mgt-headers.h @@ -64,6 +64,9 @@ public: ~MgtAssocResponseHeader (); StatusCode GetStatusCode (void); + SupportedRates GetSupportedRates (void); + + void SetSupportedRates (SupportedRates rates); void SetStatusCode (StatusCode code); static uint32_t GetUid (void);