Lines Matching full:connect

5  * (for nl80211's connect() and wext)
27 * driver. This is for implementing nl80211's connect/disconnect
555 struct cfg80211_connect_params *connect, in cfg80211_sme_connect() argument
582 memcpy(&wdev->conn->params, connect, sizeof(*connect)); in cfg80211_sme_connect()
583 if (connect->bssid) { in cfg80211_sme_connect()
585 memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); in cfg80211_sme_connect()
588 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
597 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
732 * API calls for drivers implementing connect/disconnect and
805 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) { in __cfg80211_connect_result()
1397 wdev->wext.connect.ssid_len = 0; in __cfg80211_disconnected()
1437 struct cfg80211_connect_params *connect, in cfg80211_connect() argument
1447 * If we have an ssid_len, we're trying to connect or are in cfg80211_connect()
1452 (wdev->u.client.ssid_len != connect->ssid_len || in cfg80211_connect()
1453 memcmp(wdev->u.client.ssid, connect->ssid, wdev->u.client.ssid_len))) in cfg80211_connect()
1476 cfg80211_oper_and_ht_capa(&connect->ht_capa_mask, in cfg80211_connect()
1478 cfg80211_oper_and_vht_capa(&connect->vht_capa_mask, in cfg80211_connect()
1490 connect->key_idx = idx; in cfg80211_connect()
1491 connect->key = connkeys->params[idx].key; in cfg80211_connect()
1492 connect->key_len = connkeys->params[idx].key_len; in cfg80211_connect()
1498 if (connect->crypto.cipher_group == 0) in cfg80211_connect()
1499 connect->crypto.cipher_group = cipher; in cfg80211_connect()
1501 if (connect->crypto.n_ciphers_pairwise == 0) { in cfg80211_connect()
1502 connect->crypto.n_ciphers_pairwise = 1; in cfg80211_connect()
1503 connect->crypto.ciphers_pairwise[0] = cipher; in cfg80211_connect()
1510 /* connect can point to wdev->wext.connect which in cfg80211_connect()
1513 connect->key = NULL; in cfg80211_connect()
1514 connect->key_len = 0; in cfg80211_connect()
1515 connect->key_idx = 0; in cfg80211_connect()
1519 memcpy(wdev->u.client.ssid, connect->ssid, connect->ssid_len); in cfg80211_connect()
1520 wdev->u.client.ssid_len = connect->ssid_len; in cfg80211_connect()
1522 wdev->conn_bss_type = connect->pbss ? IEEE80211_BSS_TYPE_PBSS : in cfg80211_connect()
1525 if (!rdev->ops->connect) in cfg80211_connect()
1526 err = cfg80211_sme_connect(wdev, connect, prev_bssid); in cfg80211_connect()
1528 err = rdev_connect(rdev, dev, connect); in cfg80211_connect()