summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx/tx.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-05-10 12:13:32 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-05 15:55:38 +0300
commitf13af3484f04f61794d90dbdab28df8bf8b9d667 (patch)
treec3911d9cdcb4e952b42da003beb2d06c850b1ad9 /drivers/net/wireless/ti/wl18xx/tx.h
parenta6298dbe95b5121dfc74102e7a113001859a1335 (diff)
wl18xx: ipmlement ap_rate_mask hw op
Enable wide-chan or MIMO rates when appropriate. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/tx.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/tx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/tx.h b/drivers/net/wireless/ti/wl18xx/tx.h
index a91eb10a42f2..2417262de207 100644
--- a/drivers/net/wireless/ti/wl18xx/tx.h
+++ b/drivers/net/wireless/ti/wl18xx/tx.h
@@ -31,6 +31,12 @@
#define WL18XX_TX_STATUS_DESC_ID_MASK 0x7F
#define WL18XX_TX_STATUS_STAT_BIT_IDX 7
+/*
+ * The FW uses a special bit to indicate a wide channel should be used in
+ * the rate policy.
+ */
+#define CONF_TX_RATE_USE_WIDE_CHAN BIT(31)
+
void wl18xx_tx_immediate_complete(struct wl1271 *wl);
#endif /* __WL12XX_TX_H__ */