Lines Matching full:connect
5 * (for nl80211's connect() and wext)
27 * driver. This is for implementing nl80211's connect/disconnect
566 struct cfg80211_connect_params *connect, in cfg80211_sme_connect() argument
593 memcpy(&wdev->conn->params, connect, sizeof(*connect)); in cfg80211_sme_connect()
594 if (connect->bssid) { in cfg80211_sme_connect()
596 memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); in cfg80211_sme_connect()
599 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
608 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
743 * API calls for drivers implementing connect/disconnect and
816 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) { in __cfg80211_connect_result()
1401 wdev->wext.connect.ssid_len = 0; in __cfg80211_disconnected()
1439 struct cfg80211_connect_params *connect, in cfg80211_connect() argument
1449 * If we have an ssid_len, we're trying to connect or are in cfg80211_connect()
1454 (wdev->u.client.ssid_len != connect->ssid_len || in cfg80211_connect()
1455 memcmp(wdev->u.client.ssid, connect->ssid, wdev->u.client.ssid_len))) in cfg80211_connect()
1478 cfg80211_oper_and_ht_capa(&connect->ht_capa_mask, in cfg80211_connect()
1480 cfg80211_oper_and_vht_capa(&connect->vht_capa_mask, in cfg80211_connect()
1492 connect->key_idx = idx; in cfg80211_connect()
1493 connect->key = connkeys->params[idx].key; in cfg80211_connect()
1494 connect->key_len = connkeys->params[idx].key_len; in cfg80211_connect()
1500 if (connect->crypto.cipher_group == 0) in cfg80211_connect()
1501 connect->crypto.cipher_group = cipher; in cfg80211_connect()
1503 if (connect->crypto.n_ciphers_pairwise == 0) { in cfg80211_connect()
1504 connect->crypto.n_ciphers_pairwise = 1; in cfg80211_connect()
1505 connect->crypto.ciphers_pairwise[0] = cipher; in cfg80211_connect()
1512 /* connect can point to wdev->wext.connect which in cfg80211_connect()
1515 connect->key = NULL; in cfg80211_connect()
1516 connect->key_len = 0; in cfg80211_connect()
1517 connect->key_idx = 0; in cfg80211_connect()
1521 memcpy(wdev->u.client.ssid, connect->ssid, connect->ssid_len); in cfg80211_connect()
1522 wdev->u.client.ssid_len = connect->ssid_len; in cfg80211_connect()
1524 wdev->conn_bss_type = connect->pbss ? IEEE80211_BSS_TYPE_PBSS : in cfg80211_connect()
1527 if (!rdev->ops->connect) in cfg80211_connect()
1528 err = cfg80211_sme_connect(wdev, connect, prev_bssid); in cfg80211_connect()
1530 err = rdev_connect(rdev, dev, connect); in cfg80211_connect()