diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-12-09 19:55:52 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-12-09 19:55:52 +0000 |
commit | 4285e7c3609ebc921d53ff748b9753babf478410 (patch) | |
tree | bd925dbcf9fa4a4bac5588164151199c3ecf7235 /sys/dev/ic/rt2860reg.h | |
parent | 88b82bf8254a27a2a2546a7718e0e26cc4be8a58 (diff) |
fix automatic rate control (if the rate falls down to 6Mbps or 1Mbps,
it is no longer stuck at that rate).
workaround for a hardware bug when in HostAP or IBSS mode.
Diffstat (limited to 'sys/dev/ic/rt2860reg.h')
-rw-r--r-- | sys/dev/ic/rt2860reg.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860reg.h b/sys/dev/ic/rt2860reg.h index d33bd8f6af5..b1dbfa43c1c 100644 --- a/sys/dev/ic/rt2860reg.h +++ b/sys/dev/ic/rt2860reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860reg.h,v 1.5 2007/12/07 21:23:14 damien Exp $ */ +/* $OpenBSD: rt2860reg.h,v 1.6 2007/12/09 19:55:51 damien Exp $ */ /*- * Copyright (c) 2007 @@ -78,6 +78,9 @@ #define RT2860_RF_CSR_CFG2 0x1028 #define RT2860_LED_CFG 0x102c +/* undocumented registers */ +#define RT2860_DEBUG 0x10f4 + /* MAC Timing control registers */ #define RT2860_XIFS_TIME_CFG 0x1100 #define RT2860_BKOFF_SLOT_CFG 0x1104 @@ -269,6 +272,7 @@ #define RT2860_MCU_CMD_LED1 0x52 #define RT2860_MCU_CMD_LED2 0x53 #define RT2860_MCU_CMD_LED3 0x54 +#define RT2860_MCU_CMD_BOOT 0x72 #define RT2860_MCU_CMD_BBP 0x80 /* possible flags for register PBF_CFG */ @@ -596,7 +600,7 @@ #define RT2860_PER_RX_RST_EN (1 << 0) /* possible flags for register TX_STAT_FIFO */ -#define RT2860_TXQ_RATE_SHIFT 16 +#define RT2860_TXQ_MCS_SHIFT 16 #define RT2860_TXQ_WCID_SHIFT 8 #define RT2860_TXQ_ACKREQ (1 << 7) #define RT2860_TXQ_AGG (1 << 6) |