summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/wlcore_i.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-11-29 22:46:48 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-12-05 07:45:13 (GMT)
commit4d703847617fa053689b119e43122088c81ef86d (patch)
treeac15bf0aab78bcd409c5340664bb14fe4d6c5181 /drivers/net/wireless/ti/wlcore/wlcore_i.h
parent0e81047996fdde7fc9e8a1c01d532df1f53586fa (diff)
downloadlinux-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.h5
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 */