wifi: Make WifiTxVector::GetOrderedRus public

This commit is contained in:
Sébastien Deronne
2023-05-06 14:56:14 +02:00
committed by Sébastien Deronne
parent 3e13cdff8e
commit 1ec45cf37e

View File

@@ -434,6 +434,17 @@ class WifiTxVector
*/
HeMuUserInfoMap& GetHeMuUserInfoMap();
/// Ordered RUs per increasing frequency
using OrderedRus = std::map<HeRu::RuSpec, uint16_t, HeRu::RuSpecCompare>;
/**
* Get the ordered RUs with their associated STA-IDs per increasing frequency.
*
* \param p20Index the index of the primary20 channel
* \return the ordered RUs with their associated STA-IDs
*/
OrderedRus GetOrderedRus(uint8_t p20Index) const;
/**
* Set the 20 MHz subchannels that are punctured.
*
@@ -531,17 +542,6 @@ class WifiTxVector
*/
Center26ToneRuIndication DeriveCenter26ToneRuIndication() const;
/// Ordered RUs per increasing frequency
using OrderedRus = std::map<HeRu::RuSpec, uint16_t, HeRu::RuSpecCompare>;
/**
* Get the ordered RUs with their associated STA-IDs per increasing frequency.
*
* \param p20Index the index of the primary20 channel
* \return the ordered RUs with their associated STA-IDs
*/
OrderedRus GetOrderedRus(uint8_t p20Index) const;
WifiMode m_mode; /**< The DATARATE parameter in Table 15-4.
It is the value that will be passed
to PMD_RATE.request */