]> 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)
commit9d7eb86c638eb2adf243525b4a36e83130a94791
treebb47c7b6e806e39c5ee2fa4332bdd349c7de79ea
parentc152a1cdca15bb18c24383c178b4605c276a0488
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