summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2022-11-21 13:48:43 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-20 17:26:57 +0100
commit0d5ea34245433a403c3c6bb2b1f4070c92d02451 (patch)
tree48393b07e25ea0c2d88aadcfed2b15a75c68a648 /include
parentdba0f0690bec6b997a0567831ef6dd9e1cacb49b (diff)
downloadiwinfo-0d5ea34245433a403c3c6bb2b1f4070c92d02451.tar.gz
nl80211: add "band" to iwinfo_freqlist_entry
So that consumers don't have to fiddle around with mapping frequencies to bands, which everyone seems to do a little differently. Note: This changes the ABI. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/iwinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h
index d003d2c..71c4c80 100644
--- a/include/iwinfo.h
+++ b/include/iwinfo.h
@@ -271,6 +271,7 @@ struct iwinfo_txpwrlist_entry {
};
struct iwinfo_freqlist_entry {
+ uint8_t band;
uint8_t channel;
uint32_t mhz;
uint8_t restricted;