<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/usb/wusbcore, branch v2.6.29</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>USB: wusbcore/wa-xfer, fix lock imbalance</title>
<updated>2009-03-17T21:01:29+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2009-03-11T20:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=49fa09215c03116449184057f062c6aea2f1d0b4'/>
<id>49fa09215c03116449184057f062c6aea2f1d0b4</id>
<content type='text'>
Fix locking on one wa_urb_enqueue_b's fail path. There was omitted unlock.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Inaky Perez-Gonzalez &lt;inaky.perez-gonzalez@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix locking on one wa_urb_enqueue_b's fail path. There was omitted unlock.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Inaky Perez-Gonzalez &lt;inaky.perez-gonzalez@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-upstream</title>
<updated>2009-01-22T19:12:32+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2009-01-22T19:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=dff243f7cb3a2ebbb09093066c1bc4a90ff5b3a4'/>
<id>dff243f7cb3a2ebbb09093066c1bc4a90ff5b3a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: wusb: annotate association types withe proper endianness</title>
<updated>2009-01-07T17:59:51+00:00</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-11-07T06:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d767d888750a8e15656b7ee15d68f90a151b8936'/>
<id>d767d888750a8e15656b7ee15d68f90a151b8936</id>
<content type='text'>
Also a trivial annotation in rh.c for:
drivers/usb/wusbcore/rh.c:366:9: warning: incorrect type in assignment (different base types)
drivers/usb/wusbcore/rh.c:366:9:    expected unsigned short [unsigned] [short] [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:366:9:    got restricted __le16 [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:367:9: warning: incorrect type in assignment (different base types)
drivers/usb/wusbcore/rh.c:367:9:    expected unsigned short [unsigned] [short] [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:367:9:    got restricted __le16 [usertype] &lt;noident&gt;

Association types annotation fixes piles of warnings similar to:
drivers/usb/wusbcore/cbaf.c:238:30: warning: incorrect type in initializer (different base types)
drivers/usb/wusbcore/cbaf.c:238:30:    expected restricted __le16 [usertype] id
drivers/usb/wusbcore/cbaf.c:238:30:    got int
drivers/usb/wusbcore/cbaf.c:238:30: warning: incorrect type in initializer (different base types)
drivers/usb/wusbcore/cbaf.c:238:30:    expected restricted __le16 [usertype] len
drivers/usb/wusbcore/cbaf.c:238:30:    got int

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: David Vrabel &lt;david.vrabel@csr.com&gt;
Cc: Inaky Perez-Gonzalez &lt;inaky.perez-gonzalez@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also a trivial annotation in rh.c for:
drivers/usb/wusbcore/rh.c:366:9: warning: incorrect type in assignment (different base types)
drivers/usb/wusbcore/rh.c:366:9:    expected unsigned short [unsigned] [short] [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:366:9:    got restricted __le16 [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:367:9: warning: incorrect type in assignment (different base types)
drivers/usb/wusbcore/rh.c:367:9:    expected unsigned short [unsigned] [short] [usertype] &lt;noident&gt;
drivers/usb/wusbcore/rh.c:367:9:    got restricted __le16 [usertype] &lt;noident&gt;

Association types annotation fixes piles of warnings similar to:
drivers/usb/wusbcore/cbaf.c:238:30: warning: incorrect type in initializer (different base types)
drivers/usb/wusbcore/cbaf.c:238:30:    expected restricted __le16 [usertype] id
drivers/usb/wusbcore/cbaf.c:238:30:    got int
drivers/usb/wusbcore/cbaf.c:238:30: warning: incorrect type in initializer (different base types)
drivers/usb/wusbcore/cbaf.c:238:30:    expected restricted __le16 [usertype] len
drivers/usb/wusbcore/cbaf.c:238:30:    got int

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: David Vrabel &lt;david.vrabel@csr.com&gt;
Cc: Inaky Perez-Gonzalez &lt;inaky.perez-gonzalez@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>wusb: return -ENOTCONN when resetting a port with no connected device</title>
<updated>2009-01-06T17:58:02+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2009-01-06T17:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d'/>
<id>9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d</id>
<content type='text'>
If reading the device descriptor fails during hub_port_init() fails,
then the port is disabled, disconnecting the device.  The port is then
reset at the start of the next init attempt but there is no device to
reset.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If reading the device descriptor fails during hub_port_init() fails,
then the port is disabled, disconnecting the device.  The port is then
reset at the start of the next init attempt but there is no device to
reset.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uwb: use print_hex_dump()</title>
<updated>2008-12-22T18:27:17+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2008-12-22T18:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e43ace891229607c43d35597cbba77c2e40f48d4'/>
<id>e43ace891229607c43d35597cbba77c2e40f48d4</id>
<content type='text'>
Use print_hex_dump() instead of the home-grown dump_bytes().

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use print_hex_dump() instead of the home-grown dump_bytes().

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uwb: use dev_dbg() for debug messages</title>
<updated>2008-12-22T18:22:50+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2008-12-22T18:22:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bce83697c5fe84a7a5d38c96fbbe43b4bc028c3e'/>
<id>bce83697c5fe84a7a5d38c96fbbe43b4bc028c3e</id>
<content type='text'>
Instead of the home-grown d_fnstart(), d_fnend() and d_printf() macros,
use dev_dbg() or remove the message entirely.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of the home-grown d_fnstart(), d_fnend() and d_printf() macros,
use dev_dbg() or remove the message entirely.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wusb: fix oops when terminating a non-existant reservation</title>
<updated>2008-12-12T13:25:21+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2008-12-12T13:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fe6e87a4b570d2e435709746ba550a7197016bd0'/>
<id>fe6e87a4b570d2e435709746ba550a7197016bd0</id>
<content type='text'>
If a reservation was not established, do not try terminating it.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a reservation was not established, do not try terminating it.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uwb: improved MAS allocator and reservation conflict handling</title>
<updated>2008-12-12T13:00:06+00:00</updated>
<author>
<name>Stefano Panella</name>
<email>stefano.panella@csr.com</email>
</author>
<published>2008-12-12T13:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5b37717a23b8e40f6cf7ad85a26ddcf41c171e2c'/>
<id>5b37717a23b8e40f6cf7ad85a26ddcf41c171e2c</id>
<content type='text'>
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 &lt;stefano.panella@csr.com&gt;
Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;stefano.panella@csr.com&gt;
Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wusb: whci-hcd shouldn't do ASL/PZL updates while channel is inactive</title>
<updated>2008-11-25T14:23:40+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2008-11-25T14:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=56968d0c1a920eb165c06318f5c458724e1df0af'/>
<id>56968d0c1a920eb165c06318f5c458724e1df0af</id>
<content type='text'>
ASL/PZL updates while the WUSB channel is inactive (i.e., the PZL and
ASL are stopped) may not complete.  This causes hangs when removing the
whci-hcd module if a device is still connected (removing the device
does an endpoint_disable which results in an ASL update to remove the
qset).

If the WUSB channel is inactive the update can simply be skipped as the
WHC doesn't care about the state of the ASL/PZL.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ASL/PZL updates while the WUSB channel is inactive (i.e., the PZL and
ASL are stopped) may not complete.  This causes hangs when removing the
whci-hcd module if a device is still connected (removing the device
does an endpoint_disable which results in an ASL update to remove the
qset).

If the WUSB channel is inactive the update can simply be skipped as the
WHC doesn't care about the state of the ASL/PZL.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>uwb: add basic radio manager</title>
<updated>2008-11-19T14:46:33+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@csr.com</email>
</author>
<published>2008-11-17T15:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6fae35f9cea92793a98b2d9ab21235e5ae035581'/>
<id>6fae35f9cea92793a98b2d9ab21235e5ae035581</id>
<content type='text'>
The UWB radio manager coordinates the use of the radio between the
PALs that may be using it.  PALs request use of the radio with
uwb_radio_start() and the radio manager will start beaconing if its
not already doing so.  When the last PAL has called uwb_radio_stop()
beaconing will be stopped.

In the future, the radio manager will have a more sophisticated channel
selection algorithm, probably following the Channel Selection Policy
from the WiMedia Alliance when it is finalized.  For now, channel 9
(BG1, TFC1) is selected.

The user may override the channel selected by the radio manager and may
force the radio to stop beaconing.

The WUSB Host Controller PAL makes use of this and there are two new
debug PAL commands that can be used for testing.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The UWB radio manager coordinates the use of the radio between the
PALs that may be using it.  PALs request use of the radio with
uwb_radio_start() and the radio manager will start beaconing if its
not already doing so.  When the last PAL has called uwb_radio_stop()
beaconing will be stopped.

In the future, the radio manager will have a more sophisticated channel
selection algorithm, probably following the Channel Selection Policy
from the WiMedia Alliance when it is finalized.  For now, channel 9
(BG1, TFC1) is selected.

The user may override the channel selected by the radio manager and may
force the radio to stop beaconing.

The WUSB Host Controller PAL makes use of this and there are two new
debug PAL commands that can be used for testing.

Signed-off-by: David Vrabel &lt;david.vrabel@csr.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
