27 WifiTxVector::WifiTxVector () |
27 WifiTxVector::WifiTxVector () |
28 : m_retries (0), |
28 : m_retries (0), |
29 m_shortGuardInterval (false), |
29 m_shortGuardInterval (false), |
30 m_nss (1), |
30 m_nss (1), |
31 m_ness (0), |
31 m_ness (0), |
|
32 m_aggregation (false), |
32 m_stbc (false), |
33 m_stbc (false), |
33 m_modeInitialized (false), |
34 m_modeInitialized (false), |
34 m_txPowerLevelInitialized (false) |
35 m_txPowerLevelInitialized (false) |
35 { |
36 { |
36 } |
37 } |
37 |
38 |
38 WifiTxVector::WifiTxVector (WifiMode mode, uint8_t powerLevel, uint8_t retries, |
39 WifiTxVector::WifiTxVector (WifiMode mode, uint8_t powerLevel, uint8_t retries, |
39 bool shortGuardInterval, uint8_t nss, uint8_t ness, bool stbc) |
40 bool shortGuardInterval, uint8_t nss, uint8_t ness, |
|
41 bool aggregation, bool stbc) |
40 : m_mode (mode), |
42 : m_mode (mode), |
41 m_txPowerLevel (powerLevel), |
43 m_txPowerLevel (powerLevel), |
42 m_retries (retries), |
44 m_retries (retries), |
43 m_shortGuardInterval (shortGuardInterval), |
45 m_shortGuardInterval (shortGuardInterval), |
44 m_nss (nss), |
46 m_nss (nss), |
45 m_ness (ness), |
47 m_ness (ness), |
|
48 m_aggregation (aggregation), |
46 m_stbc (stbc), |
49 m_stbc (stbc), |
47 m_modeInitialized (true), |
50 m_modeInitialized (true), |
48 m_txPowerLevelInitialized (true) |
51 m_txPowerLevelInitialized (true) |
49 { |
52 { |
50 } |
53 } |
149 " txpwrlvl:" << (uint32_t)v.GetTxPowerLevel () << |
164 " txpwrlvl:" << (uint32_t)v.GetTxPowerLevel () << |
150 " retries:" << (uint32_t)v.GetRetries () << |
165 " retries:" << (uint32_t)v.GetRetries () << |
151 " Short GI: " << v.IsShortGuardInterval () << |
166 " Short GI: " << v.IsShortGuardInterval () << |
152 " Nss: " << (uint32_t)v.GetNss () << |
167 " Nss: " << (uint32_t)v.GetNss () << |
153 " Ness: " << (uint32_t)v.GetNess () << |
168 " Ness: " << (uint32_t)v.GetNess () << |
|
169 " MPDU aggregation" << v.IsAggregation () << |
154 " STBC: " << v.IsStbc (); |
170 " STBC: " << v.IsStbc (); |
155 return os; |
171 return os; |
156 } |
172 } |
157 |
173 |
158 } //namespace ns3 |
174 } //namespace ns3 |