13 Aug, 2013

1 commit

  • In the disconnect routine for the hwa_hc interface, it calls
    uwb_pal_unregister to unregister itself from the UWB subsystem. This
    function attempts to clean up the link to the host controller directory in
    the device's UWB radio control interface directory. If the disconnect
    routine for the radio control interface has already run, the uwb directory
    will be gone so the call to sysfs_remove_link generates a warning.

    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
     

01 Nov, 2011

1 commit

  • These macros are no longer in module.h and module.h is no longer
    present everywhere. Call out export.h for the real users who
    are making use of these macros, or else we'll get things like:

    CC drivers/uwb/umc-drv.o
    drivers/uwb/umc-dev.c:42: warning: data definition has no type or storage class
    drivers/uwb/umc-dev.c:42: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
    drivers/uwb/umc-dev.c:42: warning: parameter names (without types) in function declaration

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

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
     

17 Sep, 2008

2 commits