From de1bb6ef97ddd71db237578bd5f7ed8c5a61fb82 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 4 Dec 2011 20:37:01 +0000 Subject: [package] iwinfo: expose txpower and frequency offset information git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29425 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/iwinfo/src/iwinfo_wext.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'package/iwinfo/src/iwinfo_wext.c') diff --git a/package/iwinfo/src/iwinfo_wext.c b/package/iwinfo/src/iwinfo_wext.c index 3923c9e76..c74785f87 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; +} -- cgit v1.2.3