In the protocol that I am currently implementing on NS2 the transmission powers does vary a lot. Its initial implemention was done in tinyOS, and that is why I need to simulate its available transmission powers. There is a range of 255 possible ones in tinyOS, and I would like to change the NS variables (Pt_ [Transmit Power], CPThresh_ [Collision Threshold], CSThresh_ [Carrier Sense Power], RXThresh_ [Receive Power Threshold]), so an approximate behavior could be simulated.
I do know the power consumption in mA and the Pout in dBm for each one of these 255 possible powers. Is there be any possible way to set the NS variables so that I would manage to reach an approximate behavior to tinyOS? Thanks in advance, -- Fernando Henrique Gielow - UFPR - NR2 Computer Science graduation student.