module/network: add support for periodically polling Wi-Fi stats

This adds a new ‘poll-interval’ option to the network module. When set
to a non-zero value, the following Wi-Fi stats will be updated:

* Signal strength
* RX+TX bitrate
This commit is contained in:
Daniel Eklöf 2021-08-27 15:56:31 +02:00
parent d450bf12a1
commit dabb2e1407
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 52 additions and 3 deletions

View file

@ -63,6 +63,11 @@ address.
: string
: yes
: Name of network interface to monitor
| poll-interval
: int
: no
: Periodically (in seconds) update the signal and rx+tx bitrate tags.
# EXAMPLES