2018-09-23 16:02:35 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath10k/Kconfig
|
|
|
|
+++ b/drivers/net/wireless/ath/ath10k/Kconfig
|
2020-06-20 21:11:17 +00:00
|
|
|
@@ -86,6 +86,12 @@ config ATH10K_TRACING
|
|
|
|
help
|
2018-08-02 06:44:29 +00:00
|
|
|
Select this to ath10k use tracing infrastructure.
|
|
|
|
|
|
|
|
+config ATH10K_THERMAL
|
|
|
|
+ bool "Atheros ath10k thermal monitoring support"
|
|
|
|
+ depends on THERMAL
|
|
|
|
+ ---help---
|
|
|
|
+ Select this to ath10k use hwmon for thermal measurement.
|
|
|
|
+
|
|
|
|
config ATH10K_DFS_CERTIFIED
|
|
|
|
bool "Atheros DFS support for certified platforms"
|
|
|
|
depends on ATH10K && CFG80211_CERTIFICATION_ONUS
|
2018-09-23 16:02:35 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath10k/Makefile
|
|
|
|
+++ b/drivers/net/wireless/ath/ath10k/Makefile
|
2018-08-02 06:44:29 +00:00
|
|
|
@@ -18,7 +18,7 @@ ath10k_core-y += mac.o \
|
|
|
|
ath10k_core-$(CPTCFG_ATH10K_SPECTRAL) += spectral.o
|
|
|
|
ath10k_core-$(CPTCFG_NL80211_TESTMODE) += testmode.o
|
|
|
|
ath10k_core-$(CPTCFG_ATH10K_TRACING) += trace.o
|
|
|
|
-ath10k_core-$(CONFIG_THERMAL) += thermal.o
|
|
|
|
+ath10k_core-$(CPTCFG_ATH10K_THERMAL) += thermal.o
|
|
|
|
ath10k_core-$(CPTCFG_MAC80211_DEBUGFS) += debugfs_sta.o
|
|
|
|
ath10k_core-$(CONFIG_PM) += wow.o
|
|
|
|
ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
|
2018-09-23 16:02:35 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath10k/thermal.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath10k/thermal.h
|
2019-07-06 22:08:20 +00:00
|
|
|
@@ -25,7 +25,7 @@ struct ath10k_thermal {
|
2018-08-02 06:44:29 +00:00
|
|
|
int temperature;
|
|
|
|
};
|
|
|
|
|
|
|
|
-#if IS_REACHABLE(CONFIG_THERMAL)
|
|
|
|
+#if IS_REACHABLE(CPTCFG_ATH10K_THERMAL)
|
|
|
|
int ath10k_thermal_register(struct ath10k *ar);
|
|
|
|
void ath10k_thermal_unregister(struct ath10k *ar);
|
|
|
|
void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
|
2018-09-23 16:02:35 +00:00
|
|
|
--- a/local-symbols
|
|
|
|
+++ b/local-symbols
|
2019-10-01 21:28:36 +00:00
|
|
|
@@ -142,6 +142,7 @@ ATH10K_SNOC=
|
2018-08-02 06:44:29 +00:00
|
|
|
ATH10K_DEBUG=
|
|
|
|
ATH10K_DEBUGFS=
|
|
|
|
ATH10K_SPECTRAL=
|
|
|
|
+ATH10K_THERMAL=
|
|
|
|
ATH10K_TRACING=
|
|
|
|
ATH10K_DFS_CERTIFIED=
|
|
|
|
WCN36XX=
|