aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-07-07 13:38:37 +0200
committerPetr Štetiar <ynezz@true.cz>2019-07-18 00:22:04 +0200
commit10fe5ca3629c4739763df0274610b43eebd1ee3a (patch)
tree7ba55c865731e7306f95728a14207595287d7e83 /package/kernel/ath10k-ct/patches/100-kernel_compat.patch
parent8f61b4cac412fd3dbda08b0b1aac34a29e6ed290 (diff)
downloadupstream-10fe5ca3629c4739763df0274610b43eebd1ee3a.tar.gz
upstream-10fe5ca3629c4739763df0274610b43eebd1ee3a.tar.bz2
upstream-10fe5ca3629c4739763df0274610b43eebd1ee3a.zip
ath10k-ct: remove patches for old versions
the ath10k-ct package ships multiple versions of the ath10k-ct driver, OpenWrt currently only uses the version 4.19, but we still ship some patches for older versions. Remove all patches only touching older versions and also remove the patch for older versions from patches which do the same changes to multiple versions of ath10k-ct. This removes some unneeded patches, the end binary should stay the same. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/100-kernel_compat.patch')
-rw-r--r--package/kernel/ath10k-ct/patches/100-kernel_compat.patch119
1 files changed, 0 insertions, 119 deletions
diff --git a/package/kernel/ath10k-ct/patches/100-kernel_compat.patch b/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
deleted file mode 100644
index 3f7db04376..0000000000
--- a/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
+++ /dev/null
@@ -1,119 +0,0 @@
---- a/ath10k/debug.c
-+++ b/ath10k/debug.c
-@@ -166,11 +166,11 @@ void ath10k_debug_print_hwfw_info(struct
- ar->id.subsystem_vendor, ar->id.subsystem_device);
-
- ath10k_info(ar, "kconfig debug %d debugfs %d tracing %d dfs %d testmode %d\n",
-- config_enabled(CONFIG_ATH10K_DEBUG),
-- config_enabled(CONFIG_ATH10K_DEBUGFS),
-- config_enabled(CONFIG_ATH10K_TRACING),
-- config_enabled(CONFIG_ATH10K_DFS_CERTIFIED),
-- config_enabled(CONFIG_NL80211_TESTMODE));
-+ IS_ENABLED(CONFIG_ATH10K_DEBUG),
-+ IS_ENABLED(CONFIG_ATH10K_DEBUGFS),
-+ IS_ENABLED(CONFIG_ATH10K_TRACING),
-+ IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED),
-+ IS_ENABLED(CONFIG_NL80211_TESTMODE));
-
- firmware = ar->normal_mode_fw.fw_file.firmware;
- if (firmware)
-@@ -3422,7 +3422,7 @@ int ath10k_debug_register(struct ath10k
- debugfs_create_file("nf_cal_period", S_IRUSR | S_IWUSR,
- ar->debug.debugfs_phy, ar, &fops_nf_cal_period);
-
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED)) {
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED)) {
- debugfs_create_file("dfs_simulate_radar", S_IWUSR,
- ar->debug.debugfs_phy, ar,
- &fops_simulate_radar);
---- a/ath10k/mac.c
-+++ b/ath10k/mac.c
-@@ -3604,7 +3604,7 @@ static void ath10k_regd_update(struct at
-
- regpair = ar->ath_common.regulatory.regpair;
-
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector) {
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector) {
- nl_dfs_reg = ar->dfs_detector->region;
- wmi_dfs_reg = ath10k_mac_get_dfs_region(nl_dfs_reg);
- ath10k_dbg(ar, ATH10K_DBG_REGULATORY,
-@@ -3638,7 +3638,7 @@ static void ath10k_reg_notifier(struct w
-
- ath_reg_notifier_apply(wiphy, request, &ar->ath_common.regulatory);
-
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector) {
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector) {
- ath10k_dbg(ar, ATH10K_DBG_REGULATORY, "reg-notifier: dfs region 0x%x\n",
- request->dfs_region);
- result = ar->dfs_detector->set_dfs_domain(ar->dfs_detector,
-@@ -8939,7 +8939,7 @@ int ath10k_mac_register(struct ath10k *a
- if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags))
- ar->hw->netdev_features = NETIF_F_HW_CSUM;
-
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED)) {
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED)) {
- /* Init ath dfs pattern detector */
- ar->ath_common.debug_mask = ATH_DBG_DFS;
- ar->dfs_detector = dfs_pattern_detector_init(&ar->ath_common,
-@@ -8984,7 +8984,7 @@ err_unregister:
- ieee80211_unregister_hw(ar->hw);
-
- err_dfs_detector_exit:
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector)
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector)
- ar->dfs_detector->exit(ar->dfs_detector);
-
- err_free:
-@@ -8999,7 +8999,7 @@ void ath10k_mac_unregister(struct ath10k
- {
- ieee80211_unregister_hw(ar->hw);
-
-- if (config_enabled(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector)
-+ if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED) && ar->dfs_detector)
- ar->dfs_detector->exit(ar->dfs_detector);
-
- kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels);
---- a/ath10k/thermal.c
-+++ b/ath10k/thermal.c
-@@ -192,7 +192,7 @@ int ath10k_thermal_register(struct ath10
-
- /* Avoid linking error on devm_hwmon_device_register_with_groups, I
- * guess linux/hwmon.h is missing proper stubs. */
-- if (!config_enabled(CONFIG_HWMON))
-+ if (!IS_ENABLED(CONFIG_HWMON))
- return 0;
-
- hwmon_dev = devm_hwmon_device_register_with_groups(ar->dev,
---- a/ath10k/wmi.c
-+++ b/ath10k/wmi.c
-@@ -3903,7 +3903,7 @@ void ath10k_wmi_event_dfs(struct ath10k
- phyerr->tsf_timestamp, tsf, buf_len);
-
- /* Skip event if DFS disabled */
-- if (!config_enabled(CONFIG_ATH10K_DFS_CERTIFIED))
-+ if (!IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED))
- return;
-
- ATH10K_DFS_STAT_INC(ar, pulses_total);
---- a/ath10k-4.13/wmi.c
-+++ b/ath10k-4.13/wmi.c
-@@ -4033,7 +4033,7 @@ static void ath10k_dfs_radar_report(stru
-
- ATH10K_DFS_STAT_INC(ar, pulses_detected);
-
-- if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe)) {
-+ if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe, NULL)) {
- ath10k_dbg(ar, ATH10K_DBG_REGULATORY,
- "dfs no pulse pattern detected, yet\n");
- return;
---- a/ath10k-4.16/wmi.c
-+++ b/ath10k-4.16/wmi.c
-@@ -4117,7 +4117,7 @@ static void ath10k_dfs_radar_report(stru
-
- ATH10K_DFS_STAT_INC(ar, pulses_detected);
-
-- if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe)) {
-+ if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe, NULL)) {
- ath10k_dbg(ar, ATH10K_DBG_REGULATORY,
- "dfs no pulse pattern detected, yet\n");
- return;