wifi: mac80211: move radar detect work to wiphy work
[platform/kernel/linux-starfive.git] / net / mac80211 / ieee80211_i.h
index 98ef1fe..358c886 100644 (file)
@@ -1406,7 +1406,7 @@ struct ieee80211_local {
        /* wowlan is enabled -- don't reconfig on resume */
        bool wowlan;
 
-       struct work_struct radar_detected_work;
+       struct wiphy_work radar_detected_work;
 
        /* number of RX chains the hardware has */
        u8 rx_chains;
@@ -2566,7 +2566,8 @@ bool ieee80211_is_radar_required(struct ieee80211_local *local);
 
 void ieee80211_dfs_cac_timer_work(struct work_struct *work);
 void ieee80211_dfs_cac_cancel(struct ieee80211_local *local);
-void ieee80211_dfs_radar_detected_work(struct work_struct *work);
+void ieee80211_dfs_radar_detected_work(struct wiphy *wiphy,
+                                      struct wiphy_work *work);
 int ieee80211_send_action_csa(struct ieee80211_sub_if_data *sdata,
                              struct cfg80211_csa_settings *csa_settings);