Wifi Handover

331 views
Skip to first unread message

canleloglu

unread,
May 22, 2012, 5:49:49 AM5/22/12
to ns-3-users
In current ns3 deployment a wifi station nodes waits to lose 10
beacons from an access point to mark it as unassociated. This process
of losing 10 beacons take a second, i want this time to be reduces
because i want to associate station node with a new access point more
quickly.

I could not figure out where to change to make this happen.

Any suggestions?

Konstantinos

unread,
May 22, 2012, 6:12:41 AM5/22/12
to ns-3-...@googlegroups.com
Hi there,

See the attributes of StaWifiMac class (http://www.nsnam.org/doxygen/classns3_1_1_sta_wifi_mac.html)

  • ProbeRequestTimeout: The interval between two consecutive probe request attempts.
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: +50000000.0ns
    • Flags: construct write read
  • AssocRequestTimeout: The interval between two consecutive assoc request attempts.
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: +500000000.0ns
    • Flags: construct write read
  • MaxMissedBeacons: Number of beacons which much be consecutively missed before we attempt to restart association.
You can change any of these 3 (using the attribute system) so that you can have more frequent de-association.
 
Any suggestions?

canleloglu

unread,
May 22, 2012, 5:32:55 PM5/22/12
to ns-3-users
Exactly what im looking for. Thanks.

On May 22, 1:12 pm, Konstantinos <dinos.katsa...@gmail.com> wrote:
> Hi there,
>
> On Tuesday, 22 May 2012 10:49:49 UTC+1, canleloglu wrote:
>
> > In current ns3 deployment a wifi station nodes waits to lose 10
> > beacons from an access point to mark it as unassociated. This process
> > of losing 10 beacons take a second, i want this time to be reduces
> > because i want to associate station node with a new access point more
> > quickly.
>
> > I could not figure out where to change to make this happen.
>
> See the attributes of StaWifiMac class
> (http://www.nsnam.org/doxygen/classns3_1_1_sta_wifi_mac.html)
>
>    - *ProbeRequestTimeout*: The interval between two consecutive probe
>    request attempts.
>       - Set with class: TimeValue<http://www.nsnam.org/doxygen/classns3_1_1_time_value.html>
>       - Underlying type: Time<http://www.nsnam.org/doxygen/classns3_1_1_time.html>
>       - Initial value: +50000000.0ns
>       - Flags: construct write read
>    - *AssocRequestTimeout*: The interval between two consecutive assoc
>    request attempts.
>       - Set with class: TimeValue<http://www.nsnam.org/doxygen/classns3_1_1_time_value.html>
>       - Underlying type: Time<http://www.nsnam.org/doxygen/classns3_1_1_time.html>
>       - Initial value: +500000000.0ns
>       - Flags: construct write read
>    - *MaxMissedBeacons*: Number of beacons which much be consecutively
>    missed before we attempt to restart association.
>       - Set with class: ns3::UintegerValue<http://www.nsnam.org/doxygen/classns3_1_1_uinteger_value.html>
>       - Underlying type: uint32_t<http://www.nsnam.org/doxygen/classns3_1_1_uinteger_value.html#uint32_t>0:4294967295
>       - Initial value: 10
>       - Flags: construct write read
Reply all
Reply to author
Forward
0 new messages