[Ns-developers] [patch] beacon frame in mac 802.11

Matteo Rosi rosi at lart.det.unifi.it
Wed May 24 07:59:02 PDT 2006


Hi,
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.

Bye,
-- 
	Matteo Rosi, Leonardo Maccari,
			Telecommunication Network Lab,
Department of Electronics and Telecommunications, University of Florence
			http://lart.det.unifi.it/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: add-beacon-0.1.diff
Url: http://mailman.isi.edu/pipermail/ns-developers/attachments/20060524/32615e4e/add-beacon-0.1.ksh


More information about the Ns-developers mailing list