|
| 1 | +[General] |
| 2 | +network = ChannelWidthsNetwork |
| 3 | +sim-time-limit = 2s |
| 4 | + |
| 5 | +# AP and STA configuration |
| 6 | +**.ap.wlan[*].address = "10:00:00:00:00:01" |
| 7 | +**.sta1.wlan[*].mgmt.accessPointAddress = "10:00:00:00:00:01" |
| 8 | +**.sta2.wlan[*].mgmt.accessPointAddress = "10:00:00:00:00:01" |
| 9 | +**.interferer.wlan[*].mgmt.accessPointAddress = "10:00:00:00:00:01" |
| 10 | + |
| 11 | +# Radio medium parameters |
| 12 | +**.radioMedium.backgroundNoise.power = -110dBm |
| 13 | +**.radioMedium.analogModel.ignorePartialInterference = true |
| 14 | + |
| 15 | +# Wi-Fi physical parameters |
| 16 | +**.wlan[*].opMode = "n(mixed-2.4Ghz)" |
| 17 | +**.wlan[*].radio.transmitter.power = 20mW |
| 18 | +**.wlan[*].radio.receiver.sensitivity = -85dBm |
| 19 | +**.wlan[*].radio.receiver.energyDetection = -85dBm |
| 20 | +**.wlan[*].radio.receiver.snirThreshold = 4dB |
| 21 | + |
| 22 | +# Application: UDP traffic between STA1 and STA2 |
| 23 | +*.sta1.numApps = 1 |
| 24 | +*.sta1.app[0].typename = "UdpBasicApp" |
| 25 | +*.sta1.app[0].destAddresses = "sta2" |
| 26 | +*.sta1.app[0].destPort = 5000 |
| 27 | +*.sta1.app[0].messageLength = 1000B |
| 28 | +*.sta1.app[0].sendInterval = 1ms |
| 29 | +*.sta1.app[0].startTime = 0.1s |
| 30 | +*.sta1.app[0].stopTime = 1.9s |
| 31 | + |
| 32 | +*.sta2.numApps = 1 |
| 33 | +*.sta2.app[0].typename = "UdpSink" |
| 34 | +*.sta2.app[0].localPort = 5000 |
| 35 | + |
| 36 | +# Base HT20 config |
| 37 | +[Config Ht20MHz] |
| 38 | +description = "IEEE 802.11n 20 MHz operation on 2.4 GHz channel 0" |
| 39 | +**.wlan[*].radio.bandwidth = 20MHz |
| 40 | +**.wlan[*].radio.channelNumber = 0 |
| 41 | +**.wlan[*].htSecondaryChannelOffset = "none" |
| 42 | + |
| 43 | +# HT40+ (secondary above) |
| 44 | +[Config Ht40MHzSecondaryAbove] |
| 45 | +description = "IEEE 802.11n 40 MHz operation with secondary channel above (+20 MHz)" |
| 46 | +**.wlan[*].radio.bandwidth = 40MHz |
| 47 | +**.wlan[*].radio.channelNumber = 0 |
| 48 | +**.wlan[*].htSecondaryChannelOffset = "above" |
| 49 | + |
| 50 | +# HT40- (secondary below) |
| 51 | +[Config Ht40MHzSecondaryBelow] |
| 52 | +description = "IEEE 802.11n 40 MHz operation with secondary channel below (-20 MHz)" |
| 53 | +**.wlan[*].radio.bandwidth = 40MHz |
| 54 | +**.wlan[*].radio.channelNumber = 4 |
| 55 | +**.wlan[*].htSecondaryChannelOffset = "below" |
| 56 | + |
| 57 | +# HT40+ with interferer on secondary channel |
| 58 | +[Config Ht40MHzSecondaryAboveWithInterferer] |
| 59 | +description = "HT40+ with secondary channel interferer causing EDCA backoff restart" |
| 60 | +extends = Ht40MHzSecondaryAbove |
| 61 | +*.interferer.numApps = 1 |
| 62 | +*.interferer.app[0].typename = "UdpBasicApp" |
| 63 | +*.interferer.app[0].destAddresses = "sta2" |
| 64 | +*.interferer.app[0].destPort = 6000 |
| 65 | +*.interferer.app[0].messageLength = 500B |
| 66 | +*.interferer.app[0].sendInterval = 2ms |
| 67 | +*.interferer.app[0].startTime = 0.2s |
| 68 | +*.interferer.app[0].stopTime = 1.8s |
| 69 | +*.interferer.wlan[*].radio.bandwidth = 20MHz |
| 70 | +*.interferer.wlan[*].radio.channelNumber = 4 |
| 71 | +*.interferer.wlan[*].htSecondaryChannelOffset = "none" |
0 commit comments