summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/core.h
diff options
context:
space:
mode:
authorAlex Yang <xiaojuny@qca.qualcomm.com>2012-01-17 17:32:29 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-18 15:47:31 +0400
commitcd23c1c9b8a2de64477a795ab5a9cd5278397f24 (patch)
tree19f15daac456fef7b4fb95f4eaef7cc58c569726 /drivers/net/wireless/ath/ath6kl/core.h
parente572602884c4f979cbba4fed413af24797fd01d9 (diff)
downloadlinux-cd23c1c9b8a2de64477a795ab5a9cd5278397f24.tar.xz
ath6kl: add testmode 2 for 6003 ART
Add testmode 2 for 6003 ART. When you insmod ath6kl_sdio.ko testmode=2, ath6kl will load ART firmware utf.bin and testscript nullTestFlow.bin. These files should be put in the firmware folder. kvalo: add "ath6kl:" to the title, word wrap the commit log and remove extra line in the code Signed-off-by: Alex Yang <xiaojuny@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/core.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index ba3953918e4c..f53594f2e537 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -125,6 +125,8 @@ struct ath6kl_fw_ie {
#define AR6003_HW_2_1_1_OTP_FILE "otp.bin"
#define AR6003_HW_2_1_1_FIRMWARE_FILE "athwlan.bin"
#define AR6003_HW_2_1_1_TCMD_FIRMWARE_FILE "athtcmd_ram.bin"
+#define AR6003_HW_2_1_1_UTF_FIRMWARE_FILE "utf.bin"
+#define AR6003_HW_2_1_1_TESTSCRIPT_FILE "nullTestFlow.bin"
#define AR6003_HW_2_1_1_PATCH_FILE "data.patch.bin"
#define AR6003_HW_2_1_1_BOARD_DATA_FILE "ath6k/AR6003/hw2.1.1/bdata.bin"
#define AR6003_HW_2_1_1_DEFAULT_BOARD_DATA_FILE \
@@ -592,6 +594,7 @@ struct ath6kl {
u32 board_addr;
u32 refclk_hz;
u32 uarttx_pin;
+ u32 testscript_addr;
struct ath6kl_hw_fw {
const char *dir;
@@ -599,6 +602,8 @@ struct ath6kl {
const char *fw;
const char *tcmd;
const char *patch;
+ const char *utf;
+ const char *testscript;
} fw;
const char *fw_board;
@@ -624,6 +629,9 @@ struct ath6kl {
u8 *fw_patch;
size_t fw_patch_len;
+ u8 *fw_testscript;
+ size_t fw_testscript_len;
+
unsigned int fw_api;
unsigned long fw_capabilities[ATH6KL_CAPABILITY_LEN];