WSL2-Linux-Kernel/drivers/staging/vt6656
Malcolm Priestley 9df682927c staging: vt6656: [BUG] Fix for TX USB resets from vendors driver.
This fixes resets on heavy TX data traffic.

Vendor driver
VT6656_Linux_src_v1.21.03_x86_11.04.zip
http://www.viaembedded.com/servlet/downloadSvl?id=1890&download_file_id=14704
This is GPL-licensed code.

original code
BBbVT3184Init
...
//2007-0725, RobertChang add, Enable Squelch detect reset option(SQ_RST_Opt), USB (register4, bit1)
CONTROLnsRequestIn(pDevice,
                                 MESSAGE_TYPE_READ,
                                 (WORD)0x600+4,     // USB's Reg4's bit1
                                 MESSAGE_REQUEST_MEM,
                                 1,
                                 (PBYTE) &byData);
byData = byData|2 ;
CONTROLnsRequestOut(pDevice,
                              MESSAGE_TYPE_WRITE,
                              (WORD)0x600+4,     // USB's Reg4's bit1
                              MESSAGE_REQUEST_MEM,
                              1,
                              (PBYTE) &byData);

return TRUE;//ntStatus;
....

A back port patch is needed for kernels less than 3.10.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-25 09:14:29 -08:00
..
80211hdr.h
80211mgr.c
80211mgr.h
Kconfig
Makefile
TODO
aes_ccmp.c staging: vt6656: removed space after '*' in pointer declaration 2013-10-27 20:38:24 -07:00
aes_ccmp.h
baseband.c staging: vt6656: [BUG] Fix for TX USB resets from vendors driver. 2013-11-25 09:14:29 -08:00
baseband.h staging: vt6656: baseband.h re: baseband.c:877:26: sparse: incorrect type in assignment (different base types) 2013-08-28 15:28:42 -07:00
bssdb.c staging: vt6656: Remove 10 second timer and move to BSSvSecondCallBack 2013-10-15 09:42:12 -07:00
bssdb.h staging: vt6656: covert BSSvSecondCallBack to delayed_work. 2013-09-30 18:33:13 -07:00
card.c staging/vt6656: Fix screwed up indentation in swGetOFDMControlRate 2013-09-17 07:39:27 -07:00
card.h
channel.c staging: vt6656: Change variable type to bool 2013-09-25 16:28:59 -07:00
channel.h
control.c
control.h
country.h
datarate.c staging: vt6656: removed braces from single line if-statement 2013-10-27 06:51:25 -07:00
datarate.h
desc.h staging: vt6656: desc.h remove typedef struct tagSTxBufHead to rxtx.h 2013-09-25 16:25:40 -07:00
device.h staging: vt6656: rxtx.c s_bPacketToWirelessUsb set fallback tx rates 2013-10-16 12:40:36 -07:00
device_cfg.h staging: vt6656: remove dead code DBG_PORT80/VIAWET_DEBUG 2013-07-25 13:39:41 -07:00
dpc.c staging: vt6656: return from workqueues on fMP_DISCONNECTED 2013-10-15 09:42:12 -07:00
dpc.h staging: vt6656: covert RXvMngWorkItem to work queue 2013-09-30 18:33:14 -07:00
firmware.c staging: vt6656: removed line over 80 chars warning 2013-10-17 13:34:23 -07:00
firmware.h
hostap.c Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd() 2013-11-25 09:14:29 -08:00
hostap.h
int.c
int.h
iocmd.h
iowpa.h
iwctl.c staging: vt6656: Removed checkpatch whitespace errors 2013-10-16 09:26:20 -07:00
iwctl.h
key.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
key.h
mac.c staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset 2013-06-17 14:55:32 -07:00
mac.h
main_usb.c staging: vt6656: call usb_device_reset before netdev registration 2013-10-27 06:50:10 -07:00
mib.c
mib.h
michael.c
michael.h
power.c Staging: vt6656: fix code indenting error in power.c 2013-10-27 20:36:44 -07:00
power.h
rc4.c
rc4.h
rf.c staging: vt6656: rf.c: Remove camel case from local variables 2013-05-30 21:09:05 +09:00
rf.h
rndis.h staging: vt6656: [BUG] Fix for TX USB resets from vendors driver. 2013-11-25 09:14:29 -08:00
rxtx.c staging: vt6656: rxtx.c s_vFillTxKey replace u8 *pbyBuf. 2013-10-16 12:45:50 -07:00
rxtx.h staging: vt6656: rxtx.c add no rts struct vnt_tx_datahead_ab 2013-10-03 13:56:09 -07:00
srom.h
tcrc.c
tcrc.h
tether.c
tether.h staging: vt6656: remove unused definitions 2013-05-13 18:08:18 -04:00
tkip.c
tkip.h
tmacro.h staging: vt6656: remove unused definitions 2013-05-13 18:08:18 -04:00
usbpipe.c staging: vt6656: return if pControlURB->hcpriv not NULL 2013-10-15 09:42:13 -07:00
usbpipe.h staging: vt6656: device.h Replace typedef struct _RCB 2013-08-28 15:28:43 -07:00
vntconfiguration.dat
wcmd.c staging: vt6656: Remove 10 second timer and move to BSSvSecondCallBack 2013-10-15 09:42:12 -07:00
wcmd.h staging: vt6656: Remove 10 second timer and move to BSSvSecondCallBack 2013-10-15 09:42:12 -07:00
wctl.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
wctl.h
wmgr.c staging: vt6656: Remove 10 second timer and move to BSSvSecondCallBack 2013-10-15 09:42:12 -07:00
wmgr.h staging: vt6656: covert BSSvSecondCallBack to delayed_work. 2013-09-30 18:33:13 -07:00
wpa.c
wpa.h
wpa2.c
wpa2.h
wpactl.c Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
wpactl.h