[net2-wg] packet interfaces

Omprakash Gnawali gnawali at usc.edu
Thu Jun 7 07:29:44 PDT 2007


> 
> This is an elegant strawman.  Here's another, much less elegant strawman:
> 
> interface {
> uint16_t getPacketRSSI();
> uint16_t getAvgPacketSNR();
> uint16_t getAvgPacketBER();
> uint16_t getPacketLQI();
> .
> .
> .
> }
> 
> (i.e. pass everything up from the PHY).  And add any other/new 
> information to this interface, possibly resulting in a bloated 
> interface.  So, (a) why not pass all the info up from the PHY that you 
> can, (b) is it so bad if the interface gets bloated?
> 
> Kyle


If it works, the abstract bit could help write portable code.

- om_p


More information about the net2-wg mailing list