On 10/4/24 05:44, Hugo Ledirach wrote:
> Hello,
>
> I'm working on a custom module that aims to test the connection status
> between a given node and its neighbor but without using callbacks. The
> idea is not to use omniscient tools but to limit the usable information
> to what is embedded on the node and to separate the custom module from
> the network devices.
>
> Currently, I'm using the WifiNetDevice::IsLinkUp() method, but I'm
> having trouble evaluating what information I'm getting. If the link is
> "Up", does that mean the connection is available, i.e. the device is
> switched on and configured correctly, or does it mean there's an
> information flow, or something else?
If this is not a newer MLO model (for which I don't know the details),
the linkUp flag is set to true at time zero for APs and upon successful
reception of association response message for STAs.
For STAs, link down occurs if association is later lost.
>
> In the source code, the m_linkUp variable is set to True when the
> physical layer is set, but I was wondering if I'd missed something.
>
> If there's a better way, I'm open to suggestions, any help is
> appreciated, thanks in advance for helping me better understand the
> inner workings of our beloved NS3.
>
> BR
>
> --
> Posting to this group should follow these guidelines
>
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> <
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting>
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
ns-3-users+...@googlegroups.com
> <mailto:
ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ns-3-users/3dc721e7-c341-4a25-ae19-cdc2b36b1127n%40googlegroups.com <
https://groups.google.com/d/msgid/ns-3-users/3dc721e7-c341-4a25-ae19-cdc2b36b1127n%40googlegroups.com?utm_medium=email&utm_source=footer>.