[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Two powered network interface...



Have you looked at the interface list in the node.h and node.cc. That may
be helpful. Thanks.

-chen xuan

On Sat, 2 Dec 2000, Srinath Perur wrote:

> Hello everybody,
> 
> I need to simulate an ad-hoc routing protocol where each node is capable of transmitting at two powers: hi and lo. A node can switch from one to the other on the occurence of some event; say, the receipt of a message.
> 
> One possibility I've thought of is to change the Pt variable in wireless-phy.cc. Will this work? If so, how can I set this variable from a 
> 
> (MobileNode*) node_ptr;
> 
> in my routing agent?
> 
> 
> Thank you,
> Srinath Perur
> 
> 
>  
> 
> 
> 
> 
>  
> 

-- 
Xuan Chen
ISI/USC