wifi icon indicating copy to clipboard operation
wifi copied to clipboard

Ability to query Tx-Power

Open leonerd opened this issue 6 years ago • 0 comments

I'm trying to debug a possibly-hardware issue, by logging some stats using prometheus' node_exporter, which uses this package to get wifi stats. One stat I'm interested in seems missing - that is the Tx-Power field, seen here:

$ /sbin/iwconfig wlan0
wlan0     IEEE 802.11  ESSID:"leoair"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 46:D9:E7:47:BD:A6   
          Bit Rate=65 Mb/s   Tx-Power=14 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=55/70  Signal level=-55 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:3447  Invalid misc:8824   Missed beacon:0

would it be possible to obtain that somehow?

leonerd avatar Feb 21 '19 20:02 leonerd