utils: add iwinfo_band2ghz() and iwinfo_ghz2band() helpers
authorAndre Heider <a.heider@gmail.com>
Tue, 22 Nov 2022 08:39:12 +0000 (09:39 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Dec 2022 23:09:07 +0000 (00:09 +0100)
commit9e14e643c5e8bac2b8aeb4efb76cff3f86bf80ca
tree452666095ccda112383100de389dd503e319ffae
parente084781afc99075c4154614b49d99d3308d8c8ee
utils: add iwinfo_band2ghz() and iwinfo_ghz2band() helpers

To classify bands, to be used as ubus values.

Signed-off-by: Andre Heider <a.heider@gmail.com>
include/iwinfo/utils.h
iwinfo_utils.c