https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c034297f2d4e0bd0f3788…
commit c034297f2d4e0bd0f378899e163ee1debbdef544
Author: Vadim Galyant <vgal(a)rambler.ru>
AuthorDate: Wed Nov 29 22:21:58 2017 +0900
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Jan 21 19:35:43 2018 +0100
[USBPORT] Add USB2_AddDataBitStuff().
---
drivers/usb/usbport/usb2.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/usbport/usb2.c b/drivers/usb/usbport/usb2.c
index 3755fb4e80..ace40d1e1c 100644
--- a/drivers/usb/usbport/usb2.c
+++ b/drivers/usb/usbport/usb2.c
@@ -10,6 +10,13 @@
//#define NDEBUG
#include <debug.h>
+USHORT
+NTAPI
+USB2_AddDataBitStuff(IN USHORT DataTime)
+{
+ return (DataTime + (DataTime / 16));
+}
+
ULONG
NTAPI
USB2_GetOverhead(IN PUSB2_TT_ENDPOINT TtEndpoint)