• Antonio Quartulli's avatar
    batman-adv: improved roaming mechanism · cc47f66e
    Antonio Quartulli authored
    With the current client announcement implementation, in case of roaming,
    an update is triggered on the new AP serving the client. At that point
    the new information is spread around by means of the OGM broadcasting
    mechanism. Until this operations is not executed, no node is able to
    correctly route traffic towards the client. This obviously causes packet
    drops and introduces a delay in the time needed by the client to recover
    its connections.
    
    A new packet type called ROAMING_ADVERTISEMENT is added to account this
    issue.
    
    This message is sent in case of roaming from the new AP serving the
    client to the old one and will contain the client MAC address. In this
    way an out-of-OGM update is immediately committed, so that the old node
    can update its global translation table. Traffic reaching this node will
    then be redirected to the correct destination utilising the fresher
    information. Thus reducing the packet drops and the connection recovery
    delay.
    Signed-off-by: default avatarAntonio Quartulli <ordex@autistici.org>
    Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
    cc47f66e
originator.c 16.7 KB