Some USB endpoints require that a short packet be used to terminate transfers, since they have no other way to determine message boundaries. If the message length happens to be an exact multiple of the USB packet size, then this requires the use of an additional zero-length packet. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
451 | 451 |
|
452 | 452 |
|
453 | 453 |
|
454 |
|
|
454 | 455 |
|
455 | 456 |
|
456 |
|
|
457 |
|
|
458 |
|
|
457 | 459 |
|
458 | 460 |
|
459 | 461 |
|
|
||
467 | 469 |
|
468 | 470 |
|
469 | 471 |
|
470 |
|
|
472 |
|
|
471 | 473 |
|
472 | 474 |
|
473 | 475 |
|
|
||
145 | 145 |
|
146 | 146 |
|
147 | 147 |
|
148 |
|
|
148 |
|
|
149 | 149 |
|
150 | 150 |
|
151 | 151 |
|
|
||
548 | 548 |
|
549 | 549 |
|
550 | 550 |
|
551 |
|
|
551 |
|
|
552 | 552 |
|
553 | 553 |
|
554 | 554 |
|
|
||
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
55 |
|
|
55 |
|
|
56 | 56 |
|
57 | 57 |
|
58 | 58 |
|
|
||
2457 | 2457 |
|
2458 | 2458 |
|
2459 | 2459 |
|
2460 |
|
|
2460 | 2461 |
|
2461 | 2462 |
|
2462 | 2463 |
|
2463 |
|
|
2464 |
|
|
2464 | 2465 |
|
2465 |
|
|
2466 |
|
|
2467 |
|
|
2466 | 2468 |
|
2469 |
|
|
2467 | 2470 |
|
2468 | 2471 |
|
2469 | 2472 |
|
2470 | 2473 |
|
2471 | 2474 |
|
2472 | 2475 |
|
2473 |
|
|
2476 |
|
|
2477 |
|
|
2474 | 2478 |
|
2475 |
|
|
2476 |
|
|
2479 |
|
|
2477 | 2480 |
|
2481 |
|
|
2482 |
|
|
2483 |
|
|
2484 |
|
|
2485 |
|
|
2486 |
|
|
2478 | 2487 |
|
2479 | 2488 |
|
2480 |
|
|
2489 |
|
|
2490 |
|
|
2481 | 2491 |
|
2482 | 2492 |
|
2483 | 2493 |
|
|
||
428 | 428 |
|
429 | 429 |
|
430 | 430 |
|
431 |
|
|
431 | 432 |
|
432 | 433 |
|
433 |
|
|
434 |
|
|
434 |
|
|
435 |
|
|
435 | 436 |
|
436 | 437 |
|
437 | 438 |
|
|
||
547 | 548 |
|
548 | 549 |
|
549 | 550 |
|
550 |
|
|
551 |
|
|
552 |
|
|
551 | 553 |
|
552 | 554 |
|
553 | 555 |
|