aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/rc.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-11-18 09:08:33 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-11-26 09:47:32 -0500
commit2c5a744d43a6a08666930906742fbe704739ba6f (patch)
treea1de6a3535f62b26dc0104f451dd3ed87ab4dd08 /drivers/net/wireless/ath9k/rc.h
parent46d14a58ffb42702e4c1b8bb88cfa05414617f4c (diff)
ath9k: Use helpers
Break down huge functions, use helper functions or macros instead. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.h')
-rw-r--r--drivers/net/wireless/ath9k/rc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/rc.h b/drivers/net/wireless/ath9k/rc.h
index dff4b7ade3d..297dff96c3a 100644
--- a/drivers/net/wireless/ath9k/rc.h
+++ b/drivers/net/wireless/ath9k/rc.h
@@ -27,6 +27,11 @@ struct ath_softc;
#define RATE_TABLE_SIZE 64
#define MAX_TX_RATE_PHY 48
+/* VALID_ALL - valid for 20/40/Legacy,
+ * VALID - Legacy only,
+ * VALID_20 - HT 20 only,
+ * VALID_40 - HT 40 only */
+
#define INVALID 0x0
#define VALID 0x1
#define VALID_20 0x2