sysfs-wusb_cbaf 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_*
  2. Date: August 2008
  3. KernelVersion: 2.6.27
  4. Contact: David Vrabel <david.vrabel@csr.com>
  5. Description:
  6. Various files for managing Cable Based Association of
  7. (wireless) USB devices.
  8. The sequence of operations should be:
  9. 1. Device is plugged in.
  10. 2. The connection manager (CM) sees a device with CBA capability.
  11. (the wusb_chid etc. files in /sys/devices/blah/OURDEVICE).
  12. 3. The CM writes the host name, supported band groups,
  13. and the CHID (host ID) into the wusb_host_name,
  14. wusb_host_band_groups and wusb_chid files. These
  15. get sent to the device and the CDID (if any) for
  16. this host is requested.
  17. 4. The CM can verify that the device's supported band
  18. groups (wusb_device_band_groups) are compatible
  19. with the host.
  20. 5. The CM reads the wusb_cdid file.
  21. 6. The CM looks it up its database.
  22. - If it has a matching CHID,CDID entry, the device
  23. has been authorized before and nothing further
  24. needs to be done.
  25. - If the CDID is zero (or the CM doesn't find a
  26. matching CDID in its database), the device is
  27. assumed to be not known. The CM may associate
  28. the host with device by: writing a randomly
  29. generated CDID to wusb_cdid and then a random CK
  30. to wusb_ck (this uploads the new CC to the
  31. device).
  32. CMD may choose to prompt the user before
  33. associating with a new device.
  34. 7. Device is unplugged.
  35. References:
  36. [WUSB-AM] Association Models Supplement to the
  37. Certified Wireless Universal Serial Bus
  38. Specification, version 1.0.
  39. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_chid
  40. Date: August 2008
  41. KernelVersion: 2.6.27
  42. Contact: David Vrabel <david.vrabel@csr.com>
  43. Description:
  44. The CHID of the host formatted as 16 space-separated
  45. hex octets.
  46. Writes fetches device's supported band groups and the
  47. the CDID for any existing association with this host.
  48. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_host_name
  49. Date: August 2008
  50. KernelVersion: 2.6.27
  51. Contact: David Vrabel <david.vrabel@csr.com>
  52. Description:
  53. A friendly name for the host as a UTF-8 encoded string.
  54. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_host_band_groups
  55. Date: August 2008
  56. KernelVersion: 2.6.27
  57. Contact: David Vrabel <david.vrabel@csr.com>
  58. Description:
  59. The band groups supported by the host, in the format
  60. defined in [WUSB-AM].
  61. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_device_band_groups
  62. Date: August 2008
  63. KernelVersion: 2.6.27
  64. Contact: David Vrabel <david.vrabel@csr.com>
  65. Description:
  66. The band groups supported by the device, in the format
  67. defined in [WUSB-AM].
  68. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_cdid
  69. Date: August 2008
  70. KernelVersion: 2.6.27
  71. Contact: David Vrabel <david.vrabel@csr.com>
  72. Description:
  73. The device's CDID formatted as 16 space-separated hex
  74. octets.
  75. What: /sys/bus/usb/drivers/wusb_cbaf/.../wusb_ck
  76. Date: August 2008
  77. KernelVersion: 2.6.27
  78. Contact: David Vrabel <david.vrabel@csr.com>
  79. Description:
  80. Write 16 space-separated random, hex octets to
  81. associate with the device.