diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-25 11:19:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-27 14:16:18 -0400 |
commit | 935477ed7b537cf28b38f0c6b4471915d8c0e12a (patch) | |
tree | 91e02a74b1dea7e6e77b84a605b4448b130a5227 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 6424b036e540c1c360d52b237a71bbfe51584321 (diff) |
ath9k_hw: make support for PC-OEM cards optional
The initvals use up quite a bit of space, and PC-OEM support is
typically not needed on embedded systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 975074fc11bc..7a81f5b864c7 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -244,13 +244,20 @@ enum ath9k_hw_caps { | |||
244 | ATH9K_HW_CAP_2GHZ = BIT(11), | 244 | ATH9K_HW_CAP_2GHZ = BIT(11), |
245 | ATH9K_HW_CAP_5GHZ = BIT(12), | 245 | ATH9K_HW_CAP_5GHZ = BIT(12), |
246 | ATH9K_HW_CAP_APM = BIT(13), | 246 | ATH9K_HW_CAP_APM = BIT(13), |
247 | #ifdef CONFIG_ATH9K_PCOEM | ||
247 | ATH9K_HW_CAP_RTT = BIT(14), | 248 | ATH9K_HW_CAP_RTT = BIT(14), |
248 | ATH9K_HW_CAP_MCI = BIT(15), | 249 | ATH9K_HW_CAP_MCI = BIT(15), |
249 | ATH9K_HW_CAP_DFS = BIT(16), | 250 | ATH9K_HW_WOW_DEVICE_CAPABLE = BIT(16), |
250 | ATH9K_HW_WOW_DEVICE_CAPABLE = BIT(17), | 251 | ATH9K_HW_CAP_BT_ANT_DIV = BIT(17), |
251 | ATH9K_HW_CAP_PAPRD = BIT(18), | 252 | #else |
252 | ATH9K_HW_CAP_FCC_BAND_SWITCH = BIT(19), | 253 | ATH9K_HW_CAP_RTT = 0, |
253 | ATH9K_HW_CAP_BT_ANT_DIV = BIT(20), | 254 | ATH9K_HW_CAP_MCI = 0, |
255 | ATH9K_HW_WOW_DEVICE_CAPABLE = 0, | ||
256 | ATH9K_HW_CAP_BT_ANT_DIV = 0, | ||
257 | #endif | ||
258 | ATH9K_HW_CAP_DFS = BIT(18), | ||
259 | ATH9K_HW_CAP_PAPRD = BIT(19), | ||
260 | ATH9K_HW_CAP_FCC_BAND_SWITCH = BIT(20), | ||
254 | }; | 261 | }; |
255 | 262 | ||
256 | /* | 263 | /* |