diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-09 14:24:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-09 14:24:43 +0000 |
commit | 2a9a87e89172c147c1dc222f67221f825755e9aa (patch) | |
tree | dd26bfe841ea6ff2d0a78d8e8e080fae4f277cc5 /libs/iwinfo/src/iwinfo_wext.h | |
parent | 398c125336f035a9a5a23b476f597b2e22fb672a (diff) |
libs/iwinfo: implement *_get_frequency() - operating freq in mhz
Diffstat (limited to 'libs/iwinfo/src/iwinfo_wext.h')
-rw-r--r-- | libs/iwinfo/src/iwinfo_wext.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libs/iwinfo/src/iwinfo_wext.h b/libs/iwinfo/src/iwinfo_wext.h index d4914ff2e6..bd0a66f1e8 100644 --- a/libs/iwinfo/src/iwinfo_wext.h +++ b/libs/iwinfo/src/iwinfo_wext.h @@ -19,21 +19,7 @@ #ifndef __IWINFO_WEXT_H_ #define __IWINFO_WEXT_H_ -#include <sys/types.h> -#include <sys/stat.h> -#include <unistd.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <fcntl.h> -#include <glob.h> -#include <ctype.h> -#include <stdint.h> - -#include <sys/ioctl.h> -#include <net/if.h> -#include <errno.h> - +#include "iwinfo.h" #include "include/wext.h" int wext_probe(const char *ifname); @@ -41,6 +27,7 @@ int wext_get_mode(const char *ifname, char *buf); int wext_get_ssid(const char *ifname, char *buf); int wext_get_bssid(const char *ifname, char *buf); int wext_get_channel(const char *ifname, int *buf); +int wext_get_frequency(const char *ifname, int *buf); int wext_get_bitrate(const char *ifname, int *buf); int wext_get_signal(const char *ifname, int *buf); int wext_get_noise(const char *ifname, int *buf); |