diff options
author | Daniel Danzberger <daniel@dd-wrt.com> | 2018-07-03 15:32:11 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-16 09:03:12 +0200 |
commit | 305f6955d6cc22ca88dae513638065134eb45b86 (patch) | |
tree | 9222765c93ec77d73d1a81fe177146ecd48ae055 /include | |
parent | 2c5c641aabac92932b3855207fb911fdea58eafe (diff) | |
download | iwinfo-305f6955d6cc22ca88dae513638065134eb45b86.tar.gz |
iwinfo: nl80211: add survey.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iwinfo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index 4111205..49ee7f0 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -128,6 +128,16 @@ struct iwinfo_assoclist_entry { uint32_t thr; }; +struct iwinfo_survey_entry { + uint64_t active_time; + uint64_t busy_time; + uint64_t busy_time_ext; + uint64_t rxtime; + uint64_t txtime; + uint32_t mhz; + uint8_t noise; +}; + struct iwinfo_txpwrlist_entry { uint8_t dbm; uint16_t mw; @@ -223,6 +233,7 @@ struct iwinfo_ops { int (*scanlist)(const char *, char *, int *); int (*freqlist)(const char *, char *, int *); int (*countrylist)(const char *, char *, int *); + int (*survey)(const char *, char *, int *); int (*lookup_phy)(const char *, char *); void (*close)(void); }; |