Lines Matching defs:chandef
2339 struct cfg80211_chan_def chandef = {};
2375 chandef = wdev->links[link].ap.chandef;
2380 chandef = wdev->u.mesh.chandef;
2385 chandef = wdev->u.ibss.chandef;
2398 rdev_get_channel(rdev, wdev, link, &chandef))
2399 cfg80211_chandef_create(&chandef, chan,
2408 if (!wdev->u.ocb.chandef.chan)
2410 chandef = wdev->u.ocb.chandef;
2426 ret = cfg80211_reg_can_beacon_relax(wiphy, &chandef,
2433 ret = cfg80211_chandef_usable(wiphy, &chandef,
4222 * in unavailable state in wdev chandef - those the RADAR_DETECTED
4227 struct cfg80211_chan_def *chandef;
4233 chandef = wdev_chandef(wdev, link_id);
4234 if (!chandef)
4237 if (!cfg80211_chandef_dfs_usable(&rdev->wiphy, chandef))
4244 struct cfg80211_chan_def *chandef,
4252 if (WARN_ON(!cfg80211_chandef_valid(chandef)))
4263 chandef->chan->center_freq))
4266 cfg80211_set_dfs_state(&rdev->wiphy, chandef, dfs_state);
4274 nl80211_radar_notify(rdev, chandef, event, NULL, GFP_KERNEL);