uwb: add basic radio manager
authorDavid Vrabel <david.vrabel@csr.com>
Mon, 17 Nov 2008 15:53:42 +0000 (15:53 +0000)
committerDavid Vrabel <david.vrabel@csr.com>
Wed, 19 Nov 2008 14:46:33 +0000 (14:46 +0000)
commit6fae35f9cea92793a98b2d9ab21235e5ae035581
tree82142169ff2ccada8c6c98beb6da59cafe8d913d
parente17be2b2a95b43fe0d5878adf330701bb7a77115
uwb: add basic radio manager

The UWB radio manager coordinates the use of the radio between the
PALs that may be using it.  PALs request use of the radio with
uwb_radio_start() and the radio manager will start beaconing if its
not already doing so.  When the last PAL has called uwb_radio_stop()
beaconing will be stopped.

In the future, the radio manager will have a more sophisticated channel
selection algorithm, probably following the Channel Selection Policy
from the WiMedia Alliance when it is finalized.  For now, channel 9
(BG1, TFC1) is selected.

The user may override the channel selected by the radio manager and may
force the radio to stop beaconing.

The WUSB Host Controller PAL makes use of this and there are two new
debug PAL commands that can be used for testing.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
21 files changed:
Documentation/ABI/testing/sysfs-class-uwb_rc
Documentation/usb/wusb-cbaf
drivers/usb/host/hwa-hc.c
drivers/usb/host/whci/hcd.c
drivers/usb/wusbcore/devconnect.c
drivers/usb/wusbcore/mmc.c
drivers/usb/wusbcore/pal.c
drivers/usb/wusbcore/wusbhc.h
drivers/uwb/Makefile
drivers/uwb/beacon.c
drivers/uwb/drp.c
drivers/uwb/lc-rc.c
drivers/uwb/pal.c
drivers/uwb/radio.c [new file with mode: 0644]
drivers/uwb/reset.c
drivers/uwb/rsv.c
drivers/uwb/uwb-debug.c
drivers/uwb/uwb-internal.h
drivers/uwb/wlp/wlp-lc.c
include/linux/uwb.h
include/linux/uwb/debug-cmd.h