]> git.baikalelectronics.ru Git - 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)
commit6c9c005f127aeda207f5c4afe39c510433ac2352
tree6dcfd052fccde051f56600a7cea095a8f1479d74
parent430c2d776bb95507af0d68822e95bc5bfab30163
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