diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-11-29 22:46:48 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-05 07:45:13 (GMT) |
commit | 4d703847617fa053689b119e43122088c81ef86d (patch) | |
tree | ac15bf0aab78bcd409c5340664bb14fe4d6c5181 /drivers/net/wireless/ti/wlcore/wlcore_i.h | |
parent | 0e81047996fdde7fc9e8a1c01d532df1f53586fa (diff) | |
download | linux-fsl-qoriq-4d703847617fa053689b119e43122088c81ef86d.tar.xz |
wl18xx: set last Tx rate from FW status
Obtain the last Tx rate from the FW status and translate it to
the mac80211 rate+flag format before sending it up via the Tx status.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore_i.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/wlcore_i.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore_i.h b/drivers/net/wireless/ti/wlcore/wlcore_i.h index 670d12f..0194f55 100644 --- a/drivers/net/wireless/ti/wlcore/wlcore_i.h +++ b/drivers/net/wireless/ti/wlcore/wlcore_i.h @@ -130,7 +130,10 @@ struct wl_fw_packet_counters { /* Cumulative counter of released Voice memory blocks */ u8 tx_voice_released_blks; - u8 padding[3]; + /* Tx rate of the last transmitted packet */ + u8 tx_last_rate; + + u8 padding[2]; } __packed; /* FW status registers */ |