]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore/wl12xx: add hw op for setting frame length in tx_hw_desc
authorArik Nemtsov <arik@wizery.com>
Mon, 12 Dec 2011 09:47:09 +0000 (11:47 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:43:59 +0000 (08:43 +0300)
commitd37e522f51ec64a4d4db4e738a63e029e0c365c1
treebb47c7b6e806e39c5ee2fa4332bdd349c7de79ea
parent49b4e3af3819de1e1170dedc8106881796cd5cb3
wlcore/wl12xx: add hw op for setting frame length in tx_hw_desc

Each chip family indicates the length of a frame to the HW differently.
This includes different padding, alignment and other fields in the HW Tx
descriptor.

Put all wl12xx specific code in a hw op.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wlcore/hw_ops.h
drivers/net/wireless/ti/wlcore/tx.c
drivers/net/wireless/ti/wlcore/wlcore.h