summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/hw.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2009-11-29 00:59:48 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-21 18:39:03 -0500
commit07bc54575b413688d1586407a73793df8f68d115 (patch)
tree2de6ced0156c946957fae5502a65cee1aaad7b1e /drivers/net/wireless/ath/ar9170/hw.h
parent15b098bbf79f06a09d3a15b911eb43295979deed (diff)
ar9170: small misc changes
This patch aggregates a bunch of small random changes that won't fit really anywhere else properly. 1. move tid-locating macro into a separate function. 2. remove redundant NULL check. 3. add modulation mask definition Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/hw.h')
-rw-r--r--drivers/net/wireless/ath/ar9170/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ar9170/hw.h b/drivers/net/wireless/ath/ar9170/hw.h
index 701ddb7d840..0a1d4c28e68 100644
--- a/drivers/net/wireless/ath/ar9170/hw.h
+++ b/drivers/net/wireless/ath/ar9170/hw.h
@@ -276,6 +276,7 @@ struct ar9170_tx_control {
#define AR9170_TX_MAC_RATE_PROBE 0x8000
/* either-or */
+#define AR9170_TX_PHY_MOD_MASK 0x00000003
#define AR9170_TX_PHY_MOD_CCK 0x00000000
#define AR9170_TX_PHY_MOD_OFDM 0x00000001
#define AR9170_TX_PHY_MOD_HT 0x00000002