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)
commit6f266e912c0733e77f63e9ad245db3c966b75942
treebb47c7b6e806e39c5ee2fa4332bdd349c7de79ea
parent4a3b97eea216135cd37e6d3a4a6c551c201a6615
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