summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wireg.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-15 00:20:50 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-15 00:20:50 +0000
commit5aa583b9bfc38194cc9e4000d98d221a183b114b (patch)
tree343762ffab49133b3b3b4ee3fb7dac4252504b7e /sys/dev/ic/if_wireg.h
parent2ee93b58dc692d67ad8663d7c79022bc25ea5abd (diff)
correctly parse the supported data rates. needed by wi@usb.
tested by jsg@ and joris@, deraadt@ go ahead.
Diffstat (limited to 'sys/dev/ic/if_wireg.h')
-rw-r--r--sys/dev/ic/if_wireg.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index 602dbbc6b27..b21c3d97bc3 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.35 2005/02/15 19:44:15 reyk Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.36 2005/10/15 00:20:49 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -516,6 +516,16 @@ struct wi_ltv_mcast {
struct ether_addr wi_mcast[16];
};
+
+/*
+ * Get supported data rates (0xFDC6 == WI_RID_DATA_RATES).
+ */
+struct wi_ltv_rates {
+ u_int16_t wi_len;
+ u_int16_t wi_type;
+ u_int8_t wi_rates[10];
+};
+
/*
* Supported rates.
*/