Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Add a way to manipulate the power management paramet...
details: https://anonhg.NetBSD.org/src/rev/06afd7e6d5e5
branches: trunk
changeset: 500436:06afd7e6d5e5
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Dec 12 04:03:38 2000 +0000
description:
Add a way to manipulate the power management parameters specified in
802.11.
diffstat:
sys/net/if_ieee80211.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r b4671416c5e8 -r 06afd7e6d5e5 sys/net/if_ieee80211.h
--- a/sys/net/if_ieee80211.h Tue Dec 12 03:33:16 2000 +0000
+++ b/sys/net/if_ieee80211.h Tue Dec 12 04:03:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ieee80211.h,v 1.5 2000/07/21 04:47:40 onoe Exp $ */
+/* $NetBSD: if_ieee80211.h,v 1.6 2000/12/12 04:03:38 thorpej Exp $ */
#ifndef _NET_IF_IEEE80211_H_
@@ -133,4 +133,13 @@
#define SIOCS80211NWKEY _IOW('i', 232, struct ieee80211_nwkey)
#define SIOCG80211NWKEY _IOWR('i', 233, struct ieee80211_nwkey)
+/* power management parameters */
+struct ieee80211_power {
+ char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */
+ int i_enabled; /* 1 == on, 0 == off */
+ int i_maxsleep; /* max sleep in ms */
+};
+#define SIOCS80211POWER _IOW('i', 234, struct ieee80211_power)
+#define SIOCG80211POWER _IOWR('i', 235, struct ieee80211_power)
+
#endif /* !_NET_IF_IEEE80211_H_ */
Home |
Main Index |
Thread Index |
Old Index