author | mjm <mjm> | 2003-02-09 15:48:57 (UTC) |
---|---|---|
committer | mjm <mjm> | 2003-02-09 15:48:57 (UTC) |
commit | f7aa8611df1576234469013f6059cc9ee2aa8465 (patch) (unidiff) | |
tree | 4848dc2d90d89826a30bc9941b0d298850603a9f /noncore | |
parent | cc96fbb10eaeef5796f62ac26635b1b6ff42145b (diff) | |
download | opie-f7aa8611df1576234469013f6059cc9ee2aa8465.zip opie-f7aa8611df1576234469013f6059cc9ee2aa8465.tar.gz opie-f7aa8611df1576234469013f6059cc9ee2aa8465.tar.bz2 |
added wl_cardtype_t structure
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh b/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh index f12d65e..cd482fe 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh | |||
@@ -8,25 +8,30 @@ | |||
8 | #ifndef WL_TYPES_HH | 8 | #ifndef WL_TYPES_HH |
9 | #define WL_TYPES_HH | 9 | #define WL_TYPES_HH |
10 | 10 | ||
11 | /* Type definitions, to be continued */ | 11 | /* Type definitions, to be continued */ |
12 | #define WL_NETFOUND 01 | 12 | #define WL_NETFOUND 01 |
13 | #define WL_NETLOST 02 | 13 | #define WL_NETLOST 02 |
14 | #define WL_STARTSNIFF 98 | 14 | #define WL_STARTSNIFF 98 |
15 | #define WL_STOPSNIFF 99 | 15 | #define WL_STOPSNIFF 99 |
16 | 16 | ||
17 | /* Socket specific */ | 17 | /* Socket specific */ |
18 | #define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */ | 18 | #define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */ |
19 | 19 | ||
20 | /* Protocol specific */ | 20 | /* Channelswitching */ |
21 | typedef struct { | ||
22 | int type; /* Type of card (chip) */ | ||
23 | char iface[6]; /* Interface of card */ | ||
24 | } wl_cardtype_t; | ||
25 | |||
21 | 26 | ||
22 | /* WL network structure */ | 27 | /* WL network structure */ |
23 | typedef struct { | 28 | typedef struct { |
24 | int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */ | 29 | int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */ |
25 | int ssid_len; /* Length of SSID */ | 30 | int ssid_len; /* Length of SSID */ |
26 | int channel; /* Channel */ | 31 | int channel; /* Channel */ |
27 | int wep; /* 1 = WEP enabled ; 0 = disabled */ | 32 | int wep; /* 1 = WEP enabled ; 0 = disabled */ |
28 | char mac[64]; /* MAC address of Accesspoint */ | 33 | char mac[64]; /* MAC address of Accesspoint */ |
29 | char bssid[128]; /* BSSID of Net */ | 34 | char bssid[128]; /* BSSID of Net */ |
30 | } wl_network_t; | 35 | } wl_network_t; |
31 | 36 | ||
32 | /* Config specific */ | 37 | /* Config specific */ |