[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wireless lan
On Wed, 21 Apr 1999, Matthew N White wrote:
> Hi,
> I am trying to simulate a wireless lan with two nodes that are
> communicating with TCP. Basically, I create two nodes and then attempt
> to create a lan with the following command:
>
> set lan [$ns make-lan $mobilelist 2Mb 1ms LL Queue/DropTail Mac/802_11 \
> Channel/WirelessChannel Phy/WirelessPhy ]
>
> However, the simulation dumps core in wireless-phy.cc because the ant_
> variable in this module was not initialized. Does anyone have any
> suggestions on what to do (e.g. how to set antennas, etc.) ?
>
> Thanks,
> matt
>
make-lan is used to create wired lans and doesnot support creation of
wireless lan. it might be a good idea to extend make-lan or have something
like make-wirelesslan as a one step method of creating and setting up a
wireless topology. (to be added to our to-do list)
for now, you could make a wireless lan by creating mobilenodes as in the
example script wireless.tcl or wireless-test.tcl in ns/tcl/ex.
--Padma.
------------------------------------------------
Be true to your work, your word, and your friend.
--Thoreau
Padmaparna Haldar
ISI/USC.
310.822.1511 #352