diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-12 08:08:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:04 -0400 |
commit | 284134eb6f928f6cdbfe95ab79f8e46233a22c98 (patch) | |
tree | 53e70a9c2a6597a9896ab014e710972a85858a25 /drivers/net/wireless/wl12xx/wl1271_boot.h | |
parent | e8768eeb5993bf9695adb4afe4118b7fd5e307a3 (diff) |
wl1271: RefClk configuration
Updated RefClk configuration based on reference sources. Apparently this
change will improve RF performance.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_boot.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_boot.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_boot.h b/drivers/net/wireless/wl12xx/wl1271_boot.h index 4501653fb52a..412443ee655a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_boot.h +++ b/drivers/net/wireless/wl12xx/wl1271_boot.h | |||
@@ -50,10 +50,17 @@ struct wl1271_static_data { | |||
50 | #define WU_COUNTER_PAUSE_VAL 0x3FF | 50 | #define WU_COUNTER_PAUSE_VAL 0x3FF |
51 | #define WELP_ARM_COMMAND_VAL 0x4 | 51 | #define WELP_ARM_COMMAND_VAL 0x4 |
52 | 52 | ||
53 | #define OCP_REG_POLARITY 0x0064 | 53 | #define OCP_REG_POLARITY 0x0064 |
54 | #define OCP_REG_CLK_TYPE 0x0448 | ||
55 | #define OCP_REG_CLK_POLARITY 0x0cb2 | ||
54 | 56 | ||
55 | #define CMD_MBOX_ADDRESS 0x407B4 | 57 | #define CMD_MBOX_ADDRESS 0x407B4 |
56 | 58 | ||
57 | #define POLARITY_LOW BIT(1) | 59 | #define POLARITY_LOW BIT(1) |
58 | 60 | ||
61 | #define FREF_CLK_TYPE_BITS 0xfffffe7f | ||
62 | #define CLK_REQ_PRCM 0x100 | ||
63 | #define FREF_CLK_POLARITY_BITS 0xfffff8ff | ||
64 | #define CLK_REQ_OUTN_SEL 0x700 | ||
65 | |||
59 | #endif | 66 | #endif |