keever50 commented on issue #15856:
URL: https://github.com/apache/nuttx/issues/15856#issuecomment-2727371109

   > > [@linguini1](https://github.com/linguini1) just out of curiosity. What 
kinds of currents are we talking about between 2.1 and 2.4 dBm?
   > 
   > ~2mA, which sounds insignificant but for battery powered applications that 
run for long periods of time, that makes a large difference in required battery 
capacity.
   > 
   > My point is, if we're designing a finalized framework for these chips, the 
framework shouldn't be excluding features that are so easy to include in the 
name of whole numbers being cleaner. If the chip provides that granularity, the 
user should be able to access it.
   
   Fair, if you would be transmitting continuously that can have an effect. 
   
   I've decided on adding the extra ioctl command. Something along the lines 
WLIOC_SET_POWER_FINE which takes 1/100.
   
   If people prefer to use this over the other, power to them. However, it 
might be possible for drivers to return an error if this precision is not 
implemented.
   
   This makes implementing this API easier without having to break existing 
applications. Which removes the breaking aspect and no need to immediately port 
everything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to