summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
Commit message (Collapse)AuthorAgeFilesLines
* uwb: use the %pM formatting specifier in eda.cHarvey Harrison2008-10-281-29/+9
| | | | | Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* uwb: wrong sizeof argument in mac address compareFrank Leipold2008-10-201-1/+1
| | | | | | | | | | | In the __uwb_beca_find_bymac function the sizeof returns the length of a pointer and not the data it is referring to. Hence only the first 4 bytes were compared, not the entire 6 bytes MAC address. Now the sizeof takes struct uwb_mac_addr as argument. Signed-off-by: Frank Leipold <frank.leipold@eads.net> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: don't use printk_ratelimit() so oftenDavid Vrabel2008-10-166-64/+26
| | | | | | | | | Avoid using printk_ratelimit() in many places because: - many were error messages reporting broken hardware (it's useful to get all of these). - the message itself wasn't useful so the message has been removed. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: use kcalloc where appropriateDavid Vrabel2008-10-151-1/+1
| | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: use time_after() when purging stale beaconsDavid Vrabel2008-10-151-3/+4
| | | | Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: depend on EXPERIMENTALDavid Vrabel2008-09-171-1/+2
| | | | | | | The UWB stack has some sysfs APIs that will change thus it's best marked as EXPERIMENTAL until these APIs are finalized. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add symlinks in sysfs between radio controllers and PALsDavid Vrabel2008-09-171-0/+20
| | | | | | | 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>
* uwb: dont tranmit identification IEsDavid Vrabel2008-09-173-36/+0
| | | | | | | | The current identification IE doesn't include any useful information (the vendor ID is from the EUI-48) and it causes problems with certain hardware/firmware so don't transmit one. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: i1480/GUWA100U: fix firmware download issuesAnderson Lizardo2008-09-173-15/+45
| | | | | | | | | | | | | | | | IOGear firmware versions >= 1.4.12224 fail to be downloaded because of a spurious (and harmless) RCEB received after the download notification. This patch handles this RCEB and keeps compatibility with future versions that might not emit this RCEB. i1480_rceb_check() is reused to check for the RCEB. It is also refactored with improved comments and reused in another place in mac.c where the checking was being duplicated. This patch was tested on both i1480 and GUWA100U HWAs, with all firmware versions currently available. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
* uwb: i1480: remove MAC/PHY information checking functionAnderson Lizardo2008-09-172-101/+4
| | | | | | | | | | | | | | | Some hardware/firmware combinations (most notably an IOGear HWA using the i1480 firmware) kill the host controller after issuing a GET_MAC_PHY_INFO command. Removing this check seems harmless otherwise. The patch fixes the issue where the HC is killed, showing the message: ehci_hcd 0000:00:1d.7: HC died; cleaning up After this error, USB comes back only after reloading the ehci_hcd module. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add Intel i1480 HWA to the UWB RC quirk tableAnderson Lizardo2008-09-171-0/+3
| | | | | | | | | The Intel i1480 HWA uses WHCI commands/events even though reporting itself as WUSB compliant. This patch fixes this by marking it with the WUSB_QUIRK_WHCI_CMD_EVT flag, which disables WUSB command/event filtering. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: disable command/event filtering for D-Link DUB-1210Anderson Lizardo2008-09-171-2/+14
| | | | | | | | | | | The D-Link DUB-1210 HWA uses commands and events from the WHCI specification, although reporting itself as WUSB compliant. Therefore, we disable WUSB command/event filtering for it. USB_DEVICE_AND_INTERFACE_INFO is used for matching only the RC interface. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: initialize the debug sub-systemDavid Vrabel2008-09-171-0/+2
| | | | | | Call uwb_dbg_init() so the debugfs files are accessible. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: Fix handling IEs with empty IE data in uwb_est_get_size()Anderson Lizardo2008-09-171-1/+1
| | | | | | | | A DRP notification may sometimes have empty IE data. This patch fixes uwb_est_get_size() so that this case is handled properly. Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the i1480 WLP driverInaky Perez-Gonzalez2008-09-1710-0/+2818
| | | | | | Add the driver for the WLP capability of the Intel i1480 device. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the i1480 DFU driverInaky Perez-Gonzalez2008-09-1710-0/+1898
| | | | | | Add the driver for downloading the firmware to an Intel i1480 device. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add WiMedia LLC Protocol (build system)Greg Kroah-Hartman2008-09-173-0/+18
| | | | | | Add the WLP build system (Kconfig and Kbuild files). Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add WiMedia LLC Protocol stack (WSS)Reinette Chatre2008-09-171-0/+1055
| | | | | | Add the Wireless Service Set (WSS) code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add WiMedia LLC Protocol stack (messages)Reinette Chatre2008-09-171-0/+1946
| | | | | | Add the WLP message formatting/decoding code. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the WiMedia LLC Protocol stackReinette Chatre2008-09-176-0/+2388
| | | | | | | | | | | | | | | | | | | | Add the generic code for the WiMedia Logical Link Control Protocol (WLP). This has been split into several patches for easier review. core (this patch): - everything else messages: - WLP message construction/decode wss: - Wireless Service Set support build-system: - Kconfig and Kbuild files Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add HWA radio controller driverInaky Perez-Gonzalez2008-09-173-0/+924
| | | | | | Add a driver for USB-connected UWB radio controllers (HWAs). Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add whc-rc radio control driverInaky Perez-Gonzalez2008-09-173-1/+549
| | | | | | Add the driver for WHCI radio controllers. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the driver to enumerate WHCI capabilitiesDavid Vrabel2008-09-172-1/+270
| | | | | | | This enumerates the capabilties of a WHCI device, adding a umc device for each one. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the umc busDavid Vrabel2008-09-174-0/+359
| | | | | | | The UMC bus is used for the capabilities exposed by a UWB Multi-interface Controller as described in the WHCI specification. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (build system)Greg Kroah-Hartman2008-09-172-0/+48
| | | | | | | The Kbuild and Kconfig files. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (debug support)David Vrabel2008-09-171-0/+367
| | | | | | Add various debugfs files, principaly for the reservation manager. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (reservation manager)David Vrabel2008-09-174-0/+1661
| | | | | | DRP and reservation management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (MLME)Inaky Perez-Gonzalez2008-09-174-0/+1721
| | | | | | | Most of the MAC Layer Management Entity (MLME) support: address, beacon, IE and scan management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (radio controller interface)Inaky Perez-Gonzalez2008-09-173-0/+1463
| | | | | | Add the UWB radio controller interface (URCI) support. Signed-off-by: David Vrabel <david.vrabel@csr.com>
* uwb: add the UWB stack (core files)Inaky Perez-Gonzalez2008-09-176-0/+1939
UWB device and radio controller device and event management. Signed-off-by: David Vrabel <david.vrabel@csr.com>
OpenPOWER on IntegriCloud