diff options
author | Tim Gardner <tim.gardner@canonical.com> | 2012-04-13 13:17:27 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-04-16 02:31:50 -0400 |
commit | 2023dbb8310ab39ac1119a32ef52405f7a73f51f (patch) | |
tree | f2879dee3a2856679f6780335da5639ecd9f1d4b /drivers/net/wireless/ath/ath6kl | |
parent | 48f27587aad1e1630104672b9e20d9d721ea8718 (diff) |
ath6kl: Normalize use of FW_DIR
kvalo: do the same changes for ar6004 hw1.2 as well
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/core.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h index b2ebd56ab9a9..280f305e599d 100644 --- a/drivers/net/wireless/ath/ath6kl/core.h +++ b/drivers/net/wireless/ath/ath6kl/core.h | |||
@@ -126,9 +126,9 @@ struct ath6kl_fw_ie { | |||
126 | #define AR6003_HW_2_0_FIRMWARE_FILE "athwlan.bin.z77" | 126 | #define AR6003_HW_2_0_FIRMWARE_FILE "athwlan.bin.z77" |
127 | #define AR6003_HW_2_0_TCMD_FIRMWARE_FILE "athtcmd_ram.bin" | 127 | #define AR6003_HW_2_0_TCMD_FIRMWARE_FILE "athtcmd_ram.bin" |
128 | #define AR6003_HW_2_0_PATCH_FILE "data.patch.bin" | 128 | #define AR6003_HW_2_0_PATCH_FILE "data.patch.bin" |
129 | #define AR6003_HW_2_0_BOARD_DATA_FILE "ath6k/AR6003/hw2.0/bdata.bin" | 129 | #define AR6003_HW_2_0_BOARD_DATA_FILE AR6003_HW_2_0_FW_DIR "/bdata.bin" |
130 | #define AR6003_HW_2_0_DEFAULT_BOARD_DATA_FILE \ | 130 | #define AR6003_HW_2_0_DEFAULT_BOARD_DATA_FILE \ |
131 | "ath6k/AR6003/hw2.0/bdata.SD31.bin" | 131 | AR6003_HW_2_0_FW_DIR "/bdata.SD31.bin" |
132 | 132 | ||
133 | /* AR6003 3.0 definitions */ | 133 | /* AR6003 3.0 definitions */ |
134 | #define AR6003_HW_2_1_1_VERSION 0x30000582 | 134 | #define AR6003_HW_2_1_1_VERSION 0x30000582 |
@@ -139,33 +139,33 @@ struct ath6kl_fw_ie { | |||
139 | #define AR6003_HW_2_1_1_UTF_FIRMWARE_FILE "utf.bin" | 139 | #define AR6003_HW_2_1_1_UTF_FIRMWARE_FILE "utf.bin" |
140 | #define AR6003_HW_2_1_1_TESTSCRIPT_FILE "nullTestFlow.bin" | 140 | #define AR6003_HW_2_1_1_TESTSCRIPT_FILE "nullTestFlow.bin" |
141 | #define AR6003_HW_2_1_1_PATCH_FILE "data.patch.bin" | 141 | #define AR6003_HW_2_1_1_PATCH_FILE "data.patch.bin" |
142 | #define AR6003_HW_2_1_1_BOARD_DATA_FILE "ath6k/AR6003/hw2.1.1/bdata.bin" | 142 | #define AR6003_HW_2_1_1_BOARD_DATA_FILE AR6003_HW_2_1_1_FW_DIR "/bdata.bin" |
143 | #define AR6003_HW_2_1_1_DEFAULT_BOARD_DATA_FILE \ | 143 | #define AR6003_HW_2_1_1_DEFAULT_BOARD_DATA_FILE \ |
144 | "ath6k/AR6003/hw2.1.1/bdata.SD31.bin" | 144 | AR6003_HW_2_1_1_FW_DIR "/bdata.SD31.bin" |
145 | 145 | ||
146 | /* AR6004 1.0 definitions */ | 146 | /* AR6004 1.0 definitions */ |
147 | #define AR6004_HW_1_0_VERSION 0x30000623 | 147 | #define AR6004_HW_1_0_VERSION 0x30000623 |
148 | #define AR6004_HW_1_0_FW_DIR "ath6k/AR6004/hw1.0" | 148 | #define AR6004_HW_1_0_FW_DIR "ath6k/AR6004/hw1.0" |
149 | #define AR6004_HW_1_0_FIRMWARE_FILE "fw.ram.bin" | 149 | #define AR6004_HW_1_0_FIRMWARE_FILE "fw.ram.bin" |
150 | #define AR6004_HW_1_0_BOARD_DATA_FILE "ath6k/AR6004/hw1.0/bdata.bin" | 150 | #define AR6004_HW_1_0_BOARD_DATA_FILE AR6004_HW_1_0_FW_DIR "/bdata.bin" |
151 | #define AR6004_HW_1_0_DEFAULT_BOARD_DATA_FILE \ | 151 | #define AR6004_HW_1_0_DEFAULT_BOARD_DATA_FILE \ |
152 | "ath6k/AR6004/hw1.0/bdata.DB132.bin" | 152 | AR6004_HW_1_0_FW_DIR "/bdata.DB132.bin" |
153 | 153 | ||
154 | /* AR6004 1.1 definitions */ | 154 | /* AR6004 1.1 definitions */ |
155 | #define AR6004_HW_1_1_VERSION 0x30000001 | 155 | #define AR6004_HW_1_1_VERSION 0x30000001 |
156 | #define AR6004_HW_1_1_FW_DIR "ath6k/AR6004/hw1.1" | 156 | #define AR6004_HW_1_1_FW_DIR "ath6k/AR6004/hw1.1" |
157 | #define AR6004_HW_1_1_FIRMWARE_FILE "fw.ram.bin" | 157 | #define AR6004_HW_1_1_FIRMWARE_FILE "fw.ram.bin" |
158 | #define AR6004_HW_1_1_BOARD_DATA_FILE "ath6k/AR6004/hw1.1/bdata.bin" | 158 | #define AR6004_HW_1_1_BOARD_DATA_FILE AR6004_HW_1_1_FW_DIR "/bdata.bin" |
159 | #define AR6004_HW_1_1_DEFAULT_BOARD_DATA_FILE \ | 159 | #define AR6004_HW_1_1_DEFAULT_BOARD_DATA_FILE \ |
160 | "ath6k/AR6004/hw1.1/bdata.DB132.bin" | 160 | AR6004_HW_1_1_FW_DIR "/bdata.DB132.bin" |
161 | 161 | ||
162 | /* AR6004 1.2 definitions */ | 162 | /* AR6004 1.2 definitions */ |
163 | #define AR6004_HW_1_2_VERSION 0x300007e8 | 163 | #define AR6004_HW_1_2_VERSION 0x300007e8 |
164 | #define AR6004_HW_1_2_FW_DIR "ath6k/AR6004/hw1.2" | 164 | #define AR6004_HW_1_2_FW_DIR "ath6k/AR6004/hw1.2" |
165 | #define AR6004_HW_1_2_FIRMWARE_FILE "fw.ram.bin" | 165 | #define AR6004_HW_1_2_FIRMWARE_FILE "fw.ram.bin" |
166 | #define AR6004_HW_1_2_BOARD_DATA_FILE "ath6k/AR6004/hw1.2/bdata.bin" | 166 | #define AR6004_HW_1_2_BOARD_DATA_FILE AR6004_HW_1_2_FW_DIR "/bdata.bin" |
167 | #define AR6004_HW_1_2_DEFAULT_BOARD_DATA_FILE \ | 167 | #define AR6004_HW_1_2_DEFAULT_BOARD_DATA_FILE \ |
168 | "ath6k/AR6004/hw1.2/bdata.bin" | 168 | AR6004_HW_1_2_FW_DIR "/bdata.bin" |
169 | 169 | ||
170 | /* Per STA data, used in AP mode */ | 170 | /* Per STA data, used in AP mode */ |
171 | #define STA_PS_AWAKE BIT(0) | 171 | #define STA_PS_AWAKE BIT(0) |