Lines Matching refs:chandef
2366 struct cfg80211_chan_def chandef = {};
2390 chandef = wdev->links[link].ap.chandef;
2395 chandef = wdev->u.mesh.chandef;
2400 chandef = wdev->u.ibss.chandef;
2413 rdev_get_channel(rdev, wdev, link, &chandef))
2414 cfg80211_chandef_create(&chandef, chan,
2423 if (!wdev->u.ocb.chandef.chan)
2425 chandef = wdev->u.ocb.chandef;
2441 ret = cfg80211_reg_can_beacon_relax(wiphy, &chandef,
2448 ret = cfg80211_chandef_usable(wiphy, &chandef,
4235 * in unavailable state in wdev chandef - those the RADAR_DETECTED
4240 struct cfg80211_chan_def *chandef;
4246 chandef = wdev_chandef(wdev, 0);
4247 if (!chandef)
4250 if (!cfg80211_chandef_dfs_usable(&rdev->wiphy, chandef))
4256 struct cfg80211_chan_def *chandef,
4264 if (WARN_ON(!cfg80211_chandef_valid(chandef)))
4275 chandef->chan->center_freq))
4278 cfg80211_set_dfs_state(&rdev->wiphy, chandef, dfs_state);
4286 nl80211_radar_notify(rdev, chandef, event, NULL, GFP_KERNEL);