010-api_update.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- a/ath10k-6.10/mac.c
  2. +++ b/ath10k-6.10/mac.c
  3. @@ -1675,7 +1675,7 @@ static void ath10k_recalc_radar_detectio
  4. * by indicating that radar was detected.
  5. */
  6. ath10k_warn(ar, "failed to start CAC: %d\n", ret);
  7. - ieee80211_radar_detected(ar->hw);
  8. + ieee80211_radar_detected(ar->hw, NULL);
  9. }
  10. }
  11. @@ -6238,7 +6238,7 @@ err:
  12. return ret;
  13. }
  14. -static void ath10k_stop(struct ieee80211_hw *hw)
  15. +static void ath10k_stop(struct ieee80211_hw *hw, bool suspend)
  16. {
  17. struct ath10k *ar = hw->priv;
  18. u32 opt;
  19. --- a/ath10k-6.10/debug.c
  20. +++ b/ath10k-6.10/debug.c
  21. @@ -3319,7 +3319,7 @@ static ssize_t ath10k_write_simulate_rad
  22. if (!arvif->is_started)
  23. return -EINVAL;
  24. - ieee80211_radar_detected(ar->hw);
  25. + ieee80211_radar_detected(ar->hw, NULL);
  26. return count;
  27. }
  28. --- a/ath10k-6.10/wmi.c
  29. +++ b/ath10k-6.10/wmi.c
  30. @@ -4402,7 +4402,7 @@ static void ath10k_radar_detected(struct
  31. if (ar->dfs_block_radar_events)
  32. ath10k_info(ar, "DFS Radar detected, but ignored as requested\n");
  33. else
  34. - ieee80211_radar_detected(ar->hw);
  35. + ieee80211_radar_detected(ar->hw, NULL);
  36. }
  37. static void ath10k_radar_confirmation_work(struct work_struct *work)