orinoco: refactor xmit path
commit5c6567021d33115e0754c05df216db7511cb759f
authorDavid Kilroy <kilroyd@googlemail.com>
Sat, 23 Oct 2010 16:05:36 +0000 (23 17:05 +0100)
committerDavid Kilroy <kilroyd@googlemail.com>
Sat, 23 Oct 2010 18:31:34 +0000 (23 19:31 +0100)
treea1dd24f1acd77ddfca692f858f26215ed8323ccb
parentb357ad0c2710ec39a6f3c91b5a463176735fd3c9
orinoco: refactor xmit path

... so orinoco_usb can share some common functionality.

Handle 802.2 encapsulation and MIC calculation in that function.
The 802.3 header is prepended to the SKB. The calculated MIC is written
to a specified buffer. Also modify the transmit control word that will
be passed onto the hardware to specify whether the MIC is present, and
the key used.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/main.c
drivers/net/wireless/orinoco/orinoco.h
drivers/net/wireless/orinoco/orinoco_usb.c