Lines Matching full:sme
1069 struct cfg80211_connect_params *sme) in lbs_set_authtype() argument
1085 if (sme->bssid) in lbs_set_authtype()
1086 memcpy(cmd.bssid, sme->bssid, ETH_ALEN); in lbs_set_authtype()
1088 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype()
1113 struct cfg80211_connect_params *sme) in lbs_associate() argument
1175 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1178 if (sme->ie && sme->ie_len) in lbs_associate()
1179 pos += lbs_add_wpa_tlv(pos, sme->ie, sme->ie_len); in lbs_associate()
1253 sme->ie, sme->ie_len, in lbs_associate()
1272 _new_connect_scan_req(struct wiphy *wiphy, struct cfg80211_connect_params *sme) in _new_connect_scan_req() argument
1312 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req()
1313 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req()
1324 struct cfg80211_connect_params *sme) in lbs_cfg_connect() argument
1334 if (!sme->bssid) { in lbs_cfg_connect()
1346 creq = _new_connect_scan_req(wiphy, sme); in lbs_cfg_connect()
1363 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in lbs_cfg_connect()
1364 sme->ssid, sme->ssid_len, IEEE80211_BSS_TYPE_ESS, in lbs_cfg_connect()
1368 sme->bssid); in lbs_cfg_connect()
1374 sme->crypto.cipher_group, in lbs_cfg_connect()
1375 sme->key_idx, sme->key_len); in lbs_cfg_connect()
1383 switch (sme->crypto.cipher_group) { in lbs_cfg_connect()
1387 priv->wep_tx_key = sme->key_idx; in lbs_cfg_connect()
1388 priv->wep_key_len[sme->key_idx] = sme->key_len; in lbs_cfg_connect()
1389 memcpy(priv->wep_key[sme->key_idx], sme->key, sme->key_len); in lbs_cfg_connect()
1422 lbs_enable_rsn(priv, sme->crypto.cipher_group != 0); in lbs_cfg_connect()
1426 sme->crypto.cipher_group); in lbs_cfg_connect()
1431 ret = lbs_set_authtype(priv, sme); in lbs_cfg_connect()
1433 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
1440 ret = lbs_associate(priv, bss, sme); in lbs_cfg_connect()