Lines Matching full:connect
5 * (for nl80211's connect() and wext)
27 * driver. This is for implementing nl80211's connect/disconnect
545 struct cfg80211_connect_params *connect, in cfg80211_sme_connect() argument
572 memcpy(&wdev->conn->params, connect, sizeof(*connect)); in cfg80211_sme_connect()
573 if (connect->bssid) { in cfg80211_sme_connect()
575 memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); in cfg80211_sme_connect()
578 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
587 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
716 * API calls for drivers implementing connect/disconnect and
788 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) { in __cfg80211_connect_result()
1340 wdev->wext.connect.ssid_len = 0; in __cfg80211_disconnected()
1378 struct cfg80211_connect_params *connect, in cfg80211_connect() argument
1388 * If we have an ssid_len, we're trying to connect or are in cfg80211_connect()
1393 (wdev->u.client.ssid_len != connect->ssid_len || in cfg80211_connect()
1394 memcmp(wdev->u.client.ssid, connect->ssid, wdev->u.client.ssid_len))) in cfg80211_connect()
1417 cfg80211_oper_and_ht_capa(&connect->ht_capa_mask, in cfg80211_connect()
1419 cfg80211_oper_and_vht_capa(&connect->vht_capa_mask, in cfg80211_connect()
1431 connect->key_idx = idx; in cfg80211_connect()
1432 connect->key = connkeys->params[idx].key; in cfg80211_connect()
1433 connect->key_len = connkeys->params[idx].key_len; in cfg80211_connect()
1439 if (connect->crypto.cipher_group == 0) in cfg80211_connect()
1440 connect->crypto.cipher_group = cipher; in cfg80211_connect()
1442 if (connect->crypto.n_ciphers_pairwise == 0) { in cfg80211_connect()
1443 connect->crypto.n_ciphers_pairwise = 1; in cfg80211_connect()
1444 connect->crypto.ciphers_pairwise[0] = cipher; in cfg80211_connect()
1448 connect->crypto.wep_keys = connkeys->params; in cfg80211_connect()
1449 connect->crypto.wep_tx_key = connkeys->def; in cfg80211_connect()
1456 memcpy(wdev->u.client.ssid, connect->ssid, connect->ssid_len); in cfg80211_connect()
1457 wdev->u.client.ssid_len = connect->ssid_len; in cfg80211_connect()
1459 wdev->conn_bss_type = connect->pbss ? IEEE80211_BSS_TYPE_PBSS : in cfg80211_connect()
1462 if (!rdev->ops->connect) in cfg80211_connect()
1463 err = cfg80211_sme_connect(wdev, connect, prev_bssid); in cfg80211_connect()
1465 err = rdev_connect(rdev, dev, connect); in cfg80211_connect()