Lines Matching refs:setup
98 struct mesh_setup *setup, in __cfg80211_join_mesh() argument
112 setup->is_secure) in __cfg80211_join_mesh()
118 if (!setup->mesh_id_len) in __cfg80211_join_mesh()
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()
168 if (!setup->basic_rates) { 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()
173 setup->basic_rates = ieee80211_mandatory_rates(sband, in __cfg80211_join_mesh()
177 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
181 err = rdev_join_mesh(rdev, dev, conf, setup); in __cfg80211_join_mesh()
183 memcpy(wdev->ssid, setup->mesh_id, setup->mesh_id_len); in __cfg80211_join_mesh()
184 wdev->mesh_id_len = setup->mesh_id_len; in __cfg80211_join_mesh()
185 wdev->chandef = setup->chandef; in __cfg80211_join_mesh()
193 struct mesh_setup *setup, in cfg80211_join_mesh() argument
200 err = __cfg80211_join_mesh(rdev, dev, setup, conf); in cfg80211_join_mesh()