Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include "uwb-internal.h"
Go to the source code of this file.
Functions | |
int | uwb_rc_scan (struct uwb_rc *rc, unsigned channel, enum uwb_scan_type type, unsigned bpst_offset) |
DEVICE_ATTR (scan, S_IRUGO|S_IWUSR, uwb_rc_scan_show, uwb_rc_scan_store) | |
Radio Control sysfs interface (declaration)
int uwb_rc_scan | ( | struct uwb_rc * | rc, |
unsigned | channel, | ||
enum uwb_scan_type | type, | ||
unsigned | bpst_offset | ||
) |
Start/stop scanning in a radio controller
: UWB Radio Controller : Channel to scan; encodings in WUSB1.0[Table 5.12] : Type of scanning to do. : value at which to start scanning (if type == UWB_SCAN_ONLY_STARTTIME)
We put the command on kmalloc'ed memory as some arches cannot do USB from the stack. The reply event is copied from an stage buffer, so it can be in the stack. See WUSB1.0[8.6.2.4] for more details.