iwinfo: export center_chan info for local wifi
authorAnsuel Smith <ansuelsmth@gmail.com>
Sun, 6 Dec 2020 01:11:16 +0000 (02:11 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 5 Jan 2021 22:19:43 +0000 (22:19 +0000)
commit4e22953eb171d432afd394af03423cee70ec8858
tree804e898398d72d0e537f05559a4a4b5d22ceeef5
parentea28dfb5f9578294919ca4087f281cbdd45f68a9
iwinfo: export center_chan info for local wifi

Iwinfo already export the htmode but there is no way to know where the
channel expan in case a 40Mhz+ channel width is used. Export the center
channels used by the driver to better know the channel utilizzation of
the wifi.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
include/iwinfo.h
iwinfo_cli.c
iwinfo_nl80211.c