Linux Kernel
3.7.1
|
#include <linux/usb.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/kref.h>
#include <linux/workqueue.h>
#include <linux/usb/hcd.h>
#include <linux/uwb.h>
#include <linux/usb/wusb.h>
Go to the source code of this file.
Data Structures | |
struct | wusb_dev |
struct | wusb_port |
struct | wusbhc |
Macros | |
#define | WUSB_CHANNEL_STOP_DELAY_MS 8 |
#define | WUSB_DEV_ADDR_UNAUTH 0x80 |
#define | usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd) |
Variables | |
struct usb_key_descriptor | descr |
u8 | data [16] |
struct workqueue_struct * | wusbd |
#define usb_hcd_to_wusbhc | ( | u | ) | container_of((u), struct wusbhc, usb_hcd) |
Definition at line 996 of file devconnect.c.
Definition at line 673 of file devconnect.c.
Definition at line 344 of file security.c.
Definition at line 1011 of file devconnect.c.
Definition at line 200 of file security.c.
Definition at line 282 of file security.c.
Definition at line 122 of file dev-sysfs.c.
Definition at line 134 of file dev-sysfs.c.
Update the address of an unauthenticated WUSB device
Once we have successfully authenticated, we take it to addr0 state and then to a normal address.
Before the device's address (as known by it) was usb_dev->devnum | 0x80 (unauthenticated address). With this we update it to usb_dev->devnum.
Definition at line 296 of file security.c.
Definition at line 1117 of file devconnect.c.
int wusb_usb_ncb | ( | struct notifier_block * | nb, |
unsigned long | val, | ||
void * | priv | ||
) |
Definition at line 970 of file devconnect.c.
Definition at line 1026 of file devconnect.c.
Definition at line 1042 of file devconnect.c.
Definition at line 1056 of file devconnect.c.
Definition at line 1094 of file devconnect.c.
wusbhc_giveback_urb - return an URB to the USB core : the host controller the URB is from. : the URB. : the URB's status.
Return an URB to the USB core doing some additional WUSB specific processing.
wusbhc_gtk_rekey - generate and distribute a new GTK : the WUSB host controller
Generate a new GTK and distribute it to all connected and authenticated devices. When all devices have the new GTK, the host starts using it.
This must be called after every device disconnect (see [WUSB] section 6.2.11.2).
Definition at line 554 of file security.c.
Definition at line 610 of file devconnect.c.
wusbhc_rsv_establish - establish a reservation for the cluster : the WUSB HC requesting a bandwidth reservation
Definition at line 76 of file reservation.c.
wusbhc_rsv_terminate - terminate the cluster reservation : the WUSB host whose reservation is to be terminated
Definition at line 111 of file reservation.c.
Definition at line 35 of file security.c.
Definition at line 51 of file security.c.
wusbhc_sec_stop - stop the security management process : the WUSB host controller
Wait for any pending GTK rekeys to stop.
Definition at line 130 of file security.c.
struct usb_key_descriptor descr |
struct workqueue_struct* wusbd |