Lines Matching refs:chandef
124 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
126 setup->chandef = wdev->preset_chandef; in __cfg80211_join_mesh()
129 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
148 setup->chandef.chan = chan; in __cfg80211_join_mesh()
152 if (setup->chandef.chan) in __cfg80211_join_mesh()
157 if (!setup->chandef.chan) in __cfg80211_join_mesh()
160 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
161 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
171 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
172 scan_width = cfg80211_chandef_to_scan_width(&setup->chandef); in __cfg80211_join_mesh()
177 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
185 wdev->chandef = setup->chandef; in __cfg80211_join_mesh()
208 struct cfg80211_chan_def *chandef) in cfg80211_set_mesh_channel() argument
220 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in cfg80211_set_mesh_channel()
227 chandef->chan); in cfg80211_set_mesh_channel()
229 wdev->chandef = *chandef; in cfg80211_set_mesh_channel()
237 wdev->preset_chandef = *chandef; in cfg80211_set_mesh_channel()
261 memset(&wdev->chandef, 0, sizeof(wdev->chandef)); in __cfg80211_leave_mesh()