summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2560var.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:44:05 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-06-18 18:44:05 +0000
commitce9d7316d9fd1b1e65ddb9109f5e0490aca171fa (patch)
tree7235b72ebf581012f577ff435d18734a644c88d9 /sys/dev/ic/rt2560var.h
parentb6efe24e3cd0a45a2c3b9be9b804f53c1db0152e (diff)
- implement new ic_updateslot() callback.
- in hostap mode, we defer update of the slot time until all associated STAs are notified with updated beacons.
Diffstat (limited to 'sys/dev/ic/rt2560var.h')
-rw-r--r--sys/dev/ic/rt2560var.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2560var.h b/sys/dev/ic/rt2560var.h
index 0cb08cec456..f9f4a751735 100644
--- a/sys/dev/ic/rt2560var.h
+++ b/sys/dev/ic/rt2560var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2560var.h,v 1.3 2006/06/02 04:30:40 robert Exp $ */
+/* $OpenBSD: rt2560var.h,v 1.4 2006/06/18 18:44:04 damien Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -114,7 +114,9 @@ struct rt2560_softc {
struct timeout rssadapt_ch;
int sc_flags;
-#define RT2560_ENABLED (1 << 0)
+#define RT2560_ENABLED (1 << 0)
+#define RT2560_UPDATE_SLOT (1 << 1)
+#define RT2560_SET_SLOTTIME (1 << 2)
int sc_tx_timer;
@@ -141,6 +143,8 @@ struct rt2560_softc {
int tx_ant;
int nb_ant;
+ uint8_t *erp;
+
#if NBPFILTER > 0
caddr_t sc_drvbpf;