Hi, Sorry for my mistake.
You have to get a object to modify the mac's atributes: set mac($nodeid) [$node_($nodeid) getMac 0] After, you will modify the atributes using $mac($nodeid). To change CWmin, you could create a command for this, for example: $mac($nodeid) setCWmin $value; or you could call the method that changes CWmin using the object, for example: $mac($nodeid) set CWmin $value; But I don't if the second manner works. Urlan 2009/10/27 Vivek Vijaya Kumar <vivek.vijayaku...@gmail.com> > This one shows how to set CWmin and CWmax value for the entire > simulation. But is it possible to make them node specific as in > different values for different nodes? For example, if node A always > has some higher priority data to transmit its CWmin should be lower > than the rest of the nodes. > > Vivek > > On Mon, Oct 26, 2009 at 10:55 PM, Urlan Salgado de Barros > <ur...@comp.ufla.br> wrote: > > Did you try to search? > > > > http://mailman.isi.edu/pipermail/ns-users/2006-April/055338.html > > > > Urlan > > > > 2009/10/26 Vivek Vijaya Kumar <vivek.vijayaku...@gmail.com> > >> > >> Hi, > >> I am new to NS. I am trying to setup a network with 5 nodes, 4 of > >> which are supposed to have one set for value for (CWmin, CWmax) and > >> the other node is supposed to have another set of value for (CWmin, > >> CWmax). Please suggest a method of setting these parameters in tcl. > >> > >> Thank you > >> Vivek > >> > > > > >