Lines Matching full:setup

100 			 struct mesh_setup *setup,  in __cfg80211_join_mesh()  argument
114 setup->is_secure) in __cfg80211_join_mesh()
120 if (!setup->mesh_id_len) in __cfg80211_join_mesh()
126 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
128 setup->chandef = wdev->preset_chandef; in __cfg80211_join_mesh()
131 if (!setup->chandef.chan) { in __cfg80211_join_mesh()
150 setup->chandef.chan = chan; in __cfg80211_join_mesh()
154 if (setup->chandef.chan) in __cfg80211_join_mesh()
159 if (!setup->chandef.chan) in __cfg80211_join_mesh()
162 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
163 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
170 if (!setup->basic_rates) { in __cfg80211_join_mesh()
173 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh()
175 if (setup->chandef.chan->band == NL80211_BAND_2GHZ) { in __cfg80211_join_mesh()
187 setup->basic_rates = BIT(i); in __cfg80211_join_mesh()
192 scan_width = cfg80211_chandef_to_scan_width(&setup->chandef); in __cfg80211_join_mesh()
193 setup->basic_rates = ieee80211_mandatory_rates(sband, in __cfg80211_join_mesh()
199 &setup->chandef, in __cfg80211_join_mesh()
203 if (err > 0 && !setup->userspace_handles_dfs) in __cfg80211_join_mesh()
206 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
210 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh()
212 memcpy(wdev->ssid, setup->mesh_id, setup->mesh_id_len); in __cfg80211_join_mesh()
213 wdev->mesh_id_len = setup->mesh_id_len; in __cfg80211_join_mesh()
214 wdev->chandef = setup->chandef; in __cfg80211_join_mesh()
215 wdev->beacon_interval = setup->beacon_interval; in __cfg80211_join_mesh()