History log of /drivers/usb/wusbcore/reservation.c
Revision Date Author Comments
b4a9dfb02d932acd8a55ee96575e90f999a482de 20-Dec-2013 Thomas Pugliese <thomas.pugliese@gmail.com> usb: wusbcore: add debug prints to reservation and channel change

This patch adds debug prints to the reservation and channel change
sequence to help with debugging channel change problems.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a899575191ba85a71401f2c8f36bec7b14487043 24-Jun-2013 Thomas Pugliese <thomas.pugliese@gmail.com> USB: HWA: fix device probe failure

This patch fixes a race condition that caused the HWA_HC interface probe
function to occasionally fail. The HWA_HC would attempt to register
itself with the HWA_RC by searching for a uwb_rc class device with the
same parent device ptr. If the probe function for the HWA_RC interface
had yet to run, the uwb_rc class device would not have been created
causing the look up to fail and the HWA_HC probe function to return an
error causing the device to be unusable.

The fix is for the HWA to delay registering with the HWA_RC until
receiving the command from userspace to start the wireless channel. It
is the responsibility of userspace to ensure that the uwb_rc class
device has been created before starting the HWA channel.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
fe6e87a4b570d2e435709746ba550a7197016bd0 12-Dec-2008 David Vrabel <david.vrabel@csr.com> wusb: fix oops when terminating a non-existant reservation

If a reservation was not established, do not try terminating it.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
5b37717a23b8e40f6cf7ad85a26ddcf41c171e2c 12-Dec-2008 Stefano Panella <stefano.panella@csr.com> uwb: improved MAS allocator and reservation conflict handling

Greatly enhance the MAS allocator:
- Handle row and column reservations.
- Permit all the available MAS to be allocated.
- Follows the WiMedia rules on MAS selection.

Take appropriate action when reservation conflicts are detected.
- Correctly identify which reservation wins the conflict.
- Protect alien BP reservations.
- If an owned reservation loses, resize/move it.
- Follow the backoff procedure before requesting additional MAS.

When reservations are terminated, move the remaining reservations (if
necessary) so they keep following the MAS allocation rules.

Signed-off-by: Stefano Panella <stefano.panella@csr.com>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
cae1c11414912bf77a62aebd65ced321f0b9da51 27-Oct-2008 David Vrabel <david.vrabel@csr.com> uwb: reference count reservations

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>
90ff96f22426a9d1a06df97dead0a9098facb567 17-Sep-2008 Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> wusb: add the Wireless USB core

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>