summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/defs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-12 00:46:02 +0200
committerDavid S. Miller <davem@davemloft.net>2008-09-12 00:46:02 +0200
commitc65570503716015110350ba1c52a04156df3a455 (patch)
treeeda3dbe423a85a6bd07aba954f52d2fc6fa4336d /drivers/net/wireless/libertas/defs.h
parenttg3: Fix DMA mapping leak in tigon3_dma_hwbug_workaround(). (diff)
parentlibertas: Improvements on automatic tx power control via SIOCSIWTXPOW. (diff)
downloadlinux-c65570503716015110350ba1c52a04156df3a455.tar.xz
linux-c65570503716015110350ba1c52a04156df3a455.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r--drivers/net/wireless/libertas/defs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h
index 4b2428ac2223..c89d7a1041a8 100644
--- a/drivers/net/wireless/libertas/defs.h
+++ b/drivers/net/wireless/libertas/defs.h
@@ -189,6 +189,15 @@ static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, in
#define MRVDRV_CMD_UPLD_RDY 0x0008
#define MRVDRV_CARDEVENT 0x0010
+
+/* Automatic TX control default levels */
+#define POW_ADAPT_DEFAULT_P0 13
+#define POW_ADAPT_DEFAULT_P1 15
+#define POW_ADAPT_DEFAULT_P2 18
+#define TPC_DEFAULT_P0 5
+#define TPC_DEFAULT_P1 10
+#define TPC_DEFAULT_P2 13
+
/** TxPD status */
/* Station firmware use TxPD status field to report final Tx transmit