i2400m: RX and TX data/control paths
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Sun, 21 Dec 2008 00:57:47 +0000 (16:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:19 +0000 (10:00 -0800)
commitaa5a7acabe31ec27a212cbd25cad9f72aa476591
tree1008c15e2288ca03580ee2b403006ad879938e51
parent467cc396fb4665957bc7d182c96e45a4d7c575e4
i2400m: RX and TX data/control paths

Handling of TX/RX data to/from the i2400m device (IP packets, control
and diagnostics). On RX, this parses the received read transaction
from the device, breaks it in chunks and passes it to the
corresponding subsystems (network and control).

Transmission to the device is done through a software FIFO, as
data/control frames can be coalesced (while the device is reading the
previous tx transaction, others accumulate). A FIFO is used because at
the end it is resource-cheaper that scatter/gather over USB. As well,
most traffic is going to be download (vs upload).

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wimax/i2400m/rx.c [new file with mode: 0644]
drivers/net/wimax/i2400m/tx.c [new file with mode: 0644]