Lines Matching refs:chandef
133 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
135 setup->chandef = wdev->u.mesh.preset_chandef; in __cfg80211_join_mesh()
138 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
157 setup->chandef.chan = chan; in __cfg80211_join_mesh()
161 if (setup->chandef.chan) in __cfg80211_join_mesh()
166 if (!setup->chandef.chan) in __cfg80211_join_mesh()
169 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
170 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
179 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
181 if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { in __cfg80211_join_mesh()
203 &setup->chandef, in __cfg80211_join_mesh()
210 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
218 wdev->u.mesh.chandef = setup->chandef; in __cfg80211_join_mesh()
227 struct cfg80211_chan_def *chandef) in cfg80211_set_mesh_channel() argument
239 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in cfg80211_set_mesh_channel()
246 chandef->chan); in cfg80211_set_mesh_channel()
248 wdev->u.mesh.chandef = *chandef; in cfg80211_set_mesh_channel()
256 wdev->u.mesh.preset_chandef = *chandef; in cfg80211_set_mesh_channel()
282 memset(&wdev->u.mesh.chandef, 0, in cfg80211_leave_mesh()
283 sizeof(wdev->u.mesh.chandef)); in cfg80211_leave_mesh()