aboutsummaryrefslogtreecommitdiffstats
path: root/package/iwinfo/src/iwinfo_wext.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-12-04 20:37:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-12-04 20:37:01 +0000
commit3a9d303059a1689ad9ff856e430fef04bd3fb7f5 (patch)
treeb17658b91c9b0e70814987b4deb882da2a416ff7 /package/iwinfo/src/iwinfo_wext.c
parent33750dc3e93e6d2279b9f39ce7c46e8a1e1f1c48 (diff)
downloadupstream-3a9d303059a1689ad9ff856e430fef04bd3fb7f5.tar.gz
upstream-3a9d303059a1689ad9ff856e430fef04bd3fb7f5.tar.bz2
upstream-3a9d303059a1689ad9ff856e430fef04bd3fb7f5.zip
iwinfo: expose txpower and frequency offset information
SVN-Revision: 29425
Diffstat (limited to 'package/iwinfo/src/iwinfo_wext.c')
-rw-r--r--package/iwinfo/src/iwinfo_wext.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/iwinfo/src/iwinfo_wext.c b/package/iwinfo/src/iwinfo_wext.c
index 3923c9e760..c74785f874 100644
--- a/package/iwinfo/src/iwinfo_wext.c
+++ b/package/iwinfo/src/iwinfo_wext.c
@@ -515,3 +515,17 @@ int wext_get_hardware_name(const char *ifname, char *buf)
sprintf(buf, "Generic WEXT");
return 0;
}
+
+int wext_get_txpower_offset(const char *ifname, int *buf)
+{
+ /* Stub */
+ *buf = 0;
+ return -1;
+}
+
+int wext_get_frequency_offset(const char *ifname, int *buf)
+{
+ /* Stub */
+ *buf = 0;
+ return -1;
+}