]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
wimax: Add netlink interface to get device state
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Wed, 13 May 2009 13:20:29 +0000 (06:20 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Fri, 29 May 2009 01:02:20 +0000 (18:02 -0700)
commit7f0333eb2f98bbfece4fbfe21076d0a3e49f0bb0
tree6dcfd052fccde051f56600a7cea095a8f1479d74
parenta0a4c4c9e54ee4255f46eedb572ad69ee34c77b6
wimax: Add netlink interface to get device state

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.

Note:

 By mistake, the new generic netlink's number for
 WIMAX_GNL_OP_STATE_GET was declared inserting into the existing list
 of API calls, not appending; thus, it'd break existing API.

 Fixed by Inaky Perez-Gonzalez <inaky@linux.intel.com> by moving to
 the tail, where we add to the interface, not modify the interface.

 Thanks to Stephen Hemminger <shemminger@vyatta.com> for catching this.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
include/linux/wimax.h
net/wimax/Makefile
net/wimax/debug-levels.h
net/wimax/debugfs.c
net/wimax/op-state-get.c [new file with mode: 0644]
net/wimax/stack.c