Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add definitions of the value for 'i_wepon' of ieee80...



details:   https://anonhg.NetBSD.org/src/rev/8bec267f58c2
branches:  trunk
changeset: 511541:8bec267f58c2
user:      onoe <onoe%NetBSD.org@localhost>
date:      Thu Jun 21 12:29:39 2001 +0000

description:
Add definitions of the value for 'i_wepon' of ieee80211_nwkey to prepare
support for persistent keys.

diffstat:

 sys/net/if_ieee80211.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3a851789872a -r 8bec267f58c2 sys/net/if_ieee80211.h
--- a/sys/net/if_ieee80211.h    Thu Jun 21 12:15:03 2001 +0000
+++ b/sys/net/if_ieee80211.h    Thu Jun 21 12:29:39 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ieee80211.h,v 1.7 2000/12/18 18:00:23 thorpej Exp $ */
+/*     $NetBSD: if_ieee80211.h,v 1.8 2001/06/21 12:29:39 onoe Exp $    */
 
 
 #ifndef _NET_IF_IEEE80211_H_
@@ -143,6 +143,11 @@
 };
 #define        SIOCS80211NWKEY          _IOW('i', 232, struct ieee80211_nwkey)
 #define        SIOCG80211NWKEY         _IOWR('i', 233, struct ieee80211_nwkey)
+/* i_wepon */
+#define        IEEE80211_NWKEY_OPEN    0               /* No privacy */
+#define        IEEE80211_NWKEY_WEP     1               /* WEP enabled */
+#define        IEEE80211_NWKEY_EAP     2               /* EAP enabled */
+#define        IEEE80211_NWKEY_PERSIST 0x100           /* designate persist keyset */
 
 /* power management parameters */
 struct ieee80211_power {



Home | Main Index | Thread Index | Old Index