diff options
author | Prasanna Kumar <kumarpra@qca.qualcomm.com> | 2012-02-07 17:58:54 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-02-08 04:39:52 -0500 |
commit | fb1ac2efa323de21bc83c1b3d326d06f8251ea4f (patch) | |
tree | 1c2454fe774694f0a4212c6aa4b796748aa86216 /drivers/net | |
parent | b29072cc7b0e08ace48ab709c40cf6246fb2e8b0 (diff) |
ath6kl: add support for AR6003 2048 byte board file
AR6003 2.1.1 supports both 1792 and 2048 byte board files.
Add support for 2048 byte board file.
kvalo: add ath6kl prefix to the title
Signed-off-by: Prasanna Kumar <kumarpra@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/init.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/target.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index 6183d5794929..72f1b4f52b2e 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c | |||
@@ -1124,6 +1124,8 @@ static int ath6kl_upload_board_file(struct ath6kl *ar) | |||
1124 | case TARGET_TYPE_AR6003: | 1124 | case TARGET_TYPE_AR6003: |
1125 | board_data_size = AR6003_BOARD_DATA_SZ; | 1125 | board_data_size = AR6003_BOARD_DATA_SZ; |
1126 | board_ext_data_size = AR6003_BOARD_EXT_DATA_SZ; | 1126 | board_ext_data_size = AR6003_BOARD_EXT_DATA_SZ; |
1127 | if (ar->fw_board_len > (board_data_size + board_ext_data_size)) | ||
1128 | board_ext_data_size = AR6003_BOARD_EXT_DATA_SZ_V2; | ||
1127 | break; | 1129 | break; |
1128 | case TARGET_TYPE_AR6004: | 1130 | case TARGET_TYPE_AR6004: |
1129 | board_data_size = AR6004_BOARD_DATA_SZ; | 1131 | board_data_size = AR6004_BOARD_DATA_SZ; |
diff --git a/drivers/net/wireless/ath/ath6kl/target.h b/drivers/net/wireless/ath/ath6kl/target.h index ac27962f8fc1..78e0ef4567a5 100644 --- a/drivers/net/wireless/ath/ath6kl/target.h +++ b/drivers/net/wireless/ath/ath6kl/target.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #define AR6003_BOARD_DATA_SZ 1024 | 21 | #define AR6003_BOARD_DATA_SZ 1024 |
22 | #define AR6003_BOARD_EXT_DATA_SZ 768 | 22 | #define AR6003_BOARD_EXT_DATA_SZ 768 |
23 | #define AR6003_BOARD_EXT_DATA_SZ_V2 1024 | ||
23 | 24 | ||
24 | #define AR6004_BOARD_DATA_SZ 6144 | 25 | #define AR6004_BOARD_DATA_SZ 6144 |
25 | #define AR6004_BOARD_EXT_DATA_SZ 0 | 26 | #define AR6004_BOARD_EXT_DATA_SZ 0 |