From 1ec45cf37e9be6b13c0d9942609e4c3a30119efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sat, 6 May 2023 14:56:14 +0200 Subject: [PATCH] wifi: Make WifiTxVector::GetOrderedRus public --- src/wifi/model/wifi-tx-vector.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/wifi/model/wifi-tx-vector.h b/src/wifi/model/wifi-tx-vector.h index 7f298b927..4e54f9a5c 100644 --- a/src/wifi/model/wifi-tx-vector.h +++ b/src/wifi/model/wifi-tx-vector.h @@ -434,6 +434,17 @@ class WifiTxVector */ HeMuUserInfoMap& GetHeMuUserInfoMap(); + /// Ordered RUs per increasing frequency + using OrderedRus = std::map; + + /** + * 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; - - /** - * 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 */