24 Sep, 2014

2 commits

  • Documentation/usb/WUSB-Design-overview.txt states that UWB devices seen
    by a UWB radio controller are added to /sys/bus/uwb/devices, but this
    was not actually being done. This functionality is needed in order for
    UWB peer devices to be enumerated by user mode tools. This patch
    creates a uwb bus type and adds UWB peer devices to it as they are
    discovered by the radio controller.

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     
  • Fix line length in uwb-internal.h

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     

25 Jun, 2013

1 commit

  • 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
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     

15 Sep, 2011

1 commit


08 Mar, 2010

1 commit

  • In the future, we are going to be changing the lock type for struct
    device (once we get the lockdep infrastructure properly worked out) To
    make that changeover easier, and to possibly burry the lock in a
    different part of struct device, let's create some functions to lock and
    unlock a device so that no out-of-core code needs to be changed in the
    future.

    This patch creates the device_lock/unlock/trylock() functions, and
    converts all in-tree users to them.

    Cc: Thomas Gleixner
    Cc: Jean Delvare
    Cc: Dave Young
    Cc: Ming Lei
    Cc: Jiri Kosina
    Cc: Phil Carmody
    Cc: Arjan van de Ven
    Cc: Cornelia Huck
    Cc: Rafael J. Wysocki
    Cc: Pavel Machek
    Cc: Len Brown
    Cc: Magnus Damm
    Cc: Alan Stern
    Cc: Randy Dunlap
    Cc: Stefan Richter
    Cc: David Brownell
    Cc: Vegard Nossum
    Cc: Jesse Barnes
    Cc: Alex Chiang
    Cc: Kenji Kaneshige
    Cc: Andrew Morton
    Cc: Andrew Patterson
    Cc: Yu Zhao
    Cc: Dominik Brodowski
    Cc: Samuel Ortiz
    Cc: Wolfram Sang
    Cc: CHENG Renquan
    Cc: Oliver Neukum
    Cc: Frans Pop
    Cc: David Vrabel
    Cc: Kay Sievers
    Cc: Sarah Sharp
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

12 Dec, 2008

1 commit

  • 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
    Signed-off-by: David Vrabel

    Stefano Panella
     

26 Nov, 2008

1 commit


19 Nov, 2008

1 commit

  • 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

    David Vrabel
     

08 Nov, 2008

1 commit


04 Nov, 2008

2 commits


28 Oct, 2008

1 commit

  • ECMA-368 requires that IEs in a beacon must be sorted by element ID. Most
    hardware uses the ordering in the Set IE URC command so get the ordering
    right on the host.

    Also refactor the IE management code:
    - use uwb_ie_next() instead of uwb_ie_for_each().
    - remove unnecessary functions.
    - API is now only uwb_rc_ie_add() and uwb_rc_ie_rm().

    Signed-off-by: David Vrabel

    David Vrabel
     

17 Sep, 2008

2 commits