summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo_madwifi.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-19 04:03:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-19 04:03:00 +0000
commit91ceab5b19a7b8c8b748a27e7bd8cb2cd4a44132 (patch)
treea235584c68a24630f0aca3fe80b014b7f8aef3f5 /libs/iwinfo/src/iwinfo_madwifi.c
parent8e31e6bed28d3c154f7fd101d5907359a4d3eabd (diff)
libs/iwinfo: implement *_get_txpwrlist() to obtain valid tx power levels
Diffstat (limited to 'libs/iwinfo/src/iwinfo_madwifi.c')
-rw-r--r--libs/iwinfo/src/iwinfo_madwifi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/iwinfo/src/iwinfo_madwifi.c b/libs/iwinfo/src/iwinfo_madwifi.c
index 17db10b3f..11650129c 100644
--- a/libs/iwinfo/src/iwinfo_madwifi.c
+++ b/libs/iwinfo/src/iwinfo_madwifi.c
@@ -398,6 +398,11 @@ int madwifi_get_assoclist(const char *ifname, char *buf, int *len)
return -1;
}
+int madwifi_get_txpwrlist(const char *ifname, char *buf, int *len)
+{
+ return wext_get_txpwrlist(ifname, buf, len);
+}
+
int madwifi_get_mbssid_support(const char *ifname, int *buf)
{
/* We assume that multi bssid is always possible */