• Home
  • Raw
  • Download

Lines Matching refs:sme

1064 				 struct cfg80211_connect_params *sme)  in brcmf_set_wpa_version()  argument
1071 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version()
1073 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version()
1084 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version()
1089 struct cfg80211_connect_params *sme) in brcmf_set_auth_type() argument
1096 switch (sme->auth_type) { in brcmf_set_auth_type()
1113 WL_ERR("invalid auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type()
1123 sec->auth_type = sme->auth_type; in brcmf_set_auth_type()
1129 struct cfg80211_connect_params *sme) in brcmf_set_set_cipher() argument
1137 if (sme->crypto.n_ciphers_pairwise) { in brcmf_set_set_cipher()
1138 switch (sme->crypto.ciphers_pairwise[0]) { in brcmf_set_set_cipher()
1154 sme->crypto.ciphers_pairwise[0]); in brcmf_set_set_cipher()
1158 if (sme->crypto.cipher_group) { in brcmf_set_set_cipher()
1159 switch (sme->crypto.cipher_group) { in brcmf_set_set_cipher()
1175 sme->crypto.cipher_group); in brcmf_set_set_cipher()
1188 sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0]; in brcmf_set_set_cipher()
1189 sec->cipher_group = sme->crypto.cipher_group; in brcmf_set_set_cipher()
1195 brcmf_set_key_mgmt(struct net_device *ndev, struct cfg80211_connect_params *sme) in brcmf_set_key_mgmt() argument
1202 if (sme->crypto.n_akm_suites) { in brcmf_set_key_mgmt()
1209 switch (sme->crypto.akm_suites[0]) { in brcmf_set_key_mgmt()
1218 sme->crypto.cipher_group); in brcmf_set_key_mgmt()
1222 switch (sme->crypto.akm_suites[0]) { in brcmf_set_key_mgmt()
1231 sme->crypto.cipher_group); in brcmf_set_key_mgmt()
1244 sec->wpa_auth = sme->crypto.akm_suites[0]; in brcmf_set_key_mgmt()
1251 struct cfg80211_connect_params *sme) in brcmf_set_wep_sharedkey() argument
1259 WL_CONN("key len (%d)\n", sme->key_len); in brcmf_set_wep_sharedkey()
1261 if (sme->key_len == 0) in brcmf_set_wep_sharedkey()
1274 key.len = (u32) sme->key_len; in brcmf_set_wep_sharedkey()
1275 key.index = (u32) sme->key_idx; in brcmf_set_wep_sharedkey()
1280 memcpy(key.data, sme->key, key.len); in brcmf_set_wep_sharedkey()
1291 sme->crypto.ciphers_pairwise[0]); in brcmf_set_wep_sharedkey()
1317 struct cfg80211_connect_params *sme) in brcmf_cfg80211_connect() argument
1320 struct ieee80211_channel *chan = sme->channel; in brcmf_cfg80211_connect()
1331 if (!sme->ssid) { in brcmf_cfg80211_connect()
1346 WL_INFO("ie (%p), ie_len (%zd)\n", sme->ie, sme->ie_len); in brcmf_cfg80211_connect()
1348 err = brcmf_set_wpa_version(ndev, sme); in brcmf_cfg80211_connect()
1354 err = brcmf_set_auth_type(ndev, sme); in brcmf_cfg80211_connect()
1360 err = brcmf_set_set_cipher(ndev, sme); in brcmf_cfg80211_connect()
1366 err = brcmf_set_key_mgmt(ndev, sme); in brcmf_cfg80211_connect()
1372 err = brcmf_set_wep_sharedkey(ndev, sme); in brcmf_cfg80211_connect()
1381 ssid.SSID_len = min_t(u32, sizeof(ssid.SSID), (u32)sme->ssid_len); in brcmf_cfg80211_connect()
1382 memcpy(&join_params.ssid_le.SSID, sme->ssid, ssid.SSID_len); in brcmf_cfg80211_connect()
1383 memcpy(&ssid.SSID, sme->ssid, ssid.SSID_len); in brcmf_cfg80211_connect()