Lines Matching refs:setup

104 			 struct mesh_setup *setup,  in __cfg80211_join_mesh()  argument
118 setup->is_secure) in __cfg80211_join_mesh()
124 if (!setup->mesh_id_len) in __cfg80211_join_mesh()
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()
177 if (!setup->basic_rates) { 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()
193 setup->basic_rates = BIT(i); in __cfg80211_join_mesh()
198 setup->basic_rates = ieee80211_mandatory_rates(sband); in __cfg80211_join_mesh()
203 &setup->chandef, in __cfg80211_join_mesh()
207 if (err > 0 && !setup->userspace_handles_dfs) in __cfg80211_join_mesh()
210 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
214 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh()
216 memcpy(wdev->u.mesh.id, setup->mesh_id, setup->mesh_id_len); in __cfg80211_join_mesh()
217 wdev->u.mesh.id_len = setup->mesh_id_len; in __cfg80211_join_mesh()
218 wdev->u.mesh.chandef = setup->chandef; in __cfg80211_join_mesh()
219 wdev->u.mesh.beacon_interval = setup->beacon_interval; in __cfg80211_join_mesh()