Lines Matching refs:chandef
130 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
132 setup->chandef = wdev->u.mesh.preset_chandef; in __cfg80211_join_mesh()
135 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
154 setup->chandef.chan = chan; in __cfg80211_join_mesh()
158 if (setup->chandef.chan) in __cfg80211_join_mesh()
163 if (!setup->chandef.chan) in __cfg80211_join_mesh()
166 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
167 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
176 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
178 if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { in __cfg80211_join_mesh()
200 &setup->chandef, in __cfg80211_join_mesh()
207 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
215 wdev->u.mesh.chandef = setup->chandef; in __cfg80211_join_mesh()
224 struct cfg80211_chan_def *chandef) in cfg80211_set_mesh_channel() argument
236 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in cfg80211_set_mesh_channel()
243 chandef->chan); in cfg80211_set_mesh_channel()
245 wdev->u.mesh.chandef = *chandef; in cfg80211_set_mesh_channel()
253 wdev->u.mesh.preset_chandef = *chandef; in cfg80211_set_mesh_channel()
279 memset(&wdev->u.mesh.chandef, 0, in __cfg80211_leave_mesh()
280 sizeof(wdev->u.mesh.chandef)); in __cfg80211_leave_mesh()