diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2009-10-24 18:21:06 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2009-10-24 18:21:06 +0000 |
commit | e5f78394d4dcf563521c29c653baada3052f7d1a (patch) | |
tree | 72cf35bfedb11987898b90f2183cb336933970d2 /sys/dev/pci | |
parent | f5af0ed6b46a1f3e19ef435ee6e7a1769c6e8638 (diff) |
oops i forgot the if_wpireg.h file in last my commit
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_wpireg.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/sys/dev/pci/if_wpireg.h b/sys/dev/pci/if_wpireg.h index aef053b2a5f..04b08ed483b 100644 --- a/sys/dev/pci/if_wpireg.h +++ b/sys/dev/pci/if_wpireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpireg.h,v 1.25 2009/05/29 08:25:45 damien Exp $ */ +/* $OpenBSD: if_wpireg.h,v 1.26 2009/10/24 18:21:05 damien Exp $ */ /*- * Copyright (c) 2006-2008 @@ -251,7 +251,7 @@ struct wpi_rx_desc { struct wpi_tx_cmd { uint8_t code; -#define WPI_CMD_CONFIGURE 16 +#define WPI_CMD_RXON 16 #define WPI_CMD_ASSOCIATE 17 #define WPI_CMD_EDCA_PARAMS 19 #define WPI_CMD_TIMING 20 @@ -270,7 +270,7 @@ struct wpi_tx_cmd { uint8_t data[124]; } __packed; -/* Structure for command WPI_CMD_CONFIGURE. */ +/* Structure for command WPI_CMD_RXON. */ struct wpi_rxon { uint8_t myaddr[IEEE80211_ADDR_LEN]; uint16_t reserved1; @@ -520,14 +520,22 @@ struct wpi_cmd_txpower { /* Structure for command WPI_CMD_BT_COEX. */ struct wpi_bluetooth { uint8_t flags; - uint8_t lead; - uint8_t kill; +#define WPI_BT_COEX_DISABLE 0 +#define WPI_BT_COEX_MODE_2WIRE 1 +#define WPI_BT_COEX_MODE_3WIRE 2 +#define WPI_BT_COEX_MODE_4WIRE 3 + + uint8_t lead_time; +#define WPI_BT_LEAD_TIME_DEF 30 + + uint8_t max_kill; +#define WPI_BT_MAX_KILL_DEF 5 + uint8_t reserved; - uint32_t ack; - uint32_t cts; + uint32_t kill_ack; + uint32_t kill_cts; } __packed; - /* Structures for WPI_RX_DONE notification. */ struct wpi_rx_stat { uint8_t len; |