[Ns-developers] [patch] beacon frame in mac 802.11
tomh at tomh.org
Sun May 28 11:38:32 PDT 2006
Matteo Rosi wrote:
> we are working on ns-2.29 and we have produced a patch for automatic
> sending of beacon frame every second inside mac 802.11 layer.
> Using isAp parameter we can create a wireless node with access point
> behavior. As an example:
> $ns node-config -isAp ON
> This triggers the capability of sending beacon frames.
> Right now beacon are unformatted empty packets but we plant to give them
> a more structured form in the future.
> patch is attached. In result code we marked our changes with tag
> "//ModLart", you can easily delete it after applying the patch.
> We tried to understand the MAC layer code as much as we could, but more
> experienced developers might review it.
Thank you for the patch; I'll add it to the list of patches to consider
for the next release. If we decide to include it, I may contact you
again about documentation and an example script.
More information about the Ns-developers