Thread (15 messages) 15 messages, 3 authors, 2009-05-28

Re: [patch 2.6.31 08/10] wimax: Add netlink interface to get device state

From: Stephen Hemminger <hidden>
Date: 2009-05-28 01:22:02

On Wed, 27 May 2009 18:05:13 -0700
Inaky Perez-Gonzalez [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Paulius Zaleckas <redacted>

wimax connection manager / daemon has to know what is current
state of the device. Previously it was only possible to get
notification whet state has changed.

Signed-off-by: Paulius Zaleckas <redacted>
---
 include/linux/wimax.h    |    5 +++
 net/wimax/Makefile       |    1 +
 net/wimax/debug-levels.h |    1 +
 net/wimax/debugfs.c      |    1 +
 net/wimax/op-state-get.c |   86 ++++++++++++++++++++++++++++++++++++++++++++++
 net/wimax/stack.c        |    5 ++-
 6 files changed, 98 insertions(+), 1 deletions(-)
 create mode 100644 net/wimax/op-state-get.c
diff --git a/include/linux/wimax.h b/include/linux/wimax.h
index c89de7f..c750f42 100644
--- a/include/linux/wimax.h
+++ b/include/linux/wimax.h
@@ -77,6 +77,7 @@ enum {
 	WIMAX_GNL_OP_MSG_TO_USER,	/* Kernel to user message */
 	WIMAX_GNL_OP_RFKILL,	/* Run wimax_rfkill() */
 	WIMAX_GNL_OP_RESET,	/* Run wimax_rfkill() */
+	WIMAX_GNL_OP_STATE_GET,		/* Request for current state */
 	WIMAX_GNL_RE_STATE_CHANGE,	/* Report: status change */
 };
Won't adding new element in middle of list break existing ABI?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help