How to test collisions in a wi-fi scenario

56 views
Skip to first unread message

jshn...@gmail.com

unread,
Mar 20, 2017, 5:48:27 AM3/20/17
to ns-3-users
I created ~8000 wifi nodes in a square space (with a limited trasmission range) and the simulation works in this way: In the last thread someone said that Wi-Fi handles collisions very well. I tried using NqosWifiMacHelper and changing the WI-fi standard, but nothing changed. What can I use to make the this wireless scenario and get the collisions? Thank you.

Tommaso Pecorella

unread,
Mar 21, 2017, 11:13:54 AM3/21/17
to ns-3-users
Please:
1) Read the posting guidelines.
2) Do your homework.
3) WifiPhyStateHelper::m_rxErrorCallback and WifiPhyStateHelper::m_rxErrorTrace - how comes you haven't found it ?

T.

jshn...@gmail.com

unread,
Mar 22, 2017, 6:18:23 AM3/22/17
to ns-3-users
Every research on google brings me here. Will these 2 let me send messages and get collisions? I just need to disable the collision management for the wi-fi scenario.

Tommaso Pecorella

unread,
Mar 22, 2017, 7:42:07 PM3/22/17
to ns-3-users
Have a notice of a collision yes - but for real it is a drop due to high SNR, you don't know if it's just bad luck with noise or a collision with another packet. If this seems obscure to you, please study how a wireless receiver works.
Disabling the collision management is a totally different thing. Again, please study the Wi-Fi standard to understand why.

T.
Reply all
Reply to author
Forward
0 new messages