Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Apply OpenBSD src/sys/dev/pci/if_wpireg.h 1.17.
details: https://anonhg.NetBSD.org/src/rev/fa7dd5412b3f
branches: trunk
changeset: 797002:fa7dd5412b3f
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Jun 30 21:33:40 2014 +0000
description:
Apply OpenBSD src/sys/dev/pci/if_wpireg.h 1.17.
diffstat:
sys/dev/pci/if_wpireg.h | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diffs (60 lines):
diff -r bcbef0c4dba4 -r fa7dd5412b3f sys/dev/pci/if_wpireg.h
--- a/sys/dev/pci/if_wpireg.h Mon Jun 30 21:32:59 2014 +0000
+++ b/sys/dev/pci/if_wpireg.h Mon Jun 30 21:33:40 2014 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: if_wpireg.h,v 1.10 2014/06/30 21:17:18 jakllsch Exp $ */
-/* $OpenBSD: if_wpireg.h,v 1.16 2007/07/10 18:29:38 damien Exp $ */
+/* $NetBSD: if_wpireg.h,v 1.11 2014/06/30 21:33:40 jakllsch Exp $ */
+/* $OpenBSD: if_wpireg.h,v 1.17 2007/07/24 16:07:47 damien Exp $ */
/*-
* Copyright (c) 2006, 2007
@@ -202,6 +202,7 @@
uint32_t len;
uint8_t type;
#define WPI_UC_READY 1
+#define WPI_ADD_NODE_DONE 24
#define WPI_RX_DONE 27
#define WPI_TX_DONE 28
#define WPI_START_SCAN 130
@@ -341,7 +342,7 @@
/* structure for WPI_CMD_ADD_NODE */
struct wpi_node_info {
uint8_t control;
-#define WPI_NODE_UPDATE (1 << 0)
+#define WPI_NODE_UPDATE (1 << 0)
uint8_t reserved1[3];
uint8_t bssid[IEEE80211_ADDR_LEN];
@@ -351,15 +352,17 @@
#define WPI_ID_BROADCAST 24
uint8_t flags;
+#define WPI_FLAG_SET_KEY (1 << 0)
+
uint16_t reserved3;
- uint16_t key_flags;
+ uint16_t security;
uint8_t tkip;
uint8_t reserved4;
uint16_t ttak[5];
uint16_t reserved5;
uint8_t key[IEEE80211_KEYBUF_SIZE];
uint32_t action;
-#define WPI_ACTION_SET_RATE 4
+#define WPI_ACTION_SET_RATE (1 << 2)
uint32_t mask;
uint16_t tid;
@@ -391,6 +394,11 @@
uint8_t id;
uint8_t tid;
uint8_t security;
+#define WPI_CIPHER_WEP40 1
+#define WPI_CIPHER_CCMP 2
+#define WPI_CIPHER_TKIP 3
+#define WPI_CIPHER_WEP104 9
+
uint8_t key[IEEE80211_KEYBUF_SIZE];
uint8_t tkip[IEEE80211_WEP_MICLEN];
uint32_t fnext;
Home |
Main Index |
Thread Index |
Old Index