|
|
| 75 |
* \param channelWidth the channel width in MHz |
75 |
* \param channelWidth the channel width in MHz |
| 76 |
* \param aggregation enable or disable MPDU aggregation |
76 |
* \param aggregation enable or disable MPDU aggregation |
| 77 |
* \param stbc enable or disable STBC |
77 |
* \param stbc enable or disable STBC |
|
|
78 |
* \param bssColor the BSS color |
| 78 |
*/ |
79 |
*/ |
| 79 |
WifiTxVector (WifiMode mode, |
80 |
WifiTxVector (WifiMode mode, |
| 80 |
uint8_t powerLevel, |
81 |
uint8_t powerLevel, |
|
|
| 85 |
uint8_t ness, |
86 |
uint8_t ness, |
| 86 |
uint16_t channelWidth, |
87 |
uint16_t channelWidth, |
| 87 |
bool aggregation, |
88 |
bool aggregation, |
| 88 |
bool stbc); |
89 |
bool stbc, |
|
|
90 |
uint8_t bssColor = 0); |
| 89 |
/** |
91 |
/** |
| 90 |
* \returns the selected payload transmission mode |
92 |
* \returns the selected payload transmission mode |
| 91 |
*/ |
93 |
*/ |
|
|
| 192 |
*/ |
194 |
*/ |
| 193 |
void SetStbc (bool stbc); |
195 |
void SetStbc (bool stbc); |
| 194 |
/** |
196 |
/** |
|
|
197 |
* Set the BSS color |
| 198 |
* \param color the BSS color |
| 199 |
*/ |
| 200 |
void SetBssColor (uint8_t color); |
| 201 |
/** |
| 202 |
* Get the BSS color |
| 203 |
* \return the BSS color |
| 204 |
*/ |
| 205 |
uint8_t GetBssColor (void) const; |
| 206 |
/** |
| 195 |
* The standard disallows certain combinations of WifiMode, number of |
207 |
* The standard disallows certain combinations of WifiMode, number of |
| 196 |
* spatial streams, and channel widths. This method can be used to |
208 |
* spatial streams, and channel widths. This method can be used to |
| 197 |
* check whether this WifiTxVector contains an invalid combination. |
209 |
* check whether this WifiTxVector contains an invalid combination. |
|
|
| 216 |
uint8_t m_ness; /**< number of spatial streams in beamforming */ |
228 |
uint8_t m_ness; /**< number of spatial streams in beamforming */ |
| 217 |
bool m_aggregation; /**< Flag whether the PSDU contains A-MPDU. */ |
229 |
bool m_aggregation; /**< Flag whether the PSDU contains A-MPDU. */ |
| 218 |
bool m_stbc; /**< STBC used or not */ |
230 |
bool m_stbc; /**< STBC used or not */ |
|
|
231 |
uint8_t m_bssColor; /**< BSS color */ |
| 219 |
|
232 |
|
| 220 |
bool m_modeInitialized; /**< Internal initialization flag */ |
233 |
bool m_modeInitialized; /**< Internal initialization flag */ |
| 221 |
bool m_txPowerLevelInitialized; /**< Internal initialization flag */ |
234 |
bool m_txPowerLevelInitialized; /**< Internal initialization flag */ |