aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore
Commit message (Collapse)AuthorAgeFilesLines
...
* wusb: do a proper channel stopDavid Vrabel2008-10-282-16/+16
| | | | | | | | When stopping the WUSB channel the host should send Channel Stop IEs giving the WUSB Channel Time of the last MMC. Both WHCI and HWA hosts provide a channel stop command for this. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: disable verification of the key generation algorithmsDavid Vrabel2008-10-281-4/+11
| | | | | | | | Verifing the key generation algorithms could take too long on a freshly booted system (due to lack of entropy) so disable the test unless a module parameter (debug_crypto_verify) is specified. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: reference count reservationsDavid Vrabel2008-10-281-4/+3
| | | | | | | | | | Reference counting the struct uwb_rsv's is safer and easier to get right than the transferring ownership of the structures from the PAL to reservation manager. This fixes an oops in the debug PAL after a reservation timed out. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: don't use printk_ratelimit() so oftenDavid Vrabel2008-10-162-33/+8
| | | | | | | | | Avoid using printk_ratelimit() in many places because: - many were error messages reporting broken hardware (it's useful to get all of these). - the message itself wasn't useful so the message has been removed. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: use kcalloc where appropriateDavid Vrabel2008-10-152-2/+2
| | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: depend on EXPERIMENTALDavid Vrabel2008-09-171-1/+2
| | | | | | | The UWB stack has some sysfs APIs that will change thus it's best marked as EXPERIMENTAL until these APIs are finalized. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: wusb-cbaf (CBA driver) sysfs ABI simplificationFelipe Zimmerle2008-09-173-235/+317
| | | | | | | | | | | Simplify the sysfs ABI of the wusb-cbaf (Cable Based Association) driver: use one value per file and cause the write of the CHID to fetch the CDID (instead of requiring a separate read). Update the example wusb-cbaf script to work with this revised ABI. Signed-off-by: Felipe Zimmerle <felipe.zimmerle@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add symlinks in sysfs between radio controllers and PALsDavid Vrabel2008-09-172-7/+12
| | | | | | | Add a facility for PALs to have symlinks to their radio controller (and vice-versa) and make WUSB host controllers use this. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: fix bmRequestType for Abort RPipe requestAnderson Lizardo2008-09-171-1/+1
| | | | | | | | | WUSB 1.0 (Table 8-4) mentions that Abort RPipe requests must have bmRequestType equal to 0x25, although current implementation sets bmRequestType to 0xa5. This patch fixes this typo. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: fix error path for wusb_set_dev_addr()Anderson Lizardo2008-09-171-3/+3
| | | | | | | | Error path for wusb_set_dev_addr() was handled incorrectly. Fix it by considering error only when return value is negative. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the Wire Adapter (WA) coreInaky Perez-Gonzalez2008-09-176-0/+3099
| | | | | | Common code for supporting Host Wire Adapters and Device Wire Adapters. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the USB wusb-cbaf driverInaky Perez-Gonzalez2008-09-172-1/+623
| | | | | | Add a driver for cable based associated of (Wireless) USB devices. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the Wireless USB core (build-system)Greg Kroah-Hartman2008-09-172-0/+29
| | | | | | | Add the WUSB build system (Kconfig and Kbuild) files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the Wireless USB core (security)Inaky Perez-Gonzalez2008-09-172-0/+1180
| | | | | | Add the WUSB security (authentication) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the Wireless USB core (protocol)Inaky Perez-Gonzalez2008-09-172-0/+1643
| | | | | | Add the WUSB protocol (MMC management and device connection) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* wusb: add the Wireless USB coreInaky Perez-Gonzalez2008-09-176-0/+1685
Add support for Ceritified Wireless USB 1.0 to the USB stack. This has been split into several patches for easier review. core (this patch): - host controller infrastructure - cluster reservation - UWB PAL registration - fake root hub protocol: - MMC management (start/stop, managing IEs) - device connection security: - device authentication and authorization build-system: - Kconfig and Kbuild files Signed-off-by: David Vrabel <david.vrabel@csr.com>