History log of /drivers/usb/wusbcore/wusbhc.c
Revision Date Author Comments
962f3ffa927f2e777a4193843c45ffa6e52ff4b6 02-Mar-2011 Akinobu Mita <akinobu.mita@gmail.com> wusb: fix find_first_zero_bit() return value check

In wusb_cluster_id_get(), if no zero bits exist in wusb_cluster_id_table,
find_first_zero_bit() returns CLUSTER_IDS.

But it is impossible to detect that the bitmap is full because there
is an off-by-one error in the return value check. It will cause
unexpected memory access by setting bit out of wusb_cluster_id_table
bitmap, and caller will get wrong cluster id.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: linux-usb@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
421f91d21ad6f799dc7b489bb33cc560ccc56f98 11-Jun-2010 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> fix typos concerning "initiali[zs]e"

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
c3f22d92a1249665d4cd87a68a4078a56002c3ab 12-Oct-2009 David Vrabel <david.vrabel@csr.com> USB: wusb: add wusb_phy_rate sysfs file to host controllers

Add the wusb_phy_rate sysfs file to Wireless USB host controllers. This
sets the maximum PHY rate that will be used for all connected devices.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fca10c81d99ff9956179058460dfddc0418f3902 08-Apr-2009 David Vrabel <david.vrabel@csr.com> WUSB: correct format of wusb_chid sysfs file

Make the wusb_chid sysfs file match the ABI documentation.

Print all zeros if the WUSB host is stopped (instead of an empty file)
and end the file with a newline.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
5936ac7f93965931c508e1928d142076998ce65d 08-Apr-2009 David Vrabel <david.vrabel@csr.com> WUSB: fix oops when completing URBs for disconnected devices

Fix an oops in wusbhc_giveback_urb() if the wusb device had disconnected
while an urb was in progress. Also release the ref count obtained here.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
b60066c141997ac2e4ef08459b75638ae86ae781 17-Sep-2008 David Vrabel <david.vrabel@csr.com> uwb: add symlinks in sysfs between radio controllers and PALs

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>
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>