]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/usb/irda.h
USB: serial: ir-usb: fix link-speed handling
[mirror_ubuntu-bionic-kernel.git] / include / linux / usb / irda.h
index 396d2b043e6476fe98c578eff331a36aa4d8ba61..556a801efce30163fca9588a6f6a2d4d9d17d8fe 100644 (file)
@@ -119,11 +119,22 @@ struct usb_irda_cs_descriptor {
  * 6 - 115200 bps
  * 7 - 576000 bps
  * 8 - 1.152 Mbps
- * 9 - 5 mbps
+ * 9 - 4 Mbps
  * 10..15 - Reserved
  */
 #define USB_IRDA_STATUS_LINK_SPEED     0x0f
 
+#define USB_IRDA_LS_NO_CHANGE          0
+#define USB_IRDA_LS_2400               1
+#define USB_IRDA_LS_9600               2
+#define USB_IRDA_LS_19200              3
+#define USB_IRDA_LS_38400              4
+#define USB_IRDA_LS_57600              5
+#define USB_IRDA_LS_115200             6
+#define USB_IRDA_LS_576000             7
+#define USB_IRDA_LS_1152000            8
+#define USB_IRDA_LS_4000000            9
+
 /* The following is a 4-bit value used only for
  * outbound header:
  *