wifi: Add missing const in EhtCapabilities functions
This commit is contained in:
@@ -594,7 +594,7 @@ EhtCapabilities::SetSupportedTxEhtMcsAndNss(EhtMcsAndNssSet::EhtMcsMapType mapTy
|
||||
}
|
||||
|
||||
uint8_t
|
||||
EhtCapabilities::GetHighestSupportedRxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType)
|
||||
EhtCapabilities::GetHighestSupportedRxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType) const
|
||||
{
|
||||
const auto it = m_supportedEhtMcsAndNssSet.supportedEhtMcsAndNssSet.find(mapType);
|
||||
if (it == m_supportedEhtMcsAndNssSet.supportedEhtMcsAndNssSet.cend())
|
||||
@@ -629,7 +629,7 @@ EhtCapabilities::GetHighestSupportedRxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType
|
||||
}
|
||||
|
||||
uint8_t
|
||||
EhtCapabilities::GetHighestSupportedTxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType)
|
||||
EhtCapabilities::GetHighestSupportedTxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType) const
|
||||
{
|
||||
const auto it = m_supportedEhtMcsAndNssSet.supportedEhtMcsAndNssSet.find(mapType);
|
||||
if (it == m_supportedEhtMcsAndNssSet.supportedEhtMcsAndNssSet.cend())
|
||||
|
||||
@@ -308,14 +308,14 @@ class EhtCapabilities : public WifiInformationElement
|
||||
* @param mapType the EHT-MCS map type
|
||||
* @return the highest supported RX MCS for the given EHT-MCS map type
|
||||
*/
|
||||
uint8_t GetHighestSupportedRxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType);
|
||||
uint8_t GetHighestSupportedRxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType) const;
|
||||
/**
|
||||
* Get the highest supported TX MCS for a given EHT-MCS map type.
|
||||
*
|
||||
* @param mapType the EHT-MCS map type
|
||||
* @return the highest supported TX MCS for the given EHT-MCS map type
|
||||
*/
|
||||
uint8_t GetHighestSupportedTxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType);
|
||||
uint8_t GetHighestSupportedTxMcs(EhtMcsAndNssSet::EhtMcsMapType mapType) const;
|
||||
|
||||
/**
|
||||
* Set the EHT PPE threshold info subfield
|
||||
|
||||
Reference in New Issue
Block a user