mac80211: Update to version 5.4-rc2
[openwrt/openwrt.git] / package / kernel / ath10k-ct / patches / 202-ath10k-4.16-use-tpt-trigger-by-default.patch
index 7784bf5251d67ac9653238b0bf1f0449a1b4805e..d730f9931f21797e35a48783681c9a0c7f85dd74 100644 (file)
@@ -14,9 +14,9 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
  ath10k-4.16/mac.c  | 2 +-
  3 files changed, 6 insertions(+), 4 deletions(-)
 
---- a/ath10k-4.16/core.h
-+++ b/ath10k-4.16/core.h
-@@ -1366,6 +1366,10 @@ struct ath10k {
+--- a/ath10k-4.19/core.h
++++ b/ath10k-4.19/core.h
+@@ -1488,6 +1488,10 @@ struct ath10k {
        u8 csi_data[4096];
        u16 csi_data_len;
  
@@ -27,8 +27,8 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
        /* must be last */
        u8 drv_priv[0] __aligned(sizeof(void *));
  };
---- a/ath10k-4.16/leds.c
-+++ b/ath10k-4.16/leds.c
+--- a/ath10k-4.19/leds.c
++++ b/ath10k-4.19/leds.c
 @@ -81,9 +81,7 @@ int ath10k_leds_register(struct ath10k *
  
        ar->leds.cdev.name = ar->leds.label;
@@ -40,9 +40,9 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
  
        ret = led_classdev_register(wiphy_dev(ar->hw->wiphy), &ar->leds.cdev);
        if (ret)
---- a/ath10k-4.16/mac.c
-+++ b/ath10k-4.16/mac.c
-@@ -9794,7 +9794,7 @@ int ath10k_mac_register(struct ath10k *a
+--- a/ath10k-4.19/mac.c
++++ b/ath10k-4.19/mac.c
+@@ -9983,7 +9983,7 @@ int ath10k_mac_register(struct ath10k *a
        wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
  
  #ifdef CPTCFG_MAC80211_LEDS
@@ -51,9 +51,9 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
                IEEE80211_TPT_LEDTRIG_FL_RADIO, ath10k_tpt_blink,
                ARRAY_SIZE(ath10k_tpt_blink));
  #endif
---- a/ath10k-4.19/core.h
-+++ b/ath10k-4.19/core.h
-@@ -1482,6 +1482,10 @@ struct ath10k {
+--- a/ath10k-5.2/core.h
++++ b/ath10k-5.2/core.h
+@@ -1543,6 +1543,10 @@ struct ath10k {
        u8 csi_data[4096];
        u16 csi_data_len;
  
@@ -64,8 +64,8 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
        /* must be last */
        u8 drv_priv[0] __aligned(sizeof(void *));
  };
---- a/ath10k-4.19/leds.c
-+++ b/ath10k-4.19/leds.c
+--- a/ath10k-5.2/leds.c
++++ b/ath10k-5.2/leds.c
 @@ -81,9 +81,7 @@ int ath10k_leds_register(struct ath10k *
  
        ar->leds.cdev.name = ar->leds.label;
@@ -77,10 +77,10 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
  
        ret = led_classdev_register(wiphy_dev(ar->hw->wiphy), &ar->leds.cdev);
        if (ret)
---- a/ath10k-4.19/mac.c
-+++ b/ath10k-4.19/mac.c
-@@ -9963,7 +9963,7 @@ int ath10k_mac_register(struct ath10k *a
-       wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST);
+--- a/ath10k-5.2/mac.c
++++ b/ath10k-5.2/mac.c
+@@ -10179,7 +10179,7 @@ int ath10k_mac_register(struct ath10k *a
+       ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
  
  #ifdef CPTCFG_MAC80211_LEDS
 -      ieee80211_create_tpt_led_trigger(ar->hw,