summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorRussell Hu <rhu@qti.qualcomm.com>2018-01-16 10:43:47 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-01-16 15:29:22 +0100
commit7368160f0ab0b1c2c9d95fc52dca1e7ec62201a4 (patch)
tree671fa35decb0394d7d4aaf104572791ed5595b40 /drivers/net/wireless/ath/ath9k/init.c
parentMerge tag 'linux-can-next-for-4.16-20180105' of ssh://gitolite.kernel.org/pub... (diff)
downloadlinux-7368160f0ab0b1c2c9d95fc52dca1e7ec62201a4.tar.xz
linux-7368160f0ab0b1c2c9d95fc52dca1e7ec62201a4.zip
ath9k: add MSI support
On new Intel platforms like ApolloLake, legacy interrupt mechanism (INTx) is not supported, so WLAN modules are not working because interrupts are missing, therefore this patch is to add MSI support to ath9k. With module paremeter "use_msi=1", ath9k driver would try to use MSI instead of INTx. Signed-off-by: Russell Hu <rhu@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index fa58a32227f5..43adead98020 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -75,6 +75,10 @@ MODULE_PARM_DESC(use_chanctx, "Enable channel context for concurrency");
#endif /* CONFIG_ATH9K_CHANNEL_CONTEXT */
+int ath9k_use_msi;
+module_param_named(use_msi, ath9k_use_msi, int, 0444);
+MODULE_PARM_DESC(use_msi, "Use MSI instead of INTx if possible");
+
bool is_ath9k_unloaded;
#ifdef CONFIG_MAC80211_LEDS