mac80211: backport upstream fixes for FragAttacks
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / ath / 975-ath10k-use-tpt-trigger-by-default.patch
index 60801243fb318250b59cc6ff755b2622aab3b5cb..6da7bfa725f95a8671523d6812903ac249454ba8 100644 (file)
@@ -16,16 +16,16 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
 
 --- a/drivers/net/wireless/ath/ath10k/core.h
 +++ b/drivers/net/wireless/ath/ath10k/core.h
-@@ -1198,6 +1198,10 @@ struct ath10k {
-       struct work_struct radar_confirmation_work;
-       struct ath10k_bus_params bus_param;
+@@ -1290,6 +1290,10 @@ struct ath10k {
+       bool coex_support;
+       int coex_gpio_pin;
  
 +#ifdef CPTCFG_MAC80211_LEDS
 +      const char *led_default_trigger;
 +#endif
 +
        /* must be last */
-       u8 drv_priv[0] __aligned(sizeof(void *));
+       u8 drv_priv[] __aligned(sizeof(void *));
  };
 --- a/drivers/net/wireless/ath/ath10k/leds.c
 +++ b/drivers/net/wireless/ath/ath10k/leds.c
@@ -42,7 +42,7 @@ Signed-off-by: Mathias Kresin <dev@kresin.me>
        if (ret)
 --- a/drivers/net/wireless/ath/ath10k/mac.c
 +++ b/drivers/net/wireless/ath/ath10k/mac.c
-@@ -8838,7 +8838,7 @@ int ath10k_mac_register(struct ath10k *a
+@@ -10074,7 +10074,7 @@ int ath10k_mac_register(struct ath10k *a
        ar->hw->weight_multiplier = ATH10K_AIRTIME_WEIGHT_MULTIPLIER;
  
  #ifdef CPTCFG_MAC80211_LEDS