Changing SIFS while the simulation is running

39 views
Skip to first unread message

Mohammad Abu Shattal

unread,
Jan 27, 2017, 3:53:16 PM1/27/17
to ns-3-users
Hello All,

Can we change SIFS values for different nodes,  such that each node has a different priority of accessing the channel, based on its MAC address?
Is this possible dynamically in run time?

Best regards,
Mohammad

Tommaso Pecorella

unread,
Jan 29, 2017, 8:36:58 PM1/29/17
to ns-3-users
Hi,

Yes, it is possible to change the SIFS for each node.
No, it's not easy, you need to call specific functions (i.e., there's no attribute).
No, you'll have to study the code.

Start with
grep sifs src/wifi/model/*

T.

Mohammad

unread,
Jan 29, 2017, 9:23:59 PM1/29/17
to ns-3-...@googlegroups.com
Thanks you Tommaso. 
I appreciate your help. 
Best regards,
Mohammad 
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/l4ZHD_9KBxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Sebastien Deronne

unread,
Jan 30, 2017, 7:05:43 AM1/30/17
to ns-3-users
You can find an example about how to change any wifi timing attribute in examples/wireless/wifi-timing-attributes.cc

Mohammad

unread,
Jan 30, 2017, 10:31:09 AM1/30/17
to ns-3-...@googlegroups.com
Thank you Sebastian. 
I will check it out.
Best regards,
Mohammad 

On Jan 30, 2017, at 7:05 AM, Sebastien Deronne <sebastie...@gmail.com> wrote:

You can find an example about how to change any wifi timing attribute in examples/wireless/wifi-timing-attributes.cc

--
Reply all
Reply to author
Forward
0 new messages