ath9k: fix more-data flag for buffered multicast packets
[oweals/openwrt.git] / package / kernel / mac80211 / patches / 080-ath10k_thermal_config.patch
1 --- a/drivers/net/wireless/ath/ath10k/Kconfig
2 +++ b/drivers/net/wireless/ath/ath10k/Kconfig
3 @@ -48,6 +48,12 @@ config ATH10K_TRACING
4         ---help---
5           Select this to ath10k use tracing infrastructure.
6  
7 +config ATH10K_THERMAL
8 +       bool "Atheros ath10k thermal monitoring support"
9 +       depends on THERMAL
10 +       ---help---
11 +         Select this to ath10k use hwmon for thermal measurement.
12 +
13  config ATH10K_DFS_CERTIFIED
14         bool "Atheros DFS support for certified platforms"
15         depends on ATH10K && CFG80211_CERTIFICATION_ONUS
16 --- a/drivers/net/wireless/ath/ath10k/Makefile
17 +++ b/drivers/net/wireless/ath/ath10k/Makefile
18 @@ -17,7 +17,7 @@ ath10k_core-y += mac.o \
19  ath10k_core-$(CPTCFG_ATH10K_DEBUGFS) += spectral.o
20  ath10k_core-$(CPTCFG_NL80211_TESTMODE) += testmode.o
21  ath10k_core-$(CPTCFG_ATH10K_TRACING) += trace.o
22 -ath10k_core-$(CONFIG_THERMAL) += thermal.o
23 +ath10k_core-$(CPTCFG_ATH10K_THERMAL) += thermal.o
24  ath10k_core-$(CPTCFG_MAC80211_DEBUGFS) += debugfs_sta.o
25  ath10k_core-$(CONFIG_PM) += wow.o
26  
27 --- a/drivers/net/wireless/ath/ath10k/thermal.h
28 +++ b/drivers/net/wireless/ath/ath10k/thermal.h
29 @@ -36,7 +36,7 @@ struct ath10k_thermal {
30         int temperature;
31  };
32  
33 -#if IS_REACHABLE(CONFIG_THERMAL)
34 +#if IS_REACHABLE(CPTCFG_ATH10K_THERMAL)
35  int ath10k_thermal_register(struct ath10k *ar);
36  void ath10k_thermal_unregister(struct ath10k *ar);
37  void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);