|
Lines 111-116
IdealWifiManager::DoInitialize ()
|
Link Here
|
|---|
|
| 111 |
for (uint8_t i = 0; i < nModes; i++) |
111 |
for (uint8_t i = 0; i < nModes; i++) |
| 112 |
{ |
112 |
{ |
| 113 |
mode = GetPhy ()->GetMode (i); |
113 |
mode = GetPhy ()->GetMode (i); |
|
|
114 |
if (i == 9 && GetChannelWidthForMode (mode) == 20) |
| 115 |
{ |
| 116 |
continue; |
| 117 |
} |
| 114 |
txVector.SetChannelWidth (GetChannelWidthForMode (mode)); |
118 |
txVector.SetChannelWidth (GetChannelWidthForMode (mode)); |
| 115 |
txVector.SetNss (nss); |
119 |
txVector.SetNss (nss); |
| 116 |
txVector.SetMode (mode); |
120 |
txVector.SetMode (mode); |
|
Lines 156-161
IdealWifiManager::DoInitialize ()
|
Link Here
|
|---|
|
| 156 |
txVector.SetGuardInterval (guardInterval); |
160 |
txVector.SetGuardInterval (guardInterval); |
| 157 |
for (uint8_t k = 1; k <= GetPhy ()->GetMaxSupportedTxSpatialStreams (); k++) |
161 |
for (uint8_t k = 1; k <= GetPhy ()->GetMaxSupportedTxSpatialStreams (); k++) |
| 158 |
{ |
162 |
{ |
|
|
163 |
if ((mode.GetMcsValue() == 9 && j == 20 && k != 3) |
| 164 |
|| (mode.GetMcsValue() == 6 && j == 80 && k == 3)) |
| 165 |
{ |
| 166 |
continue; |
| 167 |
} |
| 159 |
NS_LOG_DEBUG ("Initialize, adding mode = " << mode.GetUniqueName () << |
168 |
NS_LOG_DEBUG ("Initialize, adding mode = " << mode.GetUniqueName () << |
| 160 |
" channel width " << j << |
169 |
" channel width " << j << |
| 161 |
" nss " << +k << |
170 |
" nss " << +k << |