Ella Robinson
Ella Robinson

Reputation: 1

re-naming string argument of Ssid for one network is changing results in ns-3

This question is about ns-3 simulator. I have a simple Wifi network with AP and I am varying the number of STAs. No mobility yet. AP and STAs are distributed according to RowFirst in Grid Position Allocator.

My problem is that when I change the ssid string, for a fixed number of STAs, my results change.

E.g. For 32 STAs and 1 AP, when I have the following, no matter how many times I re-run the simulation, I get the same throughput, packet error loss results. Ssid ssid = Ssid("ns3-80211n");

However, when I change this string, to say "abc", the throughput and packet error loss results change. They remain consistent when I re-run the simulation when the same string.

Ssid ssid = Ssid("abc");

The argument of Ssid is just a string, I can name my network whatever I want, so not sure why my results are changing. Seems like the hash of this is being used somewhere. Can anybody please help?

Fixed locations of AP and STAs - didn't help. Made sure to rule out effect of any other randomness not related to Ssid by running simulation multiple times, results are consistent for one Ssid string, no matter how many times I run, but results change when I change the value of Ssid string.

Upvotes: 0

Views: 15

Answers (0)

Related Questions