Lines Matching refs:assoc
179 struct privsep_cmd_associate *assoc; in wpa_priv_cmd_associate() local
186 if (len < sizeof(*assoc)) { in wpa_priv_cmd_associate()
191 assoc = buf; in wpa_priv_cmd_associate()
192 if (sizeof(*assoc) + assoc->wpa_ie_len > len) { in wpa_priv_cmd_associate()
198 bssid = assoc->bssid; in wpa_priv_cmd_associate()
201 params.ssid = assoc->ssid; in wpa_priv_cmd_associate()
202 if (assoc->ssid_len > SSID_MAX_LEN) in wpa_priv_cmd_associate()
204 params.ssid_len = assoc->ssid_len; in wpa_priv_cmd_associate()
205 params.freq.mode = assoc->hwmode; in wpa_priv_cmd_associate()
206 params.freq.freq = assoc->freq; in wpa_priv_cmd_associate()
207 params.freq.channel = assoc->channel; in wpa_priv_cmd_associate()
208 if (assoc->wpa_ie_len) { in wpa_priv_cmd_associate()
209 params.wpa_ie = (u8 *) (assoc + 1); in wpa_priv_cmd_associate()
210 params.wpa_ie_len = assoc->wpa_ie_len; in wpa_priv_cmd_associate()
212 params.pairwise_suite = assoc->pairwise_suite; in wpa_priv_cmd_associate()
213 params.group_suite = assoc->group_suite; in wpa_priv_cmd_associate()
214 params.key_mgmt_suite = assoc->key_mgmt_suite; in wpa_priv_cmd_associate()
215 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
216 params.mode = assoc->mode; in wpa_priv_cmd_associate()