diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2017-12-15 16:11:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-15 22:45:44 +0300 |
commit | cc2e60dfa6ba4ff2c054bca932b9afc8702a2f9a (patch) | |
tree | ebf01da5b4c5a41e932088452c313d713190f186 /drivers/net/wireless/intel/iwlwifi/pcie/trans.c | |
parent | 886ee36e7205a7b850e2e5c2298a479f581f9b3b (diff) | |
download | linux-cc2e60dfa6ba4ff2c054bca932b9afc8702a2f9a.tar.xz |
usb: usbtest: Add TEST 29, toggle sync, Clear toggle between bulk writes
Clear Feature Endpoint Halt should reset the data toggle even if the
endpoint isn't halted. Host should manage to clear the host side data
toggle to keep in sync with the device.
Test by sending a "3 data packet URB" before and after clearing the halt.
this should create a toggle sequence with two consecutive DATA0 packets.
A successful test sequence looks like this
ClearFeature(ENDPOINT_HALT) - initial toggle clear
DATA0 (max packet sized)
DATA1 (max packet sized)
DATA0 (zero length packet)
ClearFeature(ENDPOINT_HALT) - resets toggle
DATA0 (max packet sized), if clear halt fails then toggle is DATA1
DATA1 (max packet sized)
DATA0 (zero length packet)
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie/trans.c')
0 files changed, 0 insertions, 0 deletions