mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 10:39:26 +07:00
db86f07ec6
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>
40 lines
989 B
Plaintext
40 lines
989 B
Plaintext
config ATH9K_HW
|
|
tristate
|
|
config ATH9K_COMMON
|
|
tristate
|
|
|
|
config ATH9K
|
|
tristate "Atheros 802.11n wireless cards support"
|
|
depends on PCI && MAC80211
|
|
select ATH9K_HW
|
|
select MAC80211_LEDS
|
|
select LEDS_CLASS
|
|
select NEW_LEDS
|
|
select ATH9K_COMMON
|
|
---help---
|
|
This module adds support for wireless adapters based on
|
|
Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
|
|
of chipsets. For a specific list of supported external
|
|
cards, laptops that already ship with these cards and
|
|
APs that come with these cards refer to to ath9k wiki
|
|
products page:
|
|
|
|
http://wireless.kernel.org/en/users/Drivers/ath9k/products
|
|
|
|
If you choose to build a module, it'll be called ath9k.
|
|
|
|
if ATH_DEBUG
|
|
|
|
config ATH9K_DEBUG
|
|
bool "Atheros ath9k debugging"
|
|
depends on ATH9K
|
|
---help---
|
|
Say Y, if you need ath9k to display debug messages.
|
|
Pass the debug mask as a module parameter:
|
|
|
|
modprobe ath9k debug=0x00000200
|
|
|
|
Look in ath9k/debug.h for possible debug masks
|
|
|
|
endif # ATH_DEBUG
|