summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_malovar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-07-30 21:45:32 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-07-30 21:45:32 +0000
commit8672f637200700fdff6d71dc7cceb6d012cc6ed6 (patch)
treeefbc0d2e4f0de154f91da67f8c7aeb4a95793d5d /sys/dev/pcmcia/if_malovar.h
parentd522d640276fc8cbf25b32d16d0877d72c09b28a (diff)
After two weeks of fumbling arround in the association FW command, i found
a trick to correct the wrong generated rates-element-id in the FW association mgmt packet. Makes it possible to associate to more AP's.
Diffstat (limited to 'sys/dev/pcmcia/if_malovar.h')
-rw-r--r--sys/dev/pcmcia/if_malovar.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_malovar.h b/sys/dev/pcmcia/if_malovar.h
index e80f161db04..afb1a740854 100644
--- a/sys/dev/pcmcia/if_malovar.h
+++ b/sys/dev/pcmcia/if_malovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_malovar.h,v 1.14 2007/07/08 10:09:03 mglocker Exp $ */
+/* $OpenBSD: if_malovar.h,v 1.15 2007/07/30 21:45:31 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -191,6 +191,7 @@ struct malo_cmd_body_rate {
#define MALO_TLV_TYPE_80211D 0x0007
#define MALO_TLV_TYPE_CHANLIST 0x0101
#define MALO_TLV_TYPE_NUMPROBES 0x0102
+#define MALO_TLV_TYPE_PASSEID 0x010a
struct malo_cmd_tlv_ssid {
uint16_t type;
@@ -248,6 +249,12 @@ struct malo_cmd_tlv_numprobes {
uint16_t numprobes;
} __packed;
+struct malo_cmd_tlv_passeid {
+ uint16_t type;
+ uint16_t size;
+ uint8_t data[1];
+} __packed;
+
/* RX descriptor */
#define MALO_RX_STATUS_OK 0x0001
struct malo_rx_desc {