android_kernel_xiaomi_sdm845/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez a8ebf98f54 i2400m/USB: TX and RX path backends
Implements the backend so that the generic driver can TX/RX to/from
the USB device.

TX is implemented with a kthread sitting in a never-ending loop that
when kicked by the generic driver's TX code will pull data from the TX
FIFO and send it to the device until it drains it. Then it goes back
sleep, waiting for another kick.

RX is implemented in a similar fashion, but reads are kicked in by the
device notifying in the interrupt endpoint that data is ready. Device
reset notifications are also sent via the notification endpoint.

We need a thread contexts to run USB autopm functions (blocking) and
to process the received data (can get to be heavy in processing
time).

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 10:00:21 -08:00
..
control.c i2400m: various functions for device management 2009-01-07 10:00:19 -08:00
debug-levels.h
debugfs.c i2400m: debugfs controls 2009-01-07 10:00:20 -08:00
driver.c i2400m: Generic probe/disconnect, reset and message passing 2009-01-07 10:00:18 -08:00
fw.c i2400m: firmware loading and bootrom initialization 2009-01-07 10:00:19 -08:00
i2400m-usb.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
i2400m.h
netdev.c i2400m: linkage to the networking stack 2009-01-07 10:00:18 -08:00
op-rfkill.c i2400m: Generic probe/disconnect, reset and message passing 2009-01-07 10:00:18 -08:00
rx.c i2400m: RX and TX data/control paths 2009-01-07 10:00:19 -08:00
tx.c i2400m: RX and TX data/control paths 2009-01-07 10:00:19 -08:00
usb-debug-levels.h i2400m/USB: header for the USB bus driver 2009-01-07 10:00:21 -08:00
usb-fw.c i2400m/USB: firmware upload backend 2009-01-07 10:00:21 -08:00
usb-notif.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb-rx.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb-tx.c i2400m/USB: TX and RX path backends 2009-01-07 10:00:21 -08:00
usb.c i2400m/USB: probe/disconnect, dev init/shutdown and reset backends 2009-01-07 10:00:21 -08:00