Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
wusb_dev Struct Reference

#include <wusbhc.h>

Data Fields

struct kref refcnt
 
struct wusbhcwusbhc
 
struct list_head cack_node
 
u8 port_idx
 
u8 addr
 
u8 beacon_type:4
 
struct usb_encryption_descriptor ccm1_etd
 
struct wusb_ckhdid cdid
 
unsigned long entry_ts
 
struct usb_bos_descriptorbos
 
struct
usb_wireless_cap_descriptor
wusb_cap_descr
 
struct uwb_mas_bm availability
 
struct work_struct devconnect_acked_work
 
struct urbset_gtk_urb
 
struct usb_ctrlrequestset_gtk_req
 
struct usb_device * usb_dev
 

Detailed Description

Wireless USB device

Describe a WUSB device connected to the cluster. This struct belongs to the 'struct wusb_port' it is attached to and it is responsible for putting and clearing the pointer to it.

Note this "complements" the 'struct usb_device' that the usb_hcd keeps for each connected USB device. However, it extends some information that is not available (there is no hcpriv ptr in it!) and most importantly, it's life cycle is different. It is created as soon as we get a DN_Connect (connect request notification) from the device through the WUSB host controller; the USB stack doesn't create the device until we authenticate it. FIXME: this will change.

: This is allocated when the BOS descriptors are read from the device and freed upon the wusb_dev struct dying. : points into , and has been verified to be size safe.

Definition at line 94 of file wusbhc.h.

Field Documentation

u8 addr

Definition at line 99 of file wusbhc.h.

struct uwb_mas_bm availability

Definition at line 106 of file wusbhc.h.

u8 beacon_type

Definition at line 100 of file wusbhc.h.

Definition at line 104 of file wusbhc.h.

struct list_head cack_node

Definition at line 97 of file wusbhc.h.

Definition at line 101 of file wusbhc.h.

Definition at line 102 of file wusbhc.h.

struct work_struct devconnect_acked_work

Definition at line 107 of file wusbhc.h.

unsigned long entry_ts

Definition at line 103 of file wusbhc.h.

u8 port_idx

Definition at line 98 of file wusbhc.h.

struct kref refcnt

Definition at line 95 of file wusbhc.h.

struct usb_ctrlrequest* set_gtk_req

Definition at line 109 of file wusbhc.h.

struct urb* set_gtk_urb

Definition at line 108 of file wusbhc.h.

struct usb_device* usb_dev

Definition at line 110 of file wusbhc.h.

Definition at line 105 of file wusbhc.h.

Definition at line 96 of file wusbhc.h.


The documentation for this struct was generated from the following file: