lynxis lazus has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42619?usp=email )
Change subject: octsim: usb_descriptor: reduce IRQ endpoint max packet size to
4 bytes
......................................................................
octsim: usb_descriptor: reduce IRQ endpoint max packet size to 4 bytes
The largest message on the endpoint is the 4 byte hardware error.
The slot status is 3 bytes for 8 slots.
Change-Id: I615ff16d9bc0e8d39156015e41b4abe4502aaca1
---
M sysmoOCTSIM/usb_descriptors.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware
refs/changes/19/42619/1
diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c
index d3084cc..c4fa5ea 100644
--- a/sysmoOCTSIM/usb_descriptors.c
+++ b/sysmoOCTSIM/usb_descriptors.c
@@ -211,7 +211,7 @@
.bDescriptorType = USB_DT_ENDPOINT,
.bEndpointAddress = 0x84,
.bmAttributes = USB_EP_TYPE_INTERRUPT,
- .wMaxPacketSize = 64,
+ .wMaxPacketSize = 4,
.bInterval = 0x10,
},
},
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42619?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I615ff16d9bc0e8d39156015e41b4abe4502aaca1
Gerrit-Change-Number: 42619
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>