diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-11-05 11:44:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 17:09:11 -0500 |
commit | db86f07ec6cdea9670a0928bd1289109d2a989dc (patch) | |
tree | af3484cd4d43c4d89fb1d597369f0df36478bfb2 /drivers/net/wireless/ath/ath9k/Kconfig | |
parent | c9b1417055cd2518e8a3b4b27e1f8e4b72821dff (diff) |
ath9k_common: add new module to share 802.11n driver helpers
ath9k and ath9k_htc share a lot of common hardware characteristics.
They only differ in that ath9k_htc works with a target CPU and ath9k
works directly with the hardware. ath9k_htc will do *some* things in
the firmware, but a lot of others on the host.
The common 802.11n hardware code is already shared through the ath9k_hw
module. Common helpers amongst all Atheros drivers can use the ath module,
this includes ath5k and ar9170 as users. But there is some common driver
specific helpers which are not exactly hardware code which ath9k and
ath9k_htc can share. We'll be using ath9k_common for this to avoid
bloating the ath module and the common 802.11n hardware module ath9k_hw.
We start by sharing skb pre and post processing in preparation for a hand
off to mac80211.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/Kconfig')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig index b735fb399fb1..006364f76bb4 100644 --- a/drivers/net/wireless/ath/ath9k/Kconfig +++ b/drivers/net/wireless/ath/ath9k/Kconfig | |||
@@ -1,5 +1,7 @@ | |||
1 | config ATH9K_HW | 1 | config ATH9K_HW |
2 | tristate | 2 | tristate |
3 | config ATH9K_COMMON | ||
4 | tristate | ||
3 | 5 | ||
4 | config ATH9K | 6 | config ATH9K |
5 | tristate "Atheros 802.11n wireless cards support" | 7 | tristate "Atheros 802.11n wireless cards support" |
@@ -8,6 +10,7 @@ config ATH9K | |||
8 | select MAC80211_LEDS | 10 | select MAC80211_LEDS |
9 | select LEDS_CLASS | 11 | select LEDS_CLASS |
10 | select NEW_LEDS | 12 | select NEW_LEDS |
13 | select ATH9K_COMMON | ||
11 | ---help--- | 14 | ---help--- |
12 | This module adds support for wireless adapters based on | 15 | This module adds support for wireless adapters based on |
13 | Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family | 16 | Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family |