diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-08 13:14:36 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-08 13:29:10 +0200 |
commit | 7b39bee1c62dc68c84938cda43115e4d30724d1e (patch) | |
tree | aa0c1961e4320b6eeebf3c0169e984ef99a8c464 /iwinfo_madwifi.c | |
parent | 9842d2507fa19cdf7d0bfd76df73609d14473b49 (diff) | |
download | iwinfo-7b39bee1c62dc68c84938cda43115e4d30724d1e.tar.gz |
iwinfo: add support for querying available HT modes
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'iwinfo_madwifi.c')
-rw-r--r-- | iwinfo_madwifi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iwinfo_madwifi.c b/iwinfo_madwifi.c index bb7fc63..f28bca1 100644 --- a/iwinfo_madwifi.c +++ b/iwinfo_madwifi.c @@ -1024,6 +1024,12 @@ static int madwifi_get_hwmodelist(const char *ifname, int *buf) return -1; } +static int madwifi_get_htmodelist(const char *ifname, int *buf) +{ + /* OpenWrt's madwifi did never support any HT rates */ + return -1; +} + static int madwifi_get_mbssid_support(const char *ifname, int *buf) { /* Test whether we can create another interface */ @@ -1116,6 +1122,7 @@ const struct iwinfo_ops madwifi_ops = { .quality_max = madwifi_get_quality_max, .mbssid_support = madwifi_get_mbssid_support, .hwmodelist = madwifi_get_hwmodelist, + .htmodelist = madwifi_get_htmodelist, .mode = madwifi_get_mode, .ssid = madwifi_get_ssid, .bssid = madwifi_get_bssid, |