*     twt structure.
  * @twt_teardown_request: Update the hw with TWT teardown request received
  *     from the peer.
+ * @set_radar_offchan: Configure dedicated offchannel chain available for
+ *     radar/CAC detection on some hw. This chain can't be used to transmit
+ *     or receive frames and it is bounded to a running wdev.
+ *     Offchannel radar/CAC detection allows to avoid the CAC downtime
+ *     switching to a different channel during CAC detection on the selected
+ *     radar channel.
+ *     The caller is expected to set chandef pointer to NULL in order to
+ *     disable offchannel CAC/radar detection.
  */
 struct ieee80211_ops {
        void (*tx)(struct ieee80211_hw *hw,
                              struct ieee80211_twt_setup *twt);
        void (*twt_teardown_request)(struct ieee80211_hw *hw,
                                     struct ieee80211_sta *sta, u8 flowid);
+       int (*set_radar_offchan)(struct ieee80211_hw *hw,
+                                struct cfg80211_chan_def *chandef);
 };
 
 /**
 
        return err;
 }
 
+static int
+ieee80211_set_radar_offchan(struct wiphy *wiphy,
+                           struct cfg80211_chan_def *chandef)
+{
+       struct ieee80211_local *local = wiphy_priv(wiphy);
+
+       if (!local->ops->set_radar_offchan)
+               return -EOPNOTSUPP;
+
+       return local->ops->set_radar_offchan(&local->hw, chandef);
+}
+
 const struct cfg80211_ops mac80211_config_ops = {
        .add_virtual_intf = ieee80211_add_iface,
        .del_virtual_intf = ieee80211_del_iface,
        .reset_tid_config = ieee80211_reset_tid_config,
        .set_sar_specs = ieee80211_set_sar_specs,
        .color_change = ieee80211_color_change,
+       .set_radar_offchan = ieee80211_set_radar_offchan,
 };