wlcore/wl12xx: add global elements to convert hw-rates to standard rates
authorArik Nemtsov <arik@wizery.com>
Wed, 7 Dec 2011 22:43:48 +0000 (00:43 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:43:59 +0000 (08:43 +0300)
commit43a8bc5a53c78b69b99824c9f38c333cea024c8a
tree136b17f7af87af568576bcbd186867b5787f676b
parent6f266e912c0733e77f63e9ad245db3c966b75942
wlcore/wl12xx: add global elements to convert hw-rates to standard rates

Rates reported by HW can be different between chip families. Make the
rate-to-idx translation tables private per family and use them in a
common translation function. Add a global element to help determine
which rates are HW HT-rates.

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/conf.h
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/rx.c
drivers/net/wireless/ti/wlcore/tx.c
drivers/net/wireless/ti/wlcore/tx.h
drivers/net/wireless/ti/wlcore/wlcore.h