aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/ch9.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h
index ae7833749fa2..245c72531228 100644
--- a/include/linux/usb/ch9.h
+++ b/include/linux/usb/ch9.h
@@ -367,7 +367,7 @@ struct usb_debug_descriptor {
367 /* bulk endpoints with 8 byte maxpacket */ 367 /* bulk endpoints with 8 byte maxpacket */
368 __u8 bDebugInEndpoint; 368 __u8 bDebugInEndpoint;
369 __u8 bDebugOutEndpoint; 369 __u8 bDebugOutEndpoint;
370}; 370} __attribute__((packed));
371 371
372/*-------------------------------------------------------------------------*/ 372/*-------------------------------------------------------------------------*/
373 373
@@ -396,7 +396,7 @@ struct usb_security_descriptor {
396 396
397 __le16 wTotalLength; 397 __le16 wTotalLength;
398 __u8 bNumEncryptionTypes; 398 __u8 bNumEncryptionTypes;
399}; 399} __attribute__((packed));
400 400
401/*-------------------------------------------------------------------------*/ 401/*-------------------------------------------------------------------------*/
402 402
@@ -410,7 +410,7 @@ struct usb_key_descriptor {
410 __u8 tTKID[3]; 410 __u8 tTKID[3];
411 __u8 bReserved; 411 __u8 bReserved;
412 __u8 bKeyData[0]; 412 __u8 bKeyData[0];
413}; 413} __attribute__((packed));
414 414
415/*-------------------------------------------------------------------------*/ 415/*-------------------------------------------------------------------------*/
416 416
@@ -426,7 +426,7 @@ struct usb_encryption_descriptor {
426#define USB_ENC_TYPE_RSA_1 3 /* rsa3072/sha1 auth */ 426#define USB_ENC_TYPE_RSA_1 3 /* rsa3072/sha1 auth */
427 __u8 bEncryptionValue; /* use in SET_ENCRYPTION */ 427 __u8 bEncryptionValue; /* use in SET_ENCRYPTION */
428 __u8 bAuthKeyIndex; 428 __u8 bAuthKeyIndex;
429}; 429} __attribute__((packed));
430 430
431 431
432/*-------------------------------------------------------------------------*/ 432/*-------------------------------------------------------------------------*/
@@ -438,7 +438,7 @@ struct usb_bos_descriptor {
438 438
439 __le16 wTotalLength; 439 __le16 wTotalLength;
440 __u8 bNumDeviceCaps; 440 __u8 bNumDeviceCaps;
441}; 441} __attribute__((packed));
442 442
443/*-------------------------------------------------------------------------*/ 443/*-------------------------------------------------------------------------*/
444 444
@@ -447,7 +447,7 @@ struct usb_dev_cap_header {
447 __u8 bLength; 447 __u8 bLength;
448 __u8 bDescriptorType; 448 __u8 bDescriptorType;
449 __u8 bDevCapabilityType; 449 __u8 bDevCapabilityType;
450}; 450} __attribute__((packed));
451 451
452#define USB_CAP_TYPE_WIRELESS_USB 1 452#define USB_CAP_TYPE_WIRELESS_USB 1
453 453
@@ -475,7 +475,7 @@ struct usb_wireless_cap_descriptor { /* Ultra Wide Band */
475 __u8 bmFFITXPowerInfo; /* FFI power levels */ 475 __u8 bmFFITXPowerInfo; /* FFI power levels */
476 __le16 bmBandGroup; 476 __le16 bmBandGroup;
477 __u8 bReserved; 477 __u8 bReserved;
478}; 478} __attribute__((packed));
479 479
480/*-------------------------------------------------------------------------*/ 480/*-------------------------------------------------------------------------*/
481 481
@@ -496,7 +496,7 @@ struct usb_wireless_ep_comp_descriptor {
496#define USB_ENDPOINT_SWITCH_NO 0 496#define USB_ENDPOINT_SWITCH_NO 0
497#define USB_ENDPOINT_SWITCH_SWITCH 1 497#define USB_ENDPOINT_SWITCH_SWITCH 1
498#define USB_ENDPOINT_SWITCH_SCALE 2 498#define USB_ENDPOINT_SWITCH_SCALE 2
499}; 499} __attribute__((packed));
500 500
501/*-------------------------------------------------------------------------*/ 501/*-------------------------------------------------------------------------*/
502 502
@@ -512,7 +512,7 @@ struct usb_handshake {
512 __u8 CDID[16]; 512 __u8 CDID[16];
513 __u8 nonce[16]; 513 __u8 nonce[16];
514 __u8 MIC[8]; 514 __u8 MIC[8];
515}; 515} __attribute__((packed));
516 516
517/*-------------------------------------------------------------------------*/ 517/*-------------------------------------------------------------------------*/
518 518
@@ -524,7 +524,7 @@ struct usb_connection_context {
524 __u8 CHID[16]; /* persistent host id */ 524 __u8 CHID[16]; /* persistent host id */
525 __u8 CDID[16]; /* device id (unique w/in host context) */ 525 __u8 CDID[16]; /* device id (unique w/in host context) */
526 __u8 CK[16]; /* connection key */ 526 __u8 CK[16]; /* connection key */
527}; 527} __attribute__((packed));
528 528
529/*-------------------------------------------------------------------------*/ 529/*-------------------------------------------------------------------------*/
530 530