summaryrefslogtreecommitdiff
authormjm <mjm>2003-02-09 15:48:57 (UTC)
committer mjm <mjm>2003-02-09 15:48:57 (UTC)
commitf7aa8611df1576234469013f6059cc9ee2aa8465 (patch) (side-by-side diff)
tree4848dc2d90d89826a30bc9941b0d298850603a9f
parentcc96fbb10eaeef5796f62ac26635b1b6ff42145b (diff)
downloadopie-f7aa8611df1576234469013f6059cc9ee2aa8465.zip
opie-f7aa8611df1576234469013f6059cc9ee2aa8465.tar.gz
opie-f7aa8611df1576234469013f6059cc9ee2aa8465.tar.bz2
added wl_cardtype_t structure
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/wl_types.hh7
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
@@ -12,17 +12,22 @@
#define WL_NETFOUND 01
#define WL_NETLOST 02
#define WL_STARTSNIFF 98
#define WL_STOPSNIFF 99
/* Socket specific */
#define WL_SOCKBUF 512 /* Buffer for wl_send and wl_recv calls */
-/* Protocol specific */
+/* Channelswitching */
+typedef struct {
+ int type; /* Type of card (chip) */
+ char iface[6]; /* Interface of card */
+} wl_cardtype_t;
+
/* WL network structure */
typedef struct {
int net_type; /* 1 = Accesspoint ; 2 = Ad-Hoc */
int ssid_len; /* Length of SSID */
int channel; /* Channel */
int wep; /* 1 = WEP enabled ; 0 = disabled */
char mac[64]; /* MAC address of Accesspoint */