Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Add new ioctls:
details: https://anonhg.NetBSD.org/src/rev/007d8d46a663
branches: trunk
changeset: 536435:007d8d46a663
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Sep 15 23:27:08 2002 +0000
description:
Add new ioctls:
* SIOCS80211CHANNEL, SIOCG80211CHANNEL -- set/get the 802.11 channel.
* SIOCS80211BSSID, SIOCG80211BSSID -- set desired/get current BSSID.
>From David Young <dyoung%ojctech.com@localhost>.
diffstat:
sys/net/if_ieee80211.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r c2cfb2edd4df -r 007d8d46a663 sys/net/if_ieee80211.h
--- a/sys/net/if_ieee80211.h Sun Sep 15 23:05:13 2002 +0000
+++ b/sys/net/if_ieee80211.h Sun Sep 15 23:27:08 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ieee80211.h,v 1.17 2002/09/03 14:54:00 onoe Exp $ */
+/* $NetBSD: if_ieee80211.h,v 1.18 2002/09/15 23:27:08 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -329,6 +329,16 @@
#define SIOCS80211AUTH _IOW('i', 236, struct ieee80211_auth)
#define SIOCG80211AUTH _IOWR('i', 237, struct ieee80211_auth)
+#define SIOCS80211CHANNEL _IOW('i', 238, u_int16_t)
+#define SIOCG80211CHANNEL _IOWR('i', 239, u_int16_t)
+
+struct ieee80211_bssid {
+ u_int8_t i_bssid[IEEE80211_ADDR_LEN];
+};
+
+#define SIOCS80211BSSID _IOW('i', 240, struct ieee80211_bssid)
+#define SIOCG80211BSSID _IOWR('i', 241, struct ieee80211_bssid)
+
#ifdef _KERNEL
#define IEEE80211_ASCAN_WAIT 2 /* active scan wait */
Home |
Main Index |
Thread Index |
Old Index