Changeset ae3a941 in mainline for uspace/lib/usbhost/src/bandwidth.c
- Timestamp:
- 2018-02-26T16:51:40Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e773f58
- Parents:
- 3692678
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/bandwidth.c
r3692678 rae3a941 73 73 * transaction, but I did not find text in USB spec to confirm this */ 74 74 /* NOTE: All data packets will be considered to be max_packet_size */ 75 switch (ep->device->speed) 76 { 75 switch (ep->device->speed) { 77 76 case USB_SPEED_LOW: 78 77 assert(type == USB_TRANSFER_INTERRUPT); … … 143 142 case USB_SPEED_LOW: 144 143 if (ep->direction == USB_DIRECTION_IN) 145 return 64060 + (2 * hub_ls_setup) + (677 * base_time) + host_delay; 144 return 64060 + (2 * hub_ls_setup) + 145 (677 * base_time) + host_delay; 146 146 else 147 return 64107 + (2 * hub_ls_setup) + (667 * base_time) + host_delay; 147 return 64107 + (2 * hub_ls_setup) + 148 (667 * base_time) + host_delay; 148 149 149 150 case USB_SPEED_FULL:
Note:
See TracChangeset
for help on using the changeset viewer.