linux/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez e069c0cf7c wimax/i2400m: usb: fix device reset on autosuspend while not yet idle
When the i2400m is connected to a network, the host interface (USB)
cannot be suspended. For that to happen, the device has to have
negotiated with the basestation to put the link on IDLE state.

If the host tries to put the device in standby while it is connected
but not idle, the device resets, as the driver should not do that.

To avoid triggering that, when the USB susbsytem requires the driver
to autosuspend the device, the driver checks if the device is not yet
idle. If it is not, the request is rejected (will be retried again
later on after the autosuspend timeout). At some point the device will
enter idle and the request will succeed (unless of course, there is
network traffic, but at that point, there is no idle neither in the
link or the host interface).

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-05-22 00:13:18 -07:00
..
control.c wimax/i2400m: implement RX reorder support 2009-03-02 03:10:28 -08:00
debug-levels.h wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
debugfs.c
driver.c wimax/i2400m: implement RX reorder support 2009-03-02 03:10:28 -08:00
fw.c wimax/i2400m: add the ability to fallback to other firmware files if the default is not there 2009-03-02 03:10:23 -08:00
i2400m-sdio.h
i2400m-usb.h
i2400m.h wimax/i2400m: implement RX reorder support 2009-03-02 03:10:28 -08:00
Kconfig
Makefile wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
netdev.c wimax: fix i2400m printk formats 2009-03-11 23:24:03 -07:00
op-rfkill.c
rx.c wimax/i2400m: fix device crash: fix optimization in _roq_queue_update_ws 2009-05-14 18:00:32 -07:00
sdio-debug-levels.h
sdio-fw.c
sdio-rx.c
sdio-tx.c
sdio.c wimax/i2400m: add the ability to fallback to other firmware files if the default is not there 2009-03-02 03:10:23 -08:00
sysfs.c wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
tx.c
usb-debug-levels.h
usb-fw.c
usb-notif.c wimax: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-02 03:10:26 -08:00
usb-rx.c
usb-tx.c
usb.c wimax/i2400m: usb: fix device reset on autosuspend while not yet idle 2009-05-22 00:13:18 -07:00