orinoco: refactor xmit path
authorDavid Kilroy <kilroyd@googlemail.com>
Tue, 4 May 2010 21:54:41 +0000 (22:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:55:49 +0000 (14:55 -0400)
commitbac6fafd4d6a0af26aeb37277a39607f7ce0be77
tree4535874fa3b58249cf4936bb1656fb5759ed28a2
parent3ef83d745bf5220bef3a0fd11b96eb9ac64c8e8e
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