Wi-Fi Beacon details

47 views
Skip to first unread message

Chandrani ray chowdhury

unread,
Oct 22, 2019, 4:15:56 AM10/22/19
to ns-3-users
Can somebody please help me to get the addresses of Access Points from which a node receives Beacons

Rajarishi Devarajan

unread,
Oct 22, 2019, 4:52:53 AM10/22/19
to ns-3-users
When you say "addresses of Access Points", I assume you mean the MAC address of the Access Point. This can be easily determined from the packet capture. The Beacon frame contains the "Source Address" field which contains the MAC address of the device transmitting the beacon frames.

Regards,
Rishi

Chandrani ray chowdhury

unread,
Oct 22, 2019, 5:27:28 AM10/22/19
to ns-3-users
Thank you very much for your reply. But as I am new to ns3, therefore I am facing difficulty to code it. If possible, then please help me to know how to code it. 

Rajarishi Devarajan

unread,
Oct 22, 2019, 6:12:18 AM10/22/19
to ns-3-users
You have to go through the tutorial. There are plenty of examples in the source code folder, that you can try for yourself.

This example code will show you how to setup a WiFi channel: https://www.nsnam.org/doxygen/third_8cc_source.html

Regards,
Rishi
Reply all
Reply to author
Forward
0 new messages