Lines Matching refs:connect
1785 if (rdev->ops->connect || rdev->ops->auth) { in nl80211_add_commands_unsplit()
9883 struct cfg80211_connect_params connect; in nl80211_connect() local
9888 memset(&connect, 0, sizeof(connect)); in nl80211_connect()
9895 connect.auth_type = in nl80211_connect()
9897 if (!nl80211_valid_auth_type(rdev, connect.auth_type, in nl80211_connect()
9901 connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in nl80211_connect()
9903 connect.privacy = info->attrs[NL80211_ATTR_PRIVACY]; in nl80211_connect()
9909 connect.want_1x = info->attrs[NL80211_ATTR_WANT_1X_4WAY_HS]; in nl80211_connect()
9911 err = nl80211_crypto_settings(rdev, info, &connect.crypto, in nl80211_connect()
9922 connect.bg_scan_period = -1; in nl80211_connect()
9925 connect.bg_scan_period = in nl80211_connect()
9930 connect.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_connect()
9932 connect.bssid_hint = in nl80211_connect()
9934 connect.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]); in nl80211_connect()
9935 connect.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_connect()
9938 connect.ie = nla_data(info->attrs[NL80211_ATTR_IE]); in nl80211_connect()
9939 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_connect()
9943 connect.mfp = nla_get_u32(info->attrs[NL80211_ATTR_USE_MFP]); in nl80211_connect()
9944 if (connect.mfp == NL80211_MFP_OPTIONAL && in nl80211_connect()
9949 connect.mfp = NL80211_MFP_NO; in nl80211_connect()
9953 connect.prev_bssid = in nl80211_connect()
9957 connect.channel = nl80211_get_valid_chan( in nl80211_connect()
9959 if (!connect.channel) in nl80211_connect()
9962 connect.channel_hint = nl80211_get_valid_chan( in nl80211_connect()
9964 if (!connect.channel_hint) in nl80211_connect()
9969 connect.edmg.channels = in nl80211_connect()
9973 connect.edmg.bw_config = in nl80211_connect()
9977 if (connect.privacy && info->attrs[NL80211_ATTR_KEYS]) { in nl80211_connect()
9984 connect.flags |= ASSOC_REQ_DISABLE_HT; in nl80211_connect()
9987 memcpy(&connect.ht_capa_mask, in nl80211_connect()
9989 sizeof(connect.ht_capa_mask)); in nl80211_connect()
9996 memcpy(&connect.ht_capa, in nl80211_connect()
9998 sizeof(connect.ht_capa)); in nl80211_connect()
10002 connect.flags |= ASSOC_REQ_DISABLE_VHT; in nl80211_connect()
10005 memcpy(&connect.vht_capa_mask, in nl80211_connect()
10007 sizeof(connect.vht_capa_mask)); in nl80211_connect()
10014 memcpy(&connect.vht_capa, in nl80211_connect()
10016 sizeof(connect.vht_capa)); in nl80211_connect()
10028 connect.flags |= ASSOC_REQ_USE_RRM; in nl80211_connect()
10031 connect.pbss = nla_get_flag(info->attrs[NL80211_ATTR_PBSS]); in nl80211_connect()
10032 if (connect.pbss && !rdev->wiphy.bands[NL80211_BAND_60GHZ]) { in nl80211_connect()
10039 if (connect.bssid) { in nl80211_connect()
10045 wiphy, &connect.bss_select); in nl80211_connect()
10058 connect.fils_erp_username = in nl80211_connect()
10060 connect.fils_erp_username_len = in nl80211_connect()
10062 connect.fils_erp_realm = in nl80211_connect()
10064 connect.fils_erp_realm_len = in nl80211_connect()
10066 connect.fils_erp_next_seq_num = in nl80211_connect()
10069 connect.fils_erp_rrk = in nl80211_connect()
10071 connect.fils_erp_rrk_len = in nl80211_connect()
10088 connect.flags |= CONNECT_REQ_EXTERNAL_AUTH_SUPPORT; in nl80211_connect()
10093 err = cfg80211_connect(rdev, dev, &connect, connkeys, in nl80211_connect()
10094 connect.prev_bssid); in nl80211_connect()
10100 if (connect.bssid) in nl80211_connect()
10102 connect.bssid, ETH_ALEN); in nl80211_connect()
10116 struct cfg80211_connect_params connect = {}; in nl80211_update_connect_params() local
10129 connect.ie = nla_data(info->attrs[NL80211_ATTR_IE]); in nl80211_update_connect_params()
10130 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_connect_params()
10147 connect.fils_erp_username = in nl80211_update_connect_params()
10149 connect.fils_erp_username_len = in nl80211_update_connect_params()
10151 connect.fils_erp_realm = in nl80211_update_connect_params()
10153 connect.fils_erp_realm_len = in nl80211_update_connect_params()
10155 connect.fils_erp_next_seq_num = in nl80211_update_connect_params()
10158 connect.fils_erp_rrk = in nl80211_update_connect_params()
10160 connect.fils_erp_rrk_len = in nl80211_update_connect_params()
10180 connect.auth_type = auth_type; in nl80211_update_connect_params()
10188 ret = rdev_update_connect_params(rdev, dev, &connect, changed); in nl80211_update_connect_params()