author | max <max> | 2003-02-09 20:50:34 (UTC) |
---|---|---|
committer | max <max> | 2003-02-09 20:50:34 (UTC) |
commit | 38b97c504a4ee1e0b82fd2e4604c815d9ba3b440 (patch) (unidiff) | |
tree | 8c66ca6ae697b95c606756625b219d45ffbe95bb /noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | |
parent | c0f8b347e790f042f0a14e6e58e67046a7e0b8e3 (diff) | |
download | opie-38b97c504a4ee1e0b82fd2e4604c815d9ba3b440.zip opie-38b97c504a4ee1e0b82fd2e4604c815d9ba3b440.tar.gz opie-38b97c504a4ee1e0b82fd2e4604c815d9ba3b440.tar.bz2 |
Channelswitch
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh index 3a1991b..242d8c5 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh | |||
@@ -13,6 +13,12 @@ | |||
13 | #include <arpa/inet.h> | 13 | #include <arpa/inet.h> |
14 | #include <sys/ioctl.h> | 14 | #include <sys/ioctl.h> |
15 | #include <linux/if.h> | 15 | #include <linux/if.h> |
16 | #include <linux/wireless.h> | ||
17 | |||
18 | #ifndef SIOCIWFIRSTPRIV | ||
19 | #define SIOCIWFIRSTPRIV SIOCDEVPRIVATE | ||
20 | #endif | ||
21 | |||
16 | 22 | ||
17 | extern "C" | 23 | extern "C" |
18 | { | 24 | { |
@@ -31,9 +37,6 @@ extern "C" | |||
31 | /* only for now, until we have the daemon running */ | 37 | /* only for now, until we have the daemon running */ |
32 | /*the config file should provide these information */ | 38 | /*the config file should provide these information */ |
33 | #define CARD_TYPE CARD_TYPE_HOSTAP | 39 | #define CARD_TYPE CARD_TYPE_HOSTAP |
34 | #define SBIN_PATH "/sbin/ifconfig %s promisc up" | ||
35 | #define WLANCTL_PATH "/sbin/wlanctl-ng" | ||
36 | #define IWPRIV_PATH "/sbin/iwpriv" | ||
37 | 40 | ||
38 | /* Prototypes */ | 41 | /* Prototypes */ |
39 | int card_check_rfmon_datalink (char *device); | 42 | int card_check_rfmon_datalink (char *device); |