23 Sep, 2009
1 commit
-
Usbnet framework assumes USB hardware doesn't handle zero length
packets, but SMSC LAN95xx requires these to be sent for correct
operation.This patch fixes an easily reproducible tx lockup when sending a frame
that results in exactly 512 bytes in a USB transmission (e.g. a UDP
frame with 458 data bytes, due to IP headers and our USB headers). It
adds an extra flag to usbnet for the hardware driver to indicate that
it can handle and requires the zero length packets.This patch should not affect other usbnet users, please also consider
for -stable.Signed-off-by: Steve Glendinning
Signed-off-by: David S. Miller
01 Sep, 2009
1 commit
-
Signed-off-by: Stephen Hemminger
Signed-off-by: David S. Miller
14 Aug, 2009
1 commit
-
Add rx queue pausing to usbnet. This is needed by rndis_wlan so that it can
control rx queue and prevent received packets from being send forward before
rndis_wlan receives and handles 'media connect'-indication. Without this
establishing WPA connections is hard and fail often.[v2] - removed unneeded use of skb_clone
Cc: David Brownell
Signed-off-by: Jussi Kivilinna
Signed-off-by: John W. Linville
05 Aug, 2009
2 commits
-
Allow rndis_wlan to see all indications. Currently rndis_host lets rndis_wlan to
know about link state changes only, but there is whole set of other
802.11-specific indications that rndis_wlan should handle properly. So rename
link_change() to indication() and convert rndis_wlan to use it.Signed-off-by: Jussi Kivilinna
Cc: David Brownell
Signed-off-by: John W. Linville -
rndis_wlan devices freeze after running usbnet_stop several times. It appears
that firmware freezes in state where it does not respond to any RNDIS commands
and device have to be physically unplugged/replugged. This patch lets
minidrivers to disable unlink_urbs on usbnet_stop through new info flag.Signed-off-by: Jussi Kivilinna
Cc: David Brownell
Signed-off-by: John W. Linville
11 Jul, 2009
1 commit
-
Allow minidriver to know that netdev has stopped. This is to let
wireless turn off radio when usbnet dev is stopped.Signed-off-by: Jussi Kivilinna
Acked-by: David Brownell
Acked-by: David S. Miller
Signed-off-by: John W. Linville
01 Jul, 2009
1 commit
-
Now that nothing uses the private stats structure we can remove it.
Signed-off-by: Herbert Xu
Signed-off-by: David S. Miller
21 Apr, 2009
1 commit
-
because of using the same function get_ethernet_addr as cdc_ether.c
i export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether
(suggested by Oliver Neukum).Signed-off-by: Peter Holik
Signed-off-by: David S. Miller
22 Mar, 2009
1 commit
-
Use net_device_ops for usbnet device, and export for use
by other derived drivers.Signed-off-by: Stephen Hemminger
Acked-by: David Brownell
Signed-off-by: David S. Miller
22 Jan, 2009
1 commit
-
Improve usbnet's devdbg to always type-check diagnostic arguments,
like dev_dbg (device.h). This makes no change to the resulting size of
usbnet modules.This patch also removes an #ifdef DEBUG directive from rndis_wlan so
it's devdbg statements are always type-checked at compile time.Signed-off-by: Steve Glendinning
Signed-off-by: David Brownell
Signed-off-by: David S. Miller
25 Apr, 2008
1 commit
-
For the header files in include/linux/usb, add missing multiple
inclusion protection and standardize what's already there. The
apparent standards:* macro name of __LINUX_USB_headerfile_H
* inclusion protection placed after leading comment block
* macro name added as a comment on the final #endif
* any obvious trivial whitespace cleanup associated with the aboveSigned-off-by: Robert P. J. Day
Signed-off-by: Greg Kroah-Hartman
01 Feb, 2008
1 commit
-
Move headers usbnet.h and rndis_host.h to include/linux/usb and fix includes
for drivers/net/usb modules. Headers are moved because rndis_wlan will be
outside drivers/net/usb in drivers/net/wireless and yet need these headers.Signed-off-by: Jussi Kivilinna
Acked-by: David Brownell
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller